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 80
80
"xmlbuilder2" : " ^3.0.2"
81
81
},
82
82
"dependencies" : {
83
- "@elastic/transport" : " ^8.1.0-beta .1" ,
83
+ "@elastic/transport" : " ^8.0 .1" ,
84
84
"tslib" : " ^2.3.0"
85
85
},
86
86
"tap" : {
Original file line number Diff line number Diff line change @@ -251,7 +251,12 @@ export default class Client extends API {
251
251
context : options . context ,
252
252
productCheck : 'Elasticsearch' ,
253
253
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
+ }
255
260
} )
256
261
257
262
this . helpers = new Helpers ( {
You can’t perform that action at this time.
0 commit comments