@aws-sdk/lib-dynamodb 3.533.0 → 3.535.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 +26 -13
- package/dist-es/DynamoDBDocument.js +26 -13
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -802,8 +802,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
802
802
|
if (typeof optionsOrCb === "function") {
|
|
803
803
|
this.send(command, optionsOrCb);
|
|
804
804
|
} else if (typeof cb === "function") {
|
|
805
|
-
if (typeof optionsOrCb !== "object")
|
|
805
|
+
if (typeof optionsOrCb !== "object") {
|
|
806
806
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
807
|
+
}
|
|
807
808
|
this.send(command, optionsOrCb || {}, cb);
|
|
808
809
|
} else {
|
|
809
810
|
return this.send(command, optionsOrCb);
|
|
@@ -814,8 +815,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
814
815
|
if (typeof optionsOrCb === "function") {
|
|
815
816
|
this.send(command, optionsOrCb);
|
|
816
817
|
} else if (typeof cb === "function") {
|
|
817
|
-
if (typeof optionsOrCb !== "object")
|
|
818
|
+
if (typeof optionsOrCb !== "object") {
|
|
818
819
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
820
|
+
}
|
|
819
821
|
this.send(command, optionsOrCb || {}, cb);
|
|
820
822
|
} else {
|
|
821
823
|
return this.send(command, optionsOrCb);
|
|
@@ -826,8 +828,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
826
828
|
if (typeof optionsOrCb === "function") {
|
|
827
829
|
this.send(command, optionsOrCb);
|
|
828
830
|
} else if (typeof cb === "function") {
|
|
829
|
-
if (typeof optionsOrCb !== "object")
|
|
831
|
+
if (typeof optionsOrCb !== "object") {
|
|
830
832
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
833
|
+
}
|
|
831
834
|
this.send(command, optionsOrCb || {}, cb);
|
|
832
835
|
} else {
|
|
833
836
|
return this.send(command, optionsOrCb);
|
|
@@ -838,8 +841,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
838
841
|
if (typeof optionsOrCb === "function") {
|
|
839
842
|
this.send(command, optionsOrCb);
|
|
840
843
|
} else if (typeof cb === "function") {
|
|
841
|
-
if (typeof optionsOrCb !== "object")
|
|
844
|
+
if (typeof optionsOrCb !== "object") {
|
|
842
845
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
846
|
+
}
|
|
843
847
|
this.send(command, optionsOrCb || {}, cb);
|
|
844
848
|
} else {
|
|
845
849
|
return this.send(command, optionsOrCb);
|
|
@@ -850,8 +854,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
850
854
|
if (typeof optionsOrCb === "function") {
|
|
851
855
|
this.send(command, optionsOrCb);
|
|
852
856
|
} else if (typeof cb === "function") {
|
|
853
|
-
if (typeof optionsOrCb !== "object")
|
|
857
|
+
if (typeof optionsOrCb !== "object") {
|
|
854
858
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
859
|
+
}
|
|
855
860
|
this.send(command, optionsOrCb || {}, cb);
|
|
856
861
|
} else {
|
|
857
862
|
return this.send(command, optionsOrCb);
|
|
@@ -862,8 +867,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
862
867
|
if (typeof optionsOrCb === "function") {
|
|
863
868
|
this.send(command, optionsOrCb);
|
|
864
869
|
} else if (typeof cb === "function") {
|
|
865
|
-
if (typeof optionsOrCb !== "object")
|
|
870
|
+
if (typeof optionsOrCb !== "object") {
|
|
866
871
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
872
|
+
}
|
|
867
873
|
this.send(command, optionsOrCb || {}, cb);
|
|
868
874
|
} else {
|
|
869
875
|
return this.send(command, optionsOrCb);
|
|
@@ -874,8 +880,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
874
880
|
if (typeof optionsOrCb === "function") {
|
|
875
881
|
this.send(command, optionsOrCb);
|
|
876
882
|
} else if (typeof cb === "function") {
|
|
877
|
-
if (typeof optionsOrCb !== "object")
|
|
883
|
+
if (typeof optionsOrCb !== "object") {
|
|
878
884
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
885
|
+
}
|
|
879
886
|
this.send(command, optionsOrCb || {}, cb);
|
|
880
887
|
} else {
|
|
881
888
|
return this.send(command, optionsOrCb);
|
|
@@ -886,8 +893,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
886
893
|
if (typeof optionsOrCb === "function") {
|
|
887
894
|
this.send(command, optionsOrCb);
|
|
888
895
|
} else if (typeof cb === "function") {
|
|
889
|
-
if (typeof optionsOrCb !== "object")
|
|
896
|
+
if (typeof optionsOrCb !== "object") {
|
|
890
897
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
898
|
+
}
|
|
891
899
|
this.send(command, optionsOrCb || {}, cb);
|
|
892
900
|
} else {
|
|
893
901
|
return this.send(command, optionsOrCb);
|
|
@@ -898,8 +906,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
898
906
|
if (typeof optionsOrCb === "function") {
|
|
899
907
|
this.send(command, optionsOrCb);
|
|
900
908
|
} else if (typeof cb === "function") {
|
|
901
|
-
if (typeof optionsOrCb !== "object")
|
|
909
|
+
if (typeof optionsOrCb !== "object") {
|
|
902
910
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
911
|
+
}
|
|
903
912
|
this.send(command, optionsOrCb || {}, cb);
|
|
904
913
|
} else {
|
|
905
914
|
return this.send(command, optionsOrCb);
|
|
@@ -910,8 +919,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
910
919
|
if (typeof optionsOrCb === "function") {
|
|
911
920
|
this.send(command, optionsOrCb);
|
|
912
921
|
} else if (typeof cb === "function") {
|
|
913
|
-
if (typeof optionsOrCb !== "object")
|
|
922
|
+
if (typeof optionsOrCb !== "object") {
|
|
914
923
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
924
|
+
}
|
|
915
925
|
this.send(command, optionsOrCb || {}, cb);
|
|
916
926
|
} else {
|
|
917
927
|
return this.send(command, optionsOrCb);
|
|
@@ -922,8 +932,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
922
932
|
if (typeof optionsOrCb === "function") {
|
|
923
933
|
this.send(command, optionsOrCb);
|
|
924
934
|
} else if (typeof cb === "function") {
|
|
925
|
-
if (typeof optionsOrCb !== "object")
|
|
935
|
+
if (typeof optionsOrCb !== "object") {
|
|
926
936
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
937
|
+
}
|
|
927
938
|
this.send(command, optionsOrCb || {}, cb);
|
|
928
939
|
} else {
|
|
929
940
|
return this.send(command, optionsOrCb);
|
|
@@ -934,8 +945,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
934
945
|
if (typeof optionsOrCb === "function") {
|
|
935
946
|
this.send(command, optionsOrCb);
|
|
936
947
|
} else if (typeof cb === "function") {
|
|
937
|
-
if (typeof optionsOrCb !== "object")
|
|
948
|
+
if (typeof optionsOrCb !== "object") {
|
|
938
949
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
950
|
+
}
|
|
939
951
|
this.send(command, optionsOrCb || {}, cb);
|
|
940
952
|
} else {
|
|
941
953
|
return this.send(command, optionsOrCb);
|
|
@@ -946,8 +958,9 @@ var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
946
958
|
if (typeof optionsOrCb === "function") {
|
|
947
959
|
this.send(command, optionsOrCb);
|
|
948
960
|
} else if (typeof cb === "function") {
|
|
949
|
-
if (typeof optionsOrCb !== "object")
|
|
961
|
+
if (typeof optionsOrCb !== "object") {
|
|
950
962
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
963
|
+
}
|
|
951
964
|
this.send(command, optionsOrCb || {}, cb);
|
|
952
965
|
} else {
|
|
953
966
|
return this.send(command, optionsOrCb);
|
|
@@ -22,8 +22,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
22
22
|
this.send(command, optionsOrCb);
|
|
23
23
|
}
|
|
24
24
|
else if (typeof cb === "function") {
|
|
25
|
-
if (typeof optionsOrCb !== "object")
|
|
25
|
+
if (typeof optionsOrCb !== "object") {
|
|
26
26
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
27
|
+
}
|
|
27
28
|
this.send(command, optionsOrCb || {}, cb);
|
|
28
29
|
}
|
|
29
30
|
else {
|
|
@@ -36,8 +37,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
36
37
|
this.send(command, optionsOrCb);
|
|
37
38
|
}
|
|
38
39
|
else if (typeof cb === "function") {
|
|
39
|
-
if (typeof optionsOrCb !== "object")
|
|
40
|
+
if (typeof optionsOrCb !== "object") {
|
|
40
41
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
42
|
+
}
|
|
41
43
|
this.send(command, optionsOrCb || {}, cb);
|
|
42
44
|
}
|
|
43
45
|
else {
|
|
@@ -50,8 +52,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
50
52
|
this.send(command, optionsOrCb);
|
|
51
53
|
}
|
|
52
54
|
else if (typeof cb === "function") {
|
|
53
|
-
if (typeof optionsOrCb !== "object")
|
|
55
|
+
if (typeof optionsOrCb !== "object") {
|
|
54
56
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
57
|
+
}
|
|
55
58
|
this.send(command, optionsOrCb || {}, cb);
|
|
56
59
|
}
|
|
57
60
|
else {
|
|
@@ -64,8 +67,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
64
67
|
this.send(command, optionsOrCb);
|
|
65
68
|
}
|
|
66
69
|
else if (typeof cb === "function") {
|
|
67
|
-
if (typeof optionsOrCb !== "object")
|
|
70
|
+
if (typeof optionsOrCb !== "object") {
|
|
68
71
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
72
|
+
}
|
|
69
73
|
this.send(command, optionsOrCb || {}, cb);
|
|
70
74
|
}
|
|
71
75
|
else {
|
|
@@ -78,8 +82,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
78
82
|
this.send(command, optionsOrCb);
|
|
79
83
|
}
|
|
80
84
|
else if (typeof cb === "function") {
|
|
81
|
-
if (typeof optionsOrCb !== "object")
|
|
85
|
+
if (typeof optionsOrCb !== "object") {
|
|
82
86
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
87
|
+
}
|
|
83
88
|
this.send(command, optionsOrCb || {}, cb);
|
|
84
89
|
}
|
|
85
90
|
else {
|
|
@@ -92,8 +97,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
92
97
|
this.send(command, optionsOrCb);
|
|
93
98
|
}
|
|
94
99
|
else if (typeof cb === "function") {
|
|
95
|
-
if (typeof optionsOrCb !== "object")
|
|
100
|
+
if (typeof optionsOrCb !== "object") {
|
|
96
101
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
102
|
+
}
|
|
97
103
|
this.send(command, optionsOrCb || {}, cb);
|
|
98
104
|
}
|
|
99
105
|
else {
|
|
@@ -106,8 +112,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
106
112
|
this.send(command, optionsOrCb);
|
|
107
113
|
}
|
|
108
114
|
else if (typeof cb === "function") {
|
|
109
|
-
if (typeof optionsOrCb !== "object")
|
|
115
|
+
if (typeof optionsOrCb !== "object") {
|
|
110
116
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
+
}
|
|
111
118
|
this.send(command, optionsOrCb || {}, cb);
|
|
112
119
|
}
|
|
113
120
|
else {
|
|
@@ -120,8 +127,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
120
127
|
this.send(command, optionsOrCb);
|
|
121
128
|
}
|
|
122
129
|
else if (typeof cb === "function") {
|
|
123
|
-
if (typeof optionsOrCb !== "object")
|
|
130
|
+
if (typeof optionsOrCb !== "object") {
|
|
124
131
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
132
|
+
}
|
|
125
133
|
this.send(command, optionsOrCb || {}, cb);
|
|
126
134
|
}
|
|
127
135
|
else {
|
|
@@ -134,8 +142,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
134
142
|
this.send(command, optionsOrCb);
|
|
135
143
|
}
|
|
136
144
|
else if (typeof cb === "function") {
|
|
137
|
-
if (typeof optionsOrCb !== "object")
|
|
145
|
+
if (typeof optionsOrCb !== "object") {
|
|
138
146
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
+
}
|
|
139
148
|
this.send(command, optionsOrCb || {}, cb);
|
|
140
149
|
}
|
|
141
150
|
else {
|
|
@@ -148,8 +157,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
148
157
|
this.send(command, optionsOrCb);
|
|
149
158
|
}
|
|
150
159
|
else if (typeof cb === "function") {
|
|
151
|
-
if (typeof optionsOrCb !== "object")
|
|
160
|
+
if (typeof optionsOrCb !== "object") {
|
|
152
161
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
|
+
}
|
|
153
163
|
this.send(command, optionsOrCb || {}, cb);
|
|
154
164
|
}
|
|
155
165
|
else {
|
|
@@ -162,8 +172,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
162
172
|
this.send(command, optionsOrCb);
|
|
163
173
|
}
|
|
164
174
|
else if (typeof cb === "function") {
|
|
165
|
-
if (typeof optionsOrCb !== "object")
|
|
175
|
+
if (typeof optionsOrCb !== "object") {
|
|
166
176
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
+
}
|
|
167
178
|
this.send(command, optionsOrCb || {}, cb);
|
|
168
179
|
}
|
|
169
180
|
else {
|
|
@@ -176,8 +187,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
176
187
|
this.send(command, optionsOrCb);
|
|
177
188
|
}
|
|
178
189
|
else if (typeof cb === "function") {
|
|
179
|
-
if (typeof optionsOrCb !== "object")
|
|
190
|
+
if (typeof optionsOrCb !== "object") {
|
|
180
191
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
|
+
}
|
|
181
193
|
this.send(command, optionsOrCb || {}, cb);
|
|
182
194
|
}
|
|
183
195
|
else {
|
|
@@ -190,8 +202,9 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
190
202
|
this.send(command, optionsOrCb);
|
|
191
203
|
}
|
|
192
204
|
else if (typeof cb === "function") {
|
|
193
|
-
if (typeof optionsOrCb !== "object")
|
|
205
|
+
if (typeof optionsOrCb !== "object") {
|
|
194
206
|
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
+
}
|
|
195
208
|
this.send(command, optionsOrCb || {}, cb);
|
|
196
209
|
}
|
|
197
210
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-dynamodb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.535.0",
|
|
4
4
|
"description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/util-dynamodb": "3.
|
|
30
|
-
"@smithy/smithy-client": "^2.
|
|
31
|
-
"@smithy/types": "^2.
|
|
32
|
-
"tslib": "^2.
|
|
29
|
+
"@aws-sdk/util-dynamodb": "3.535.0",
|
|
30
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
31
|
+
"@smithy/types": "^2.12.0",
|
|
32
|
+
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@aws-sdk/client-dynamodb": "^3.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
38
|
+
"@aws-sdk/client-dynamodb": "3.535.0",
|
|
39
39
|
"@tsconfig/recommended": "1.0.1",
|
|
40
40
|
"@types/node": "^14.14.31",
|
|
41
41
|
"concurrently": "7.0.0",
|