@aws-sdk/client-mturk 3.163.0 → 3.165.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-mturk
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-mturk
@@ -2932,6 +2932,9 @@ const loadRestJsonErrorCode = (output, data) => {
2932
2932
  if (typeof cleanValue === "number") {
2933
2933
  cleanValue = cleanValue.toString();
2934
2934
  }
2935
+ if (cleanValue.indexOf(",") >= 0) {
2936
+ cleanValue = cleanValue.split(",")[0];
2937
+ }
2935
2938
  if (cleanValue.indexOf(":") >= 0) {
2936
2939
  cleanValue = cleanValue.split(":")[0];
2937
2940
  }
@@ -3476,6 +3476,9 @@ var loadRestJsonErrorCode = function (output, data) {
3476
3476
  if (typeof cleanValue === "number") {
3477
3477
  cleanValue = cleanValue.toString();
3478
3478
  }
3479
+ if (cleanValue.indexOf(",") >= 0) {
3480
+ cleanValue = cleanValue.split(",")[0];
3481
+ }
3479
3482
  if (cleanValue.indexOf(":") >= 0) {
3480
3483
  cleanValue = cleanValue.split(":")[0];
3481
3484
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mturk",
3
3
  "description": "AWS SDK for JavaScript Mturk Client for Node.js, Browser and React Native",
4
- "version": "3.163.0",
4
+ "version": "3.165.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.163.0",
21
+ "@aws-sdk/client-sts": "3.165.0",
22
22
  "@aws-sdk/config-resolver": "3.163.0",
23
- "@aws-sdk/credential-provider-node": "3.163.0",
23
+ "@aws-sdk/credential-provider-node": "3.165.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.162.0",
25
25
  "@aws-sdk/hash-node": "3.162.0",
26
26
  "@aws-sdk/invalid-dependency": "3.162.0",