@aws-sdk/lib-dynamodb 3.664.0 → 3.666.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
@@ -55,6 +55,7 @@ var import_client_dynamodb = require("@aws-sdk/client-dynamodb");
55
55
 
56
56
 
57
57
  // src/baseCommand/DynamoDBDocumentClientCommand.ts
58
+ var import_core = require("@aws-sdk/core");
58
59
  var import_smithy_client = require("@smithy/smithy-client");
59
60
 
60
61
  // src/commands/utils.ts
@@ -143,6 +144,7 @@ var _DynamoDBDocumentClientCommand = class _DynamoDBDocumentClientCommand extend
143
144
  unmarshallOptions3.convertWithoutMapWrapper = unmarshallOptions3.convertWithoutMapWrapper ?? true;
144
145
  this.clientCommand.middlewareStack.addRelativeTo(
145
146
  (next, context) => async (args) => {
147
+ (0, import_core.setFeature)(context, "DDB_MAPPER", "d");
146
148
  args.input = marshallInput(this.input, this.inputKeyNodes, marshallOptions3);
147
149
  context.dynamoDbDocumentClientOptions = context.dynamoDbDocumentClientOptions || _DynamoDBDocumentClientCommand.defaultLogFilterOverrides;
148
150
  const input = args.input;
@@ -986,14 +988,14 @@ var DynamoDBDocument = _DynamoDBDocument;
986
988
  var import_types = require("@smithy/types");
987
989
 
988
990
  // src/pagination/QueryPaginator.ts
989
- var import_core = require("@smithy/core");
991
+ var import_core2 = require("@smithy/core");
990
992
 
991
- var paginateQuery = (0, import_core.createPaginator)(DynamoDBDocumentClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
993
+ var paginateQuery = (0, import_core2.createPaginator)(DynamoDBDocumentClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
992
994
 
993
995
  // src/pagination/ScanPaginator.ts
996
+ var import_core3 = require("@smithy/core");
994
997
 
995
-
996
- var paginateScan = (0, import_core.createPaginator)(DynamoDBDocumentClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
998
+ var paginateScan = (0, import_core3.createPaginator)(DynamoDBDocumentClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
997
999
 
998
1000
  // src/index.ts
999
1001
 
@@ -1,3 +1,4 @@
1
+ import { setFeature } from "@aws-sdk/core";
1
2
  import { Command as $Command } from "@smithy/smithy-client";
2
3
  import { marshallInput, unmarshallOutput } from "../commands/utils";
3
4
  export class DynamoDBDocumentClientCommand extends $Command {
@@ -6,6 +7,7 @@ export class DynamoDBDocumentClientCommand extends $Command {
6
7
  marshallOptions.convertTopLevelContainer = marshallOptions.convertTopLevelContainer ?? true;
7
8
  unmarshallOptions.convertWithoutMapWrapper = unmarshallOptions.convertWithoutMapWrapper ?? true;
8
9
  this.clientCommand.middlewareStack.addRelativeTo((next, context) => async (args) => {
10
+ setFeature(context, "DDB_MAPPER", "d");
9
11
  args.input = marshallInput(this.input, this.inputKeyNodes, marshallOptions);
10
12
  context.dynamoDbDocumentClientOptions =
11
13
  context.dynamoDbDocumentClientOptions || DynamoDBDocumentClientCommand.defaultLogFilterOverrides;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-dynamodb",
3
- "version": "3.664.0",
3
+ "version": "3.666.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,17 +26,17 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/util-dynamodb": "3.664.0",
30
- "@smithy/core": "^2.4.7",
31
- "@smithy/smithy-client": "^3.3.6",
29
+ "@aws-sdk/util-dynamodb": "3.666.0",
30
+ "@smithy/core": "^2.4.8",
31
+ "@smithy/smithy-client": "^3.4.0",
32
32
  "@smithy/types": "^3.5.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "peerDependencies": {
36
- "@aws-sdk/client-dynamodb": "^3.664.0"
36
+ "@aws-sdk/client-dynamodb": "^3.666.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@aws-sdk/client-dynamodb": "3.664.0",
39
+ "@aws-sdk/client-dynamodb": "3.666.0",
40
40
  "@tsconfig/recommended": "1.0.1",
41
41
  "@types/node": "^16.18.96",
42
42
  "concurrently": "7.0.0",