@aws-sdk/client-connect 3.229.0 → 3.231.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.
|
@@ -2559,7 +2559,7 @@ const serializeAws_restJson1ReleasePhoneNumberCommand = async (input, context) =
|
|
|
2559
2559
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/{PhoneNumberId}";
|
|
2560
2560
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);
|
|
2561
2561
|
const query = map({
|
|
2562
|
-
clientToken: [, input.ClientToken],
|
|
2562
|
+
clientToken: [, input.ClientToken ?? (0, uuid_1.v4)()],
|
|
2563
2563
|
});
|
|
2564
2564
|
let body;
|
|
2565
2565
|
return new protocol_http_1.HttpRequest({
|
|
@@ -2438,7 +2438,7 @@ export const serializeAws_restJson1ReleasePhoneNumberCommand = async (input, con
|
|
|
2438
2438
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/phone-number/{PhoneNumberId}";
|
|
2439
2439
|
resolvedPath = __resolvedPath(resolvedPath, input, "PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);
|
|
2440
2440
|
const query = map({
|
|
2441
|
-
clientToken: [, input.ClientToken],
|
|
2441
|
+
clientToken: [, input.ClientToken ?? generateIdempotencyToken()],
|
|
2442
2442
|
});
|
|
2443
2443
|
let body;
|
|
2444
2444
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.231.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.231.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.231.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.231.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.226.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.231.0",
|
|
49
49
|
"@aws-sdk/util-endpoints": "3.226.0",
|
|
50
50
|
"@aws-sdk/util-retry": "3.229.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|