@aws-sdk/client-dynamodb 3.939.0 → 3.943.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.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
5
  const protocols_1 = require("@aws-sdk/core/protocols");
6
+ const dynamodb_codec_1 = require("@aws-sdk/dynamodb-codec");
6
7
  const smithy_client_1 = require("@smithy/smithy-client");
7
8
  const url_parser_1 = require("@smithy/url-parser");
8
9
  const util_base64_1 = require("@smithy/util-base64");
@@ -31,6 +32,7 @@ const getRuntimeConfig = (config) => {
31
32
  defaultNamespace: "com.amazonaws.dynamodb",
32
33
  serviceTarget: "DynamoDB_20120810",
33
34
  awsQueryCompatible: false,
35
+ jsonCodec: new dynamodb_codec_1.DynamoDBJsonCodec(),
34
36
  }),
35
37
  serviceId: config?.serviceId ?? "DynamoDB",
36
38
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
2
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
3
+ import { DynamoDBJsonCodec } from "@aws-sdk/dynamodb-codec";
3
4
  import { NoOpLogger } from "@smithy/smithy-client";
4
5
  import { parseUrl } from "@smithy/url-parser";
5
6
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -28,6 +29,7 @@ export const getRuntimeConfig = (config) => {
28
29
  defaultNamespace: "com.amazonaws.dynamodb",
29
30
  serviceTarget: "DynamoDB_20120810",
30
31
  awsQueryCompatible: false,
32
+ jsonCodec: new DynamoDBJsonCodec(),
31
33
  }),
32
34
  serviceId: config?.serviceId ?? "DynamoDB",
33
35
  urlParser: config?.urlParser ?? parseUrl,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
4
- "version": "3.939.0",
4
+ "version": "3.943.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",
@@ -22,18 +22,19 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.936.0",
26
- "@aws-sdk/credential-provider-node": "3.939.0",
25
+ "@aws-sdk/core": "3.943.0",
26
+ "@aws-sdk/credential-provider-node": "3.943.0",
27
+ "@aws-sdk/dynamodb-codec": "3.943.0",
27
28
  "@aws-sdk/middleware-endpoint-discovery": "3.936.0",
28
29
  "@aws-sdk/middleware-host-header": "3.936.0",
29
30
  "@aws-sdk/middleware-logger": "3.936.0",
30
31
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
31
- "@aws-sdk/middleware-user-agent": "3.936.0",
32
+ "@aws-sdk/middleware-user-agent": "3.943.0",
32
33
  "@aws-sdk/region-config-resolver": "3.936.0",
33
34
  "@aws-sdk/types": "3.936.0",
34
35
  "@aws-sdk/util-endpoints": "3.936.0",
35
36
  "@aws-sdk/util-user-agent-browser": "3.936.0",
36
- "@aws-sdk/util-user-agent-node": "3.936.0",
37
+ "@aws-sdk/util-user-agent-node": "3.943.0",
37
38
  "@smithy/config-resolver": "^4.4.3",
38
39
  "@smithy/core": "^3.18.5",
39
40
  "@smithy/fetch-http-handler": "^5.3.6",