@aws-sdk/lib-dynamodb 3.649.0 → 3.651.1
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
|
@@ -791,7 +791,7 @@ var _DynamoDBDocumentClient = class _DynamoDBDocumentClient extends import_smith
|
|
|
791
791
|
this.middlewareStack = client.middlewareStack;
|
|
792
792
|
if ((_a = this.config) == null ? void 0 : _a.cacheMiddleware) {
|
|
793
793
|
throw new Error(
|
|
794
|
-
"@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the
|
|
794
|
+
"@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the DynamoDBDocumentClient. This option must be set to false."
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
797
|
}
|
|
@@ -7,7 +7,8 @@ export class DynamoDBDocumentClient extends __Client {
|
|
|
7
7
|
this.config.translateConfig = translateConfig;
|
|
8
8
|
this.middlewareStack = client.middlewareStack;
|
|
9
9
|
if (this.config?.cacheMiddleware) {
|
|
10
|
-
throw new Error("@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the
|
|
10
|
+
throw new Error("@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the" +
|
|
11
|
+
" DynamoDBDocumentClient. This option must be set to false.");
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
static from(client, translateConfig) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-dynamodb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.651.1",
|
|
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,17 +26,17 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/util-dynamodb": "3.
|
|
29
|
+
"@aws-sdk/util-dynamodb": "3.651.1",
|
|
30
30
|
"@smithy/core": "^2.4.1",
|
|
31
31
|
"@smithy/smithy-client": "^3.3.0",
|
|
32
32
|
"@smithy/types": "^3.4.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@aws-sdk/client-dynamodb": "^3.
|
|
36
|
+
"@aws-sdk/client-dynamodb": "^3.651.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
39
|
+
"@aws-sdk/client-dynamodb": "3.651.1",
|
|
40
40
|
"@tsconfig/recommended": "1.0.1",
|
|
41
41
|
"@types/node": "^16.18.96",
|
|
42
42
|
"concurrently": "7.0.0",
|