@aws-sdk/client-lex-runtime-v2 3.109.0 → 3.110.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,17 @@
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.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **client-lex-runtime-v2:** serialize eventstream payload properly ([#3655](https://github.com/aws/aws-sdk-js-v3/issues/3655)) ([757f883](https://github.com/aws/aws-sdk-js-v3/commit/757f88331f78a29d976a97a7ed5dc4337a1aedfa))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
@@ -905,7 +905,8 @@ const serializeAws_restJson1AudioInputEvent_event = (input, context) => {
905
905
  },
906
906
  body: new Uint8Array(),
907
907
  };
908
- message.body = serializeAws_restJson1AudioInputEvent(input, context);
908
+ const body = serializeAws_restJson1AudioInputEvent(input, context);
909
+ message.body = context.utf8Decoder(JSON.stringify(body));
909
910
  return message;
910
911
  };
911
912
  const serializeAws_restJson1ConfigurationEvent_event = (input, context) => {
@@ -916,7 +917,8 @@ const serializeAws_restJson1ConfigurationEvent_event = (input, context) => {
916
917
  },
917
918
  body: new Uint8Array(),
918
919
  };
919
- message.body = serializeAws_restJson1ConfigurationEvent(input, context);
920
+ const body = serializeAws_restJson1ConfigurationEvent(input, context);
921
+ message.body = context.utf8Decoder(JSON.stringify(body));
920
922
  return message;
921
923
  };
922
924
  const serializeAws_restJson1DisconnectionEvent_event = (input, context) => {
@@ -927,7 +929,8 @@ const serializeAws_restJson1DisconnectionEvent_event = (input, context) => {
927
929
  },
928
930
  body: new Uint8Array(),
929
931
  };
930
- message.body = serializeAws_restJson1DisconnectionEvent(input, context);
932
+ const body = serializeAws_restJson1DisconnectionEvent(input, context);
933
+ message.body = context.utf8Decoder(JSON.stringify(body));
931
934
  return message;
932
935
  };
933
936
  const serializeAws_restJson1DTMFInputEvent_event = (input, context) => {
@@ -938,7 +941,8 @@ const serializeAws_restJson1DTMFInputEvent_event = (input, context) => {
938
941
  },
939
942
  body: new Uint8Array(),
940
943
  };
941
- message.body = serializeAws_restJson1DTMFInputEvent(input, context);
944
+ const body = serializeAws_restJson1DTMFInputEvent(input, context);
945
+ message.body = context.utf8Decoder(JSON.stringify(body));
942
946
  return message;
943
947
  };
944
948
  const serializeAws_restJson1PlaybackCompletionEvent_event = (input, context) => {
@@ -949,7 +953,8 @@ const serializeAws_restJson1PlaybackCompletionEvent_event = (input, context) =>
949
953
  },
950
954
  body: new Uint8Array(),
951
955
  };
952
- message.body = serializeAws_restJson1PlaybackCompletionEvent(input, context);
956
+ const body = serializeAws_restJson1PlaybackCompletionEvent(input, context);
957
+ message.body = context.utf8Decoder(JSON.stringify(body));
953
958
  return message;
954
959
  };
955
960
  const serializeAws_restJson1TextInputEvent_event = (input, context) => {
@@ -960,7 +965,8 @@ const serializeAws_restJson1TextInputEvent_event = (input, context) => {
960
965
  },
961
966
  body: new Uint8Array(),
962
967
  };
963
- message.body = serializeAws_restJson1TextInputEvent(input, context);
968
+ const body = serializeAws_restJson1TextInputEvent(input, context);
969
+ message.body = context.utf8Decoder(JSON.stringify(body));
964
970
  return message;
965
971
  };
966
972
  const deserializeAws_restJson1AccessDeniedException_event = async (output, context) => {
@@ -1068,7 +1068,8 @@ var serializeAws_restJson1AudioInputEvent_event = function (input, context) {
1068
1068
  },
1069
1069
  body: new Uint8Array(),
1070
1070
  };
