@elastic/elasticsearch-canary
Advanced tools
Comparing version 8.0.0-canary.31 to 8.0.0-canary.32
@@ -22,7 +22,15 @@ "use strict"; | ||
async function ScrollApi(params, options) { | ||
var _a; | ||
const acceptedPath = []; | ||
const acceptedBody = ['scroll', 'scroll_id']; | ||
const querystring = {}; | ||
const body = undefined; | ||
// @ts-expect-error | ||
let body = (_a = params.body) !== null && _a !== void 0 ? _a : undefined; | ||
for (const key in params) { | ||
if (acceptedPath.includes(key)) { | ||
if (acceptedBody.includes(key)) { | ||
body = body !== null && body !== void 0 ? body : {}; | ||
// @ts-expect-error | ||
body[key] = params[key]; | ||
} | ||
else if (acceptedPath.includes(key)) { | ||
continue; | ||
@@ -29,0 +37,0 @@ } |
{ | ||
"name": "@elastic/elasticsearch-canary", | ||
"version": "8.0.0-canary.31", | ||
"versionCanary": "8.0.0-canary.31", | ||
"version": "8.0.0-canary.32", | ||
"versionCanary": "8.0.0-canary.32", | ||
"description": "The official Elasticsearch client for Node.js", | ||
@@ -83,3 +83,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@elastic/transport": "^0.0.13", | ||
"@elastic/transport": "^0.0.14", | ||
"tslib": "^2.3.0" | ||
@@ -94,3 +94,3 @@ }, | ||
}, | ||
"commitHash": "57608103" | ||
"commitHash": "8db750d1" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2108858
258
42657
+ Added@elastic/transport@0.0.14(transitive)
- Removed@elastic/transport@0.0.13(transitive)
Updated@elastic/transport@^0.0.14