@elastic/elasticsearch 7.17.11 → 7.17.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/requestParams.d.ts
CHANGED
|
@@ -2629,11 +2629,11 @@ export interface SnapshotGet extends Generic {
|
|
|
2629
2629
|
index_details?: boolean;
|
|
2630
2630
|
include_repository?: boolean;
|
|
2631
2631
|
sort?: 'start_time' | 'duration' | 'name' | 'repository' | 'index_count' | 'shard_count' | 'failed_shard_count';
|
|
2632
|
-
size?:
|
|
2632
|
+
size?: number;
|
|
2633
2633
|
order?: 'asc' | 'desc';
|
|
2634
2634
|
from_sort_value?: string;
|
|
2635
2635
|
after?: string;
|
|
2636
|
-
offset?:
|
|
2636
|
+
offset?: number;
|
|
2637
2637
|
slm_policy_filter?: string;
|
|
2638
2638
|
verbose?: boolean;
|
|
2639
2639
|
}
|
|
@@ -206,6 +206,10 @@ class BaseConnectionPool {
|
|
|
206
206
|
|
|
207
207
|
for (let i = 0, len = ids.length; i < len; i++) {
|
|
208
208
|
const node = nodes[ids[i]]
|
|
209
|
+
|
|
210
|
+
// newly-added nodes do not have http assigned yet, so skip
|
|
211
|
+
if (node.http === undefined) continue
|
|
212
|
+
|
|
209
213
|
// If there is no protocol in
|
|
210
214
|
// the `publish_address` new URL will throw
|
|
211
215
|
// the publish_address can have two forms:
|
package/package.json
CHANGED
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"require": "./index.js",
|
|
9
|
-
"import": "./index.mjs"
|
|
9
|
+
"import": "./index.mjs",
|
|
10
|
+
"types": "./index.d.ts"
|
|
10
11
|
},
|
|
11
12
|
"./*": "./*.js"
|
|
12
13
|
},
|
|
13
14
|
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html",
|
|
14
|
-
"version": "7.17.
|
|
15
|
-
"versionCanary": "7.17.
|
|
15
|
+
"version": "7.17.13",
|
|
16
|
+
"versionCanary": "7.17.13-canary.1",
|
|
16
17
|
"keywords": [
|
|
17
18
|
"elasticsearch",
|
|
18
19
|
"elastic",
|