@wildix/wim-cache-client 1.0.1 → 1.0.4

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.
Files changed (59) hide show
  1. package/dist-cjs/WimCache.js +8 -0
  2. package/dist-cjs/WimCacheClient.js +14 -8
  3. package/dist-cjs/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
  4. package/dist-cjs/commands/DeleteIntegrationDataCommand.js +21 -0
  5. package/dist-cjs/commands/GetEntitiesByIdsCommand.js +12 -32
  6. package/dist-cjs/commands/GetIntegrationDataCommand.js +21 -0
  7. package/dist-cjs/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
  8. package/dist-cjs/commands/PutIntegrationDataCommand.js +21 -0
  9. package/dist-cjs/commands/SearchEntitiesByListParamsCommand.js +12 -32
  10. package/dist-cjs/commands/SearchEntitiesByParamsCommand.js +12 -32
  11. package/dist-cjs/commands/SyncCacheCommand.js +12 -32
  12. package/dist-cjs/commands/UpdateEntitiesWeightCommand.js +21 -0
  13. package/dist-cjs/commands/index.js +4 -0
  14. package/dist-cjs/models/models_0.js +16 -3
  15. package/dist-cjs/protocols/Aws_restJson1.js +227 -227
  16. package/dist-cjs/runtimeConfig.browser.js +5 -1
  17. package/dist-cjs/runtimeConfig.js +8 -3
  18. package/dist-cjs/runtimeConfig.shared.js +13 -11
  19. package/dist-cjs/runtimeExtensions.js +2 -10
  20. package/dist-es/WimCache.js +8 -0
  21. package/dist-es/WimCacheClient.js +15 -9
  22. package/dist-es/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
  23. package/dist-es/commands/DeleteIntegrationDataCommand.js +17 -0
  24. package/dist-es/commands/GetEntitiesByIdsCommand.js +12 -32
  25. package/dist-es/commands/GetIntegrationDataCommand.js +17 -0
  26. package/dist-es/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
  27. package/dist-es/commands/PutIntegrationDataCommand.js +17 -0
  28. package/dist-es/commands/SearchEntitiesByListParamsCommand.js +12 -32
  29. package/dist-es/commands/SearchEntitiesByParamsCommand.js +12 -32
  30. package/dist-es/commands/SyncCacheCommand.js +12 -32
  31. package/dist-es/commands/UpdateEntitiesWeightCommand.js +17 -0
  32. package/dist-es/commands/index.js +4 -0
  33. package/dist-es/models/models_0.js +14 -2
  34. package/dist-es/protocols/Aws_restJson1.js +209 -217
  35. package/dist-es/runtimeConfig.browser.js +4 -1
  36. package/dist-es/runtimeConfig.js +7 -3
  37. package/dist-es/runtimeConfig.shared.js +13 -11
  38. package/dist-es/runtimeExtensions.js +2 -10
  39. package/dist-types/WimCache.d.ts +31 -0
  40. package/dist-types/WimCacheClient.d.ts +22 -11
  41. package/dist-types/commands/DeleteEntitiesFromGeneralCacheCommand.d.ts +24 -21
  42. package/dist-types/commands/DeleteIntegrationDataCommand.d.ts +76 -0
  43. package/dist-types/commands/GetEntitiesByIdsCommand.d.ts +27 -21
  44. package/dist-types/commands/GetIntegrationDataCommand.d.ts +84 -0
  45. package/dist-types/commands/PutEntitiesToGeneralCacheCommand.d.ts +24 -21
  46. package/dist-types/commands/PutIntegrationDataCommand.d.ts +78 -0
  47. package/dist-types/commands/SearchEntitiesByListParamsCommand.d.ts +27 -21
  48. package/dist-types/commands/SearchEntitiesByParamsCommand.d.ts +27 -21
  49. package/dist-types/commands/SyncCacheCommand.d.ts +24 -21
  50. package/dist-types/commands/UpdateEntitiesWeightCommand.d.ts +79 -0
  51. package/dist-types/commands/index.d.ts +4 -0
  52. package/dist-types/index.d.ts +2 -0
  53. package/dist-types/models/WimCacheServiceException.d.ts +2 -1
  54. package/dist-types/models/models_0.d.ts +213 -71
  55. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +12 -5
  57. package/dist-types/runtimeConfig.d.ts +12 -5
  58. package/dist-types/runtimeConfig.native.d.ts +12 -5
  59. package/package.json +41 -35
package/package.json CHANGED
@@ -1,61 +1,67 @@
1
1
  {
2
2
  "name": "@wildix/wim-cache-client",
3
3
  "description": "@wildix/wim-cache-client client",
4
- "version": "1.0.1",
4
+ "version": "1.0.4",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
8
- "build:docs": "typedoc",
9
8
  "build:es": "tsc -p tsconfig.es.json",
10
9
  "build:types": "tsc -p tsconfig.types.json",
11
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
- "prepack": "yarn run clean && yarn run build"
11
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "prepack": "yarn run clean && yarn run build",
13
+ "postpublish": "node ../../scripts/postpublish.js"
14
14
  },
15
15
  "main": "./dist-cjs/index.js",
16
16
  "types": "./dist-types/index.d.ts",
17
17
  "module": "./dist-es/index.js",
18
18
  "sideEffects": false,
19
19
  "dependencies": {
20
- "tslib": "^2.5.0",
21
- "@aws-crypto/sha256-browser": "3.0.0",
22
- "@aws-crypto/sha256-js": "3.0.0",
20
+ "tslib": "^2.6.2",
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/middleware-host-header": "3.775.0",
25
+ "@aws-sdk/middleware-logger": "3.775.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
27
+ "@aws-sdk/middleware-user-agent": "3.775.0",
23
28
  "@aws-sdk/types": "latest",
24
- "@smithy/config-resolver": "^2.0.11",
25
- "@smithy/fetch-http-handler": "^2.2.1",
26
- "@smithy/hash-node": "^2.0.10",
27
- "@smithy/invalid-dependency": "^2.0.10",
28
- "@smithy/middleware-content-length": "^2.0.12",
29
- "@smithy/middleware-retry": "^2.0.13",
30
- "@smithy/middleware-serde": "^2.0.10",
31
- "@smithy/middleware-stack": "^2.0.4",
32
- "@smithy/node-config-provider": "^2.0.13",
33
- "@smithy/node-http-handler": "^2.1.6",
34
- "@smithy/protocol-http": "^3.0.6",
35
- "@smithy/smithy-client": "^2.1.9",
36
- "@smithy/types": "^2.3.4",
37
- "@smithy/url-parser": "^2.0.10",
38
- "@smithy/util-base64": "^2.0.0",
39
- "@smithy/util-body-length-browser": "^2.0.0",
40
- "@smithy/util-body-length-node": "^2.1.0",
41
- "@smithy/util-defaults-mode-browser": "^2.0.13",
42
- "@smithy/util-defaults-mode-node": "^2.0.15",
43
- "@smithy/util-retry": "^2.0.3",
44
- "@smithy/util-utf8": "^2.0.0",
45
- "@wildix/auth-utils": "^1.0.4"
29
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
30
+ "@aws-sdk/util-user-agent-node": "3.775.0",
31
+ "@smithy/config-resolver": "^4.1.0",
32
+ "@smithy/core": "^3.2.0",
33
+ "@smithy/fetch-http-handler": "^5.0.2",
34
+ "@smithy/hash-node": "^4.0.2",
35
+ "@smithy/invalid-dependency": "^4.0.2",
36
+ "@smithy/middleware-content-length": "^4.0.2",
37
+ "@smithy/middleware-retry": "^4.1.0",
38
+ "@smithy/middleware-serde": "^4.0.3",
39
+ "@smithy/middleware-stack": "^4.0.2",
40
+ "@smithy/node-config-provider": "^4.0.2",
41
+ "@smithy/node-http-handler": "^4.0.4",
42
+ "@smithy/protocol-http": "^5.1.0",
43
+ "@smithy/smithy-client": "^4.2.0",
44
+ "@smithy/types": "^4.2.0",
45
+ "@smithy/url-parser": "^4.0.2",
46
+ "@smithy/util-base64": "^4.0.0",
47
+ "@smithy/util-body-length-browser": "^4.0.0",
48
+ "@smithy/util-body-length-node": "^4.0.0",
49
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
50
+ "@smithy/util-defaults-mode-node": "^4.0.8",
51
+ "@smithy/util-retry": "^4.0.2",
52
+ "@smithy/util-utf8": "^4.0.0",
53
+ "@wildix/smithy-utils": "^1.0.3"
46
54
  },
47
55
  "devDependencies": {
48
- "@tsconfig/node14": "1.0.3",
56
+ "@tsconfig/node18": "18.2.4",
49
57
  "concurrently": "7.0.0",
50
58
  "downlevel-dts": "0.10.1",
51
59
  "rimraf": "^3.0.0",
52
- "typedoc": "0.23.23",
53
- "typescript": "~4.9.5",
54
- "@smithy/service-client-documentation-generator": "^2.0.0",
55
- "@types/node": "^14.14.31"
60
+ "typescript": "~5.2.2",
61
+ "@types/node": "^18.19.69"
56
62
  },
57
63
  "engines": {
58
- "node": ">=14.0.0"
64
+ "node": ">=18.0.0"
59
65
  },
60
66
  "typesVersions": {
61
67
  "<4.0": {