@elastic/elasticsearch 8.6.0 → 8.7.0

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/lib/helpers.d.ts CHANGED
@@ -55,8 +55,8 @@ interface UpdateActionOperation {
55
55
  interface DeleteAction {
56
56
  delete: T.BulkDeleteOperation;
57
57
  }
58
- declare type UpdateAction = [UpdateActionOperation, Record<string, any>];
59
- declare type Action = IndexAction | CreateAction | UpdateAction | DeleteAction;
58
+ type UpdateAction = [UpdateActionOperation, Record<string, any>];
59
+ type Action = IndexAction | CreateAction | UpdateAction | DeleteAction;
60
60
  export interface OnDropDocument<TDocument = unknown> {
61
61
  status: number;
62
62
  operation: Action;
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@elastic/elasticsearch",
3
- "version": "8.6.0",
4
- "versionCanary": "8.6.0-canary.0",
3
+ "version": "8.7.0",
4
+ "versionCanary": "8.7.0-canary.1",
5
5
  "description": "The official Elasticsearch client for Node.js",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
8
8
  "scripts": {
9
- "test": "npm run build && npm run lint && tap test/{unit,acceptance}/{*,**/*}.test.ts",
9
+ "test": "npm run build && npm run lint && tap test/unit/{*,**/*}.test.ts",
10
10
  "test:unit": "npm run build && tap test/unit/{*,**/*}.test.ts",
11
- "test:acceptance": "npm run build && tap test/acceptance/*.test.ts",
12
- "test:coverage-100": "npm run build && tap test/{unit,acceptance}/{*,**/*}.test.ts --coverage --100",
13
- "test:coverage-report": "npm run build && tap test/{unit,acceptance}/{*,**/*}.test.ts --coverage && nyc report --reporter=text-lcov > coverage.lcov",
14
- "test:coverage-ui": "npm run build && tap test/{unit,acceptance}/{*,**/*}.test.ts --coverage --coverage-report=html",
11
+ "test:coverage-100": "npm run build && tap test/unit/{*,**/*}.test.ts --coverage --100",
12
+ "test:coverage-report": "npm run build && tap test/unit/{*,**/*}.test.ts --coverage && nyc report --reporter=text-lcov > coverage.lcov",
13
+ "test:coverage-ui": "npm run build && tap test/unit/{*,**/*}.test.ts --coverage --coverage-report=html",
15
14
  "test:integration": "tsc && node test/integration/index.js",
16
15
  "lint": "ts-standard src",
17
16
  "lint:fix": "ts-standard --fix src",
@@ -31,10 +30,16 @@
31
30
  "client",
32
31
  "index"
33
32
  ],
34
- "author": {
35
- "name": "Tomas Della Vedova",
36
- "company": "Elastic BV"
37
- },
33
+ "contributors": [
34
+ {
35
+ "name": "Tomas Della Vedova",
36
+ "company": "Elastic BV"
37
+ },
38
+ {
39
+ "name": "Josh Mock",
40
+ "company": "Elastic BV"
41
+ }
42
+ ],
38
43
  "license": "Apache-2.0",
39
44
  "repository": {
40
45
  "type": "git",