1071
- message.body = serializeAws_restJson1AudioInputEvent(input, context);
1071
+ var body = serializeAws_restJson1AudioInputEvent(input, context);
1072
+ message.body = context.utf8Decoder(JSON.stringify(body));
1072
1073
  return message;
1073
1074
  };
1074
1075
  var serializeAws_restJson1ConfigurationEvent_event = function (input, context) {
@@ -1079,7 +1080,8 @@ var serializeAws_restJson1ConfigurationEvent_event = function (input, context) {
1079
1080
  },
1080
1081
  body: new Uint8Array(),
1081
1082
  };
1082
- message.body = serializeAws_restJson1ConfigurationEvent(input, context);
1083
+ var body = serializeAws_restJson1ConfigurationEvent(input, context);
1084
+ message.body = context.utf8Decoder(JSON.stringify(body));
1083
1085
  return message;
1084
1086
  };
1085
1087
  var serializeAws_restJson1DisconnectionEvent_event = function (input, context) {
@@ -1090,7 +1092,8 @@ var serializeAws_restJson1DisconnectionEvent_event = function (input, context) {
1090
1092
  },
1091
1093
  body: new Uint8Array(),
1092
1094
  };
1093
- message.body = serializeAws_restJson1DisconnectionEvent(input, context);
1095
+ var body = serializeAws_restJson1DisconnectionEvent(input, context);
1096
+ message.body = context.utf8Decoder(JSON.stringify(body));
1094
1097
  return message;
1095
1098
  };
1096
1099
  var serializeAws_restJson1DTMFInputEvent_event = function (input, context) {
@@ -1101,7 +1104,8 @@ var serializeAws_restJson1DTMFInputEvent_event = function (input, context) {
1101
1104
  },
1102
1105
  body: new Uint8Array(),
1103
1106
  };
1104
- message.body = serializeAws_restJson1DTMFInputEvent(input, context);
1107
+ var body = serializeAws_restJson1DTMFInputEvent(input, context);
1108
+ message.body = context.utf8Decoder(JSON.stringify(body));
1105
1109
  return message;
1106
1110
  };
1107
1111
  var serializeAws_restJson1PlaybackCompletionEvent_event = function (input, context) {
@@ -1112,7 +1116,8 @@ var serializeAws_restJson1PlaybackCompletionEvent_event = function (input, conte
1112
1116
  },
1113
1117
  body: new Uint8Array(),
1114
1118
  };
1115
- message.body = serializeAws_restJson1PlaybackCompletionEvent(input, context);
1119
+ var body = serializeAws_restJson1PlaybackCompletionEvent(input, context);
1120
+ message.body = context.utf8Decoder(JSON.stringify(body));
1116
1121
  return message;
1117
1122
  };
1118
1123
  var serializeAws_restJson1TextInputEvent_event = function (input, context) {
@@ -1123,7 +1128,8 @@ var serializeAws_restJson1TextInputEvent_event = function (input, context) {
1123
1128
  },
1124
1129
  body: new Uint8Array(),
1125
1130
  };
1126
- message.body = serializeAws_restJson1TextInputEvent(input, context);
1131
+ var body = serializeAws_restJson1TextInputEvent(input, context);
1132
+ message.body = context.utf8Decoder(JSON.stringify(body));
1127
1133
  return message;
1128
1134
  };
1129
1135
  var deserializeAws_restJson1AccessDeniedException_event = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-runtime-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
4
- "version": "3.109.0",
4
+ "version": "3.110.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,40 +18,40 @@
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.109.0",
22
- "@aws-sdk/config-resolver": "3.109.0",
23
- "@aws-sdk/credential-provider-node": "3.109.0",
24
- "@aws-sdk/eventstream-handler-node": "3.109.0",
25
- "@aws-sdk/eventstream-serde-browser": "3.109.0",
26
- "@aws-sdk/eventstream-serde-config-resolver": "3.109.0",
27
- "@aws-sdk/eventstream-serde-node": "3.109.0",
28
- "@aws-sdk/fetch-http-handler": "3.109.0",
29
- "@aws-sdk/hash-node": "3.109.0",
30
- "@aws-sdk/invalid-dependency": "3.109.0",
31
- "@aws-sdk/middleware-content-length": "3.109.0",
32
- "@aws-sdk/middleware-eventstream": "3.109.0",
33
- "@aws-sdk/middleware-host-header": "3.109.0",
34
- "@aws-sdk/middleware-logger": "3.109.0",
35
- "@aws-sdk/middleware-recursion-detection": "3.109.0",
36
- "@aws-sdk/middleware-retry": "3.109.0",
37
- "@aws-sdk/middleware-serde": "3.109.0",
38
- "@aws-sdk/middleware-signing": "3.109.0",
39
- "@aws-sdk/middleware-stack": "3.109.0",
40
- "@aws-sdk/middleware-user-agent": "3.109.0",
41
- "@aws-sdk/node-config-provider": "3.109.0",
42
- "@aws-sdk/node-http-handler": "3.109.0",
43
- "@aws-sdk/protocol-http": "3.109.0",
44
- "@aws-sdk/smithy-client": "3.109.0",
45
- "@aws-sdk/types": "3.109.0",
46
- "@aws-sdk/url-parser": "3.109.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.0",
24
+ "@aws-sdk/eventstream-handler-node": "3.110.0",
25
+ "@aws-sdk/eventstream-serde-browser": "3.110.0",
26
+ "@aws-sdk/eventstream-serde-config-resolver": "3.110.0",
27
+ "@aws-sdk/eventstream-serde-node": "3.110.0",
28
+ "@aws-sdk/fetch-http-handler": "3.110.0",
29
+ "@aws-sdk/hash-node": "3.110.0",
30
+ "@aws-sdk/invalid-dependency": "3.110.0",
31
+ "@aws-sdk/middleware-content-length": "3.110.0",
32
+ "@aws-sdk/middleware-eventstream": "3.110.0",
33
+ "@aws-sdk/middleware-host-header": "3.110.0",
34
+ "@aws-sdk/middleware-logger": "3.110.0",
35
+ "@aws-sdk/middleware-recursion-detection": "3.110.0",
36
+ "@aws-sdk/middleware-retry": "3.110.0",
37
+ "@aws-sdk/middleware-serde": "3.110.0",
38
+ "@aws-sdk/middleware-signing": "3.110.0",
39
+ "@aws-sdk/middleware-stack": "3.110.0",
40
+ "@aws-sdk/middleware-user-agent": "3.110.0",
41
+ "@aws-sdk/node-config-provider": "3.110.0",
42
+ "@aws-sdk/node-http-handler": "3.110.0",
43
+ "@aws-sdk/protocol-http": "3.110.0",
44
+ "@aws-sdk/smithy-client": "3.110.0",
45
+ "@aws-sdk/types": "3.110.0",
46
+ "@aws-sdk/url-parser": "3.110.0",
47
47
  "@aws-sdk/util-base64-browser": "3.109.0",
48
48
  "@aws-sdk/util-base64-node": "3.55.0",
49
49
  "@aws-sdk/util-body-length-browser": "3.55.0",
50
50
  "@aws-sdk/util-body-length-node": "3.55.0",
51
- "@aws-sdk/util-defaults-mode-browser": "3.109.0",
52
- "@aws-sdk/util-defaults-mode-node": "3.109.0",
53
- "@aws-sdk/util-user-agent-browser": "3.109.0",
54
- "@aws-sdk/util-user-agent-node": "3.109.0",
51
+ "@aws-sdk/util-defaults-mode-browser": "3.110.0",
52
+ "@aws-sdk/util-defaults-mode-node": "3.110.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.110.0",
54
+ "@aws-sdk/util-user-agent-node": "3.110.0",
55
55
  "@aws-sdk/util-utf8-browser": "3.109.0",
56
56
  "@aws-sdk/util-utf8-node": "3.109.0",
57
57
  "tslib": "^2.3.1"