@aws-sdk/client-lex-runtime-v2 3.118.1 → 3.120.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.120.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.119.0...v3.120.0) (2022-06-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * populate content-type header for all event messages ([#3760](https://github.com/aws/aws-sdk-js-v3/issues/3760)) ([4f3d41e](https://github.com/aws/aws-sdk-js-v3/commit/4f3d41e3d30207033487de947a461cbfe195767e))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
@@ -902,6 +902,7 @@ const serializeAws_restJson1AudioInputEvent_event = (input, context) => {
902
902
  headers: {
903
903
  ":event-type": { type: "string", value: "AudioInputEvent" },
904
904
  ":message-type": { type: "string", value: "event" },
905
+ ":content-type": { type: "string", value: "application/json" },
905
906
  },
906
907
  body: new Uint8Array(),
907
908
  };
@@ -914,6 +915,7 @@ const serializeAws_restJson1ConfigurationEvent_event = (input, context) => {
914
915
  headers: {
915
916
  ":event-type": { type: "string", value: "ConfigurationEvent" },
916
917
  ":message-type": { type: "string", value: "event" },
918
+ ":content-type": { type: "string", value: "application/json" },
917
919
  },
918
920
  body: new Uint8Array(),
919
921
  };
@@ -926,6 +928,7 @@ const serializeAws_restJson1DisconnectionEvent_event = (input, context) => {
926
928
  headers: {
927
929
  ":event-type": { type: "string", value: "DisconnectionEvent" },
928
930
  ":message-type": { type: "string", value: "event" },
931
+ ":content-type": { type: "string", value: "application/json" },
929
932
  },
930
933
  body: new Uint8Array(),
931
934
  };
@@ -938,6 +941,7 @@ const serializeAws_restJson1DTMFInputEvent_event = (input, context) => {
938
941
  headers: {
939
942
  ":event-type": { type: "string", value: "DTMFInputEvent" },
940
943
  ":message-type": { type: "string", value: "event" },
944
+ ":content-type": { type: "string", value: "application/json" },
941
945
  },
942
946
  body: new Uint8Array(),
943
947
  };
@@ -950,6 +954,7 @@ const serializeAws_restJson1PlaybackCompletionEvent_event = (input, context) =>
950
954
  headers: {
951
955
  ":event-type": { type: "string", value: "PlaybackCompletionEvent" },
952
956
  ":message-type": { type: "string", value: "event" },
957
+ ":content-type": { type: "string", value: "application/json" },
953
958
  },
954
959
  body: new Uint8Array(),
955
960
  };
@@ -962,6 +967,7 @@ const serializeAws_restJson1TextInputEvent_event = (input, context) => {
962
967
  headers: {
963
968
  ":event-type": { type: "string", value: "TextInputEvent" },
964
969
  ":message-type": { type: "string", value: "event" },
970
+ ":content-type": { type: "string", value: "application/json" },
965
971
  },
966
972
  body: new Uint8Array(),
967
973
  };
@@ -1065,6 +1065,7 @@ var serializeAws_restJson1AudioInputEvent_event = function (input, context) {
1065
1065
  headers: {
1066
1066
  ":event-type": { type: "string", value: "AudioInputEvent" },
1067
1067
  ":message-type": { type: "string", value: "event" },
1068
+ ":content-type": { type: "string", value: "application/json" },
1068
1069
  },
1069
1070
  body: new Uint8Array(),
1070
1071
  };
@@ -1077,6 +1078,7 @@ var serializeAws_restJson1ConfigurationEvent_event = function (input, context) {
1077
1078
  headers: {
1078
1079
  ":event-type": { type: "string", value: "ConfigurationEvent" },
1079
1080
  ":message-type": { type: "string", value: "event" },
1081
+ ":content-type": { type: "string", value: "application/json" },
1080
1082
  },
1081
1083
  body: new Uint8Array(),
1082
1084
  };
@@ -1089,6 +1091,7 @@ var serializeAws_restJson1DisconnectionEvent_event = function (input, context) {
1089
1091
  headers: {
1090
1092
  ":event-type": { type: "string", value: "DisconnectionEvent" },
1091
1093
  ":message-type": { type: "string", value: "event" },
1094
+ ":content-type": { type: "string", value: "application/json" },
1092
1095
  },
1093
1096
  body: new Uint8Array(),
1094
1097
  };
@@ -1101,6 +1104,7 @@ var serializeAws_restJson1DTMFInputEvent_event = function (input, context) {
1101
1104
  headers: {
1102
1105
  ":event-type": { type: "string", value: "DTMFInputEvent" },
1103
1106
  ":message-type": { type: "string", value: "event" },
1107
+ ":content-type": { type: "string", value: "application/json" },
1104
1108
  },
1105
1109
  body: new Uint8Array(),
1106
1110
  };
@@ -1113,6 +1117,7 @@ var serializeAws_restJson1PlaybackCompletionEvent_event = function (input, conte
1113
1117
  headers: {
1114
1118
  ":event-type": { type: "string", value: "PlaybackCompletionEvent" },
1115
1119
  ":message-type": { type: "string", value: "event" },
1120
+ ":content-type": { type: "string", value: "application/json" },
1116
1121
  },
1117
1122
  body: new Uint8Array(),
1118
1123
  };
@@ -1125,6 +1130,7 @@ var serializeAws_restJson1TextInputEvent_event = function (input, context) {
1125
1130
  headers: {
1126
1131
  ":event-type": { type: "string", value: "TextInputEvent" },
1127
1132
  ":message-type": { type: "string", value: "event" },
1133
+ ":content-type": { type: "string", value: "application/json" },
1128
1134
  },
1129
1135
  body: new Uint8Array(),
1130
1136
  };
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.118.1",
4
+ "version": "3.120.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",
@@ -21,10 +21,10 @@
21
21
  "@aws-sdk/client-sts": "3.118.1",
22
22
  "@aws-sdk/config-resolver": "3.110.0",
23
23
  "@aws-sdk/credential-provider-node": "3.118.1",
24
- "@aws-sdk/eventstream-handler-node": "3.118.1",
25
- "@aws-sdk/eventstream-serde-browser": "3.118.1",
24
+ "@aws-sdk/eventstream-handler-node": "3.120.0",
25
+ "@aws-sdk/eventstream-serde-browser": "3.120.0",
26
26
  "@aws-sdk/eventstream-serde-config-resolver": "3.110.0",
27
- "@aws-sdk/eventstream-serde-node": "3.118.1",
27
+ "@aws-sdk/eventstream-serde-node": "3.120.0",
28
28
  "@aws-sdk/fetch-http-handler": "3.110.0",
29
29
  "@aws-sdk/hash-node": "3.110.0",
30
30
  "@aws-sdk/invalid-dependency": "3.110.0",