elasticsearch
Advanced tools
Comparing version 13.0.0-beta1 to 13.0.0-beta2
@@ -10,3 +10,3 @@ { | ||
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html", | ||
"version": "13.0.0-beta1", | ||
"version": "13.0.0-beta2", | ||
"keywords": [ | ||
@@ -13,0 +13,0 @@ "elasticsearch", |
@@ -1,2 +0,2 @@ | ||
# elasticsearch.js 13.0.0-beta1 | ||
# elasticsearch.js 13.0.0-beta2 | ||
@@ -3,0 +3,0 @@ The official low-level Elasticsearch client for Node.js and the browser. |
@@ -258,3 +258,9 @@ | ||
if (!params.body && spec.paramAsBody) { | ||
params.body = params[spec.paramAsBody]; | ||
if (typeof spec.paramAsBody === 'object') { | ||
params.body = {}; | ||
params.body[spec.paramAsBody.body] = params[spec.paramAsBody.param]; | ||
} else { | ||
params.body = params[spec.paramAsBody]; | ||
} | ||
delete params[spec.paramAsBody]; | ||
@@ -261,0 +267,0 @@ } |
@@ -63,2 +63,2 @@ /** | ||
Json.prototype.bulkBody.contentType = 'application/x-ldjson'; | ||
Json.prototype.bulkBody.contentType = 'application/x-ndjson'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2166491
61329
2