es-alchemy
Advanced tools
Comparing version 1.11.1 to 1.11.2
@@ -35,3 +35,3 @@ const get = require("lodash.get"); | ||
method, | ||
uri: [`${get(options, "protocol", "http")}:/`, get(options, "endpoint", "elasticsearch:9200"), idx, endpoint].filter(e => e !== "").join("/"), | ||
uri: [`${get(options, "protocol", "http")}:/`, get(options, "endpoint", "elasticsearch:9200"), idx.replace("@", "%40"), endpoint].filter(e => e !== "").join("/"), | ||
body, | ||
@@ -70,2 +70,2 @@ headers, | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy91dGlsL3Jlc3QvcmVzdC5qcyJdLCJuYW1lcyI6WyJnZXQiLCJyZXF1aXJlIiwicmVxdWVzdCIsIm1hcHBpbmdDcmVhdGUiLCJtYXBwaW5nRGVsZXRlIiwibWFwcGluZ0dldCIsIm1hcHBpbmdMaXN0IiwibWFwcGluZ0hpc3RvcmljIiwibWFwcGluZ1JlY3JlYXRlIiwiZGF0YUNvdW50IiwiZGF0YVF1ZXJ5IiwiZGF0YVJlZnJlc2giLCJkYXRhSGlzdG9yaWMiLCJkYXRhVXBkYXRlIiwibW9kdWxlIiwiZXhwb3J0cyIsImxpc3RJbmRpY2VzIiwiZ2V0TWFwcGluZyIsIm9wdGlvbnMiLCJjYWxsIiwibWV0aG9kIiwiaWR4IiwiZW5kcG9pbnQiLCJib2R5IiwiaGVhZGVycyIsImpzb24iLCJ1cmkiLCJmaWx0ZXIiLCJlIiwiam9pbiIsImF3cyIsImtleSIsInNlY3JldCIsInNpZ25fdmVyc2lvbiIsInNpbXBsZSIsInJlc29sdmVXaXRoRnVsbFJlc3BvbnNlIiwib3B0cyIsIm1hcHBpbmciLCJjcmVhdGUiLCJkZWxldGUiLCJsaXN0IiwiaGlzdG9yaWMiLCJyZWNyZWF0ZSIsImRhdGEiLCJjb3VudCIsInF1ZXJ5IiwicmVmcmVzaCIsImxpbWl0Iiwic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hVXBkYXRlKGNhbGwsIGlkeCwgZ2V0TWFwcGluZyhpZHgpLCBvcHRzKVxuICAgIH1cbiAgfTtcbn07XG4iXX0= |
{ | ||
"name": "es-alchemy", | ||
"version": "1.11.1", | ||
"version": "1.11.2", | ||
"description": "Simplification of Elasticsearch interactions", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
121370