@webiny/api-elasticsearch 5.29.0 → 5.30.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/cursors.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Encode a received cursor value into something that can be passed on to the user.
3
3
  */
4
- export declare const encodeCursor: (cursor?: string | string[] | null | undefined) => string | undefined;
4
+ export declare const encodeCursor: (cursor?: string | string[] | null) => string | undefined;
5
5
  /**
6
6
  * Decode a received value into a Elasticsearch cursor.
7
7
  * If no value is received or is not decodable, return undefined.
8
8
  */
9
- export declare const decodeCursor: (cursor?: string | null | undefined) => string[] | string | undefined;
9
+ export declare const decodeCursor: (cursor?: string | null) => string[] | string | undefined;
package/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import { ElasticsearchContext } from "./types";
2
2
  import { ContextPlugin } from "@webiny/handler";
3
3
  import { ElasticsearchClientOptions } from "./client";
4
4
  import { Client } from "@elastic/elasticsearch";
5
- declare const _default: (params: ElasticsearchClientOptions | Client) => ContextPlugin<ElasticsearchContext>;
6
5
  /**
7
6
  * We must accept either Elasticsearch client or options that create the client.
8
7
  */
8
+ declare const _default: (params: ElasticsearchClientOptions | Client) => ContextPlugin<ElasticsearchContext>;
9
9
  export default _default;
package/limit.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const createLimit: (limit?: number | undefined, defaultValue?: number) => number;
1
+ export declare const createLimit: (limit?: number, defaultValue?: number) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-elasticsearch",
3
- "version": "5.29.0",
3
+ "version": "5.30.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/webiny/webiny-js.git",
@@ -13,22 +13,22 @@
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
15
  "@elastic/elasticsearch": "7.12.0",
16
- "@webiny/error": "5.29.0",
17
- "@webiny/handler": "5.29.0",
18
- "@webiny/plugins": "5.29.0",
19
- "@webiny/utils": "5.29.0",
16
+ "@webiny/error": "5.30.0",
17
+ "@webiny/handler": "5.30.0",
18
+ "@webiny/plugins": "5.30.0",
19
+ "@webiny/utils": "5.30.0",
20
20
  "aws-elasticsearch-connector": "9.2.0",
21
- "aws-sdk": "2.1161.0",
21
+ "aws-sdk": "2.1173.0",
22
22
  "elastic-ts": "0.7.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@babel/cli": "^7.16.0",
26
26
  "@babel/core": "^7.16.0",
27
- "@webiny/cli": "^5.29.0",
28
- "@webiny/project-utils": "^5.29.0",
27
+ "@webiny/cli": "^5.30.0",
28
+ "@webiny/project-utils": "^5.30.0",
29
29
  "rimraf": "^3.0.2",
30
30
  "ttypescript": "^1.5.12",
31
- "typescript": "4.5.5"
31
+ "typescript": "4.7.4"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public",
@@ -45,5 +45,5 @@
45
45
  ]
46
46
  }
47
47
  },
48
- "gitHead": "8cf3d623d56105ad5a4bacbcb4140959e11477e6"
48
+ "gitHead": "3cadc5d26e565586b28772afbc18ae554ce7b782"
49
49
  }