Upgrade transport (#1618)
This commit is contained in:
committed by
GitHub
parent
451a805ecd
commit
a0c5c98a99
@ -80,7 +80,7 @@
|
||||
"xmlbuilder2": "^3.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@elastic/transport": "^8.1.0-beta.1",
|
||||
"@elastic/transport": "^8.0.1",
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
"tap": {
|
||||
|
||||
@ -251,7 +251,12 @@ export default class Client extends API {
|
||||
context: options.context,
|
||||
productCheck: 'Elasticsearch',
|
||||
maxResponseSize: options.maxResponseSize,
|
||||
maxCompressedResponseSize: options.maxCompressedResponseSize
|
||||
maxCompressedResponseSize: options.maxCompressedResponseSize,
|
||||
vendoredHeaders: {
|
||||
jsonContentType: 'application/vnd.elasticsearch+json; compatible-with=8',
|
||||
ndjsonContentType: 'application/vnd.elasticsearch+x-ndjson; compatible-with=8',
|
||||
accept: 'application/vnd.elasticsearch+json; compatible-with=8,text/plain'
|
||||
}
|
||||
})
|
||||
|
||||
this.helpers = new Helpers({
|
||||
|
||||
Reference in New Issue
Block a user