File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 8080 "xmlbuilder2" : " ^3.0.2"
8181 },
8282 "dependencies" : {
83- "@elastic/transport" : " ^8.0.0-beta.2 " ,
83+ "@elastic/transport" : " ^8.0.1 " ,
8484 "tslib" : " ^2.3.0"
8585 },
8686 "tap" : {
Original file line number Diff line number Diff line change @@ -251,7 +251,12 @@ export default class Client extends API {
251251 context : options . context ,
252252 productCheck : 'Elasticsearch' ,
253253 maxResponseSize : options . maxResponseSize ,
254- maxCompressedResponseSize : options . maxCompressedResponseSize
254+ maxCompressedResponseSize : options . maxCompressedResponseSize ,
255+ vendoredHeaders : {
256+ jsonContentType : 'application/vnd.elasticsearch+json; compatible-with=8' ,
257+ ndjsonContentType : 'application/vnd.elasticsearch+x-ndjson; compatible-with=8' ,
258+ accept : 'application/vnd.elasticsearch+json; compatible-with=8,text/plain'
259+ }
255260 } )
256261
257262 this . helpers = new Helpers ( {
You can’t perform that action at this time.
0 commit comments