@aws-sdk/client-dynamodb-streams 3.929.0 → 3.930.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/dist-cjs/index.js CHANGED
@@ -207,32 +207,6 @@ const ShardIteratorType = {
207
207
  LATEST: "LATEST",
208
208
  TRIM_HORIZON: "TRIM_HORIZON",
209
209
  };
210
- exports.AttributeValue = void 0;
211
- (function (AttributeValue) {
212
- AttributeValue.visit = (value, visitor) => {
213
- if (value.S !== undefined)
214
- return visitor.S(value.S);
215
- if (value.N !== undefined)
216
- return visitor.N(value.N);
217
- if (value.B !== undefined)
218
- return visitor.B(value.B);
219
- if (value.SS !== undefined)
220
- return visitor.SS(value.SS);
221
- if (value.NS !== undefined)
222
- return visitor.NS(value.NS);
223
- if (value.BS !== undefined)
224
- return visitor.BS(value.BS);
225
- if (value.M !== undefined)
226
- return visitor.M(value.M);
227
- if (value.L !== undefined)
228
- return visitor.L(value.L);
229
- if (value.NULL !== undefined)
230
- return visitor.NULL(value.NULL);
231
- if (value.BOOL !== undefined)
232
- return visitor.BOOL(value.BOOL);
233
- return visitor._(value.$unknown[0], value.$unknown[1]);
234
- };
235
- })(exports.AttributeValue || (exports.AttributeValue = {}));
236
210
 
237
211
  const _ACDT = "ApproximateCreationDateTime";
238
212
  const _AM = "AttributeMap";
@@ -89,29 +89,3 @@ export const ShardIteratorType = {
89
89
  LATEST: "LATEST",
90
90
  TRIM_HORIZON: "TRIM_HORIZON",
91
91
  };
92
- export var AttributeValue;
93
- (function (AttributeValue) {
94
- AttributeValue.visit = (value, visitor) => {
95
- if (value.S !== undefined)
96
- return visitor.S(value.S);
97
- if (value.N !== undefined)
98
- return visitor.N(value.N);
99
- if (value.B !== undefined)
100
- return visitor.B(value.B);
101
- if (value.SS !== undefined)
102
- return visitor.SS(value.SS);
103
- if (value.NS !== undefined)
104
- return visitor.NS(value.NS);
105
- if (value.BS !== undefined)
106
- return visitor.BS(value.BS);
107
- if (value.M !== undefined)
108
- return visitor.M(value.M);
109
- if (value.L !== undefined)
110
- return visitor.L(value.L);
111
- if (value.NULL !== undefined)
112
- return visitor.NULL(value.NULL);
113
- if (value.BOOL !== undefined)
114
- return visitor.BOOL(value.BOOL);
115
- return visitor._(value.$unknown[0], value.$unknown[1]);
116
- };
117
- })(AttributeValue || (AttributeValue = {}));
@@ -820,6 +820,10 @@ export declare namespace AttributeValue {
820
820
  BOOL?: never;
821
821
  $unknown: [string, any];
822
822
  }
823
+ /**
824
+ * @deprecated unused in schema-serde mode.
825
+ *
826
+ */
823
827
  interface Visitor<T> {
824
828
  S: (value: string) => T;
825
829
  N: (value: string) => T;
@@ -833,7 +837,6 @@ export declare namespace AttributeValue {
833
837
  BOOL: (value: boolean) => T;
834
838
  _: (name: string, value: any) => T;
835
839
  }
836
- const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
837
840
  }
838
841
  /**
839
842
  * <p>A description of a single data modification that was performed on an item in a DynamoDB table.</p>
@@ -311,7 +311,6 @@ export declare namespace AttributeValue {
311
311
  BOOL: (value: boolean) => T;
312
312
  _: (name: string, value: any) => T;
313
313
  }
314
- const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
315
314
  }
316
315
  export interface StreamRecord {
317
316
  ApproximateCreationDateTime?: Date | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb-streams",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.930.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-dynamodb-streams",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },