@aws-sdk/client-transcribe-streaming 3.123.0 → 3.127.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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.123.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.122.0...v3.123.0) (2022-07-05)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
@@ -584,8 +584,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
584
584
  };
585
585
  const serializeAws_restJson1AudioEvent = (input, context) => {
586
586
  return {
587
- ...(input.AudioChunk !== undefined &&
588
- input.AudioChunk !== null && { AudioChunk: context.base64Encoder(input.AudioChunk) }),
587
+ ...(input.AudioChunk != null && { AudioChunk: context.base64Encoder(input.AudioChunk) }),
589
588
  };
590
589
  };
591
590
  const serializeAws_restJson1AudioStream = (input, context) => {
@@ -596,12 +595,8 @@ const serializeAws_restJson1AudioStream = (input, context) => {
596
595
  };
597
596
  const deserializeAws_restJson1Alternative = (output, context) => {
598
597
  return {
599
- Entities: output.Entities !== undefined && output.Entities !== null
600
- ? deserializeAws_restJson1EntityList(output.Entities, context)
601
- : undefined,
602
- Items: output.Items !== undefined && output.Items !== null
603
- ? deserializeAws_restJson1ItemList(output.Items, context)
604
- : undefined,
598
+ Entities: output.Entities != null ? deserializeAws_restJson1EntityList(output.Entities, context) : undefined,
599
+ Items: output.Items != null ? deserializeAws_restJson1ItemList(output.Items, context) : undefined,
605
600
  Transcript: (0, smithy_client_1.expectString)(output.Transcript),
606
601
  };
607
602
  };
@@ -699,12 +694,8 @@ const deserializeAws_restJson1LimitExceededException = (output, context) => {
699
694
  };
700
695
  const deserializeAws_restJson1MedicalAlternative = (output, context) => {
701
696
  return {
702
- Entities: output.Entities !== undefined && output.Entities !== null
703
- ? deserializeAws_restJson1MedicalEntityList(output.Entities, context)
704
- : undefined,
705
- Items: output.Items !== undefined && output.Items !== null
706
- ? deserializeAws_restJson1MedicalItemList(output.Items, context)
707
- : undefined,
697
+ Entities: output.Entities != null ? deserializeAws_restJson1MedicalEntityList(output.Entities, context) : undefined,
698
+ Items: output.Items != null ? deserializeAws_restJson1MedicalItemList(output.Items, context) : undefined,
708
699
  Transcript: (0, smithy_client_1.expectString)(output.Transcript),
709
700
  };
710
701
  };
@@ -762,7 +753,7 @@ const deserializeAws_restJson1MedicalItemList = (output, context) => {
762
753
  };
763
754
  const deserializeAws_restJson1MedicalResult = (output, context) => {
764
755
  return {
765
- Alternatives: output.Alternatives !== undefined && output.Alternatives !== null
756
+ Alternatives: output.Alternatives != null
766
757
  ? deserializeAws_restJson1MedicalAlternativeList(output.Alternatives, context)
767
758
  : undefined,
768
759
  ChannelId: (0, smithy_client_1.expectString)(output.ChannelId),
@@ -785,16 +776,12 @@ const deserializeAws_restJson1MedicalResultList = (output, context) => {
785
776
  };
786
777
  const deserializeAws_restJson1MedicalTranscript = (output, context) => {
787
778
  return {
788
- Results: output.Results !== undefined && output.Results !== null
789
- ? deserializeAws_restJson1MedicalResultList(output.Results, context)
790
- : undefined,
779
+ Results: output.Results != null ? deserializeAws_restJson1MedicalResultList(output.Results, context) : undefined,
791
780
  };
792
781
  };
793
782
  const deserializeAws_restJson1MedicalTranscriptEvent = (output, context) => {
794
783
  return {
795
- Transcript: output.Transcript !== undefined && output.Transcript !== null
796
- ? deserializeAws_restJson1MedicalTranscript(output.Transcript, context)
797
- : undefined,
784
+ Transcript: output.Transcript != null ? deserializeAws_restJson1MedicalTranscript(output.Transcript, context) : undefined,
798
785
  };
799
786
  };
800
787
  const deserializeAws_restJson1MedicalTranscriptResultStream = (output, context) => {
@@ -832,14 +819,12 @@ const deserializeAws_restJson1MedicalTranscriptResultStream = (output, context)
832
819
  };
833
820
  const deserializeAws_restJson1Result = (output, context) => {
834
821
  return {
835
- Alternatives: output.Alternatives !== undefined && output.Alternatives !== null
836
- ? deserializeAws_restJson1AlternativeList(output.Alternatives, context)
837
- : undefined,
822
+ Alternatives: output.Alternatives != null ? deserializeAws_restJson1AlternativeList(output.Alternatives, context) : undefined,
838
823
  ChannelId: (0, smithy_client_1.expectString)(output.ChannelId),
839
824
  EndTime: (0, smithy_client_1.limitedParseDouble)(output.EndTime),
840
825
  IsPartial: (0, smithy_client_1.expectBoolean)(output.IsPartial),
841
826
  LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
842
- LanguageIdentification: output.LanguageIdentification !== undefined && output.LanguageIdentification !== null
827
+ LanguageIdentification: output.LanguageIdentification != null
843
828
  ? deserializeAws_restJson1LanguageIdentification(output.LanguageIdentification, context)
844
829
  : undefined,
845
830
  ResultId: (0, smithy_client_1.expectString)(output.ResultId),
@@ -864,16 +849,12 @@ const deserializeAws_restJson1ServiceUnavailableException = (output, context) =>
864
849
  };
865
850
  const deserializeAws_restJson1Transcript = (output, context) => {
866
851
  return {
867
- Results: output.Results !== undefined && output.Results !== null
868
- ? deserializeAws_restJson1ResultList(output.Results, context)
869
- : undefined,
852
+ Results: output.Results != null ? deserializeAws_restJson1ResultList(output.Results, context) : undefined,
870
853
  };
871
854
  };
872
855
  const deserializeAws_restJson1TranscriptEvent = (output, context) => {
873
856
  return {
874
- Transcript: output.Transcript !== undefined && output.Transcript !== null
875
- ? deserializeAws_restJson1Transcript(output.Transcript, context)
876
- : undefined,
857
+ Transcript: output.Transcript != null ? deserializeAws_restJson1Transcript(output.Transcript, context) : undefined,
877
858
  };
878
859
  };
879
860
  const deserializeAws_restJson1TranscriptResultStream = (output, context) => {
@@ -681,8 +681,7 @@ var deserializeAws_restJson1ServiceUnavailableExceptionResponse = function (pars
681
681
  });
682
682
  }); };
683
683
  var serializeAws_restJson1AudioEvent = function (input, context) {
684
- return __assign({}, (input.AudioChunk !== undefined &&
685
- input.AudioChunk !== null && { AudioChunk: context.base64Encoder(input.AudioChunk) }));
684
+ return __assign({}, (input.AudioChunk != null && { AudioChunk: context.base64Encoder(input.AudioChunk) }));
686
685
  };
687
686
  var serializeAws_restJson1AudioStream = function (input, context) {
688
687
  return AudioStream.visit(input, {
@@ -692,12 +691,8 @@ var serializeAws_restJson1AudioStream = function (input, context) {
692
691
  };
693
692
  var deserializeAws_restJson1Alternative = function (output, context) {
694
693
  return {
695
- Entities: output.Entities !== undefined && output.Entities !== null
696
- ? deserializeAws_restJson1EntityList(output.Entities, context)
697
- : undefined,
698
- Items: output.Items !== undefined && output.Items !== null
699
- ? deserializeAws_restJson1ItemList(output.Items, context)
700
- : undefined,
694
+ Entities: output.Entities != null ? deserializeAws_restJson1EntityList(output.Entities, context) : undefined,
695
+ Items: output.Items != null ? deserializeAws_restJson1ItemList(output.Items, context) : undefined,
701
696
  Transcript: __expectString(output.Transcript),
702
697
  };
703
698
  };
@@ -795,12 +790,8 @@ var deserializeAws_restJson1LimitExceededException = function (output, context)
795
790
  };
796
791
  var deserializeAws_restJson1MedicalAlternative = function (output, context) {
797
792
  return {
798
- Entities: output.Entities !== undefined && output.Entities !== null
799
- ? deserializeAws_restJson1MedicalEntityList(output.Entities, context)
800
- : undefined,
801
- Items: output.Items !== undefined && output.Items !== null
802
- ? deserializeAws_restJson1MedicalItemList(output.Items, context)
803
- : undefined,
793
+ Entities: output.Entities != null ? deserializeAws_restJson1MedicalEntityList(output.Entities, context) : undefined,
794
+ Items: output.Items != null ? deserializeAws_restJson1MedicalItemList(output.Items, context) : undefined,
804
795
  Transcript: __expectString(output.Transcript),
805
796
  };
806
797
  };
@@ -858,7 +849,7 @@ var deserializeAws_restJson1MedicalItemList = function (output, context) {
858
849
  };
859
850
  var deserializeAws_restJson1MedicalResult = function (output, context) {
860
851
  return {
861
- Alternatives: output.Alternatives !== undefined && output.Alternatives !== null
852
+ Alternatives: output.Alternatives != null
862
853
  ? deserializeAws_restJson1MedicalAlternativeList(output.Alternatives, context)
863
854
  : undefined,
864
855
  ChannelId: __expectString(output.ChannelId),
@@ -881,16 +872,12 @@ var deserializeAws_restJson1MedicalResultList = function (output, context) {
881
872
  };
882
873
  var deserializeAws_restJson1MedicalTranscript = function (output, context) {
883
874
  return {
884
- Results: output.Results !== undefined && output.Results !== null
885
- ? deserializeAws_restJson1MedicalResultList(output.Results, context)
886
- : undefined,
875
+ Results: output.Results != null ? deserializeAws_restJson1MedicalResultList(output.Results, context) : undefined,
887
876
  };
888
877
  };
889
878
  var deserializeAws_restJson1MedicalTranscriptEvent = function (output, context) {
890
879
  return {
891
- Transcript: output.Transcript !== undefined && output.Transcript !== null
892
- ? deserializeAws_restJson1MedicalTranscript(output.Transcript, context)
893
- : undefined,
880
+ Transcript: output.Transcript != null ? deserializeAws_restJson1MedicalTranscript(output.Transcript, context) : undefined,
894
881
  };
895
882
  };
896
883
  var deserializeAws_restJson1MedicalTranscriptResultStream = function (output, context) {
@@ -928,14 +915,12 @@ var deserializeAws_restJson1MedicalTranscriptResultStream = function (output, co
928
915
  };
929
916
  var deserializeAws_restJson1Result = function (output, context) {
930
917
  return {
931
- Alternatives: output.Alternatives !== undefined && output.Alternatives !== null
932
- ? deserializeAws_restJson1AlternativeList(output.Alternatives, context)
933
- : undefined,
918
+ Alternatives: output.Alternatives != null ? deserializeAws_restJson1AlternativeList(output.Alternatives, context) : undefined,
934
919
  ChannelId: __expectString(output.ChannelId),
935
920
  EndTime: __limitedParseDouble(output.EndTime),
936
921
  IsPartial: __expectBoolean(output.IsPartial),
937
922
  LanguageCode: __expectString(output.LanguageCode),
938
- LanguageIdentification: output.LanguageIdentification !== undefined && output.LanguageIdentification !== null
923
+ LanguageIdentification: output.LanguageIdentification != null
939
924
  ? deserializeAws_restJson1LanguageIdentification(output.LanguageIdentification, context)
940
925
  : undefined,
941
926
  ResultId: __expectString(output.ResultId),
@@ -960,16 +945,12 @@ var deserializeAws_restJson1ServiceUnavailableException = function (output, cont
960
945
  };
961
946
  var deserializeAws_restJson1Transcript = function (output, context) {
962
947
  return {
963
- Results: output.Results !== undefined && output.Results !== null
964
- ? deserializeAws_restJson1ResultList(output.Results, context)
965
- : undefined,
948
+ Results: output.Results != null ? deserializeAws_restJson1ResultList(output.Results, context) : undefined,
966
949
  };
967
950
  };
968
951
  var deserializeAws_restJson1TranscriptEvent = function (output, context) {
969
952
  return {
970
- Transcript: output.Transcript !== undefined && output.Transcript !== null
971
- ? deserializeAws_restJson1Transcript(output.Transcript, context)
972
- : undefined,
953
+ Transcript: output.Transcript != null ? deserializeAws_restJson1Transcript(output.Transcript, context) : undefined,
973
954
  };
974
955
  };
975
956
  var deserializeAws_restJson1TranscriptResultStream = function (output, context) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transcribe-streaming",
3
3
  "description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
4
- "version": "3.123.0",
4
+ "version": "3.127.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,41 +19,41 @@
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.121.0",
23
- "@aws-sdk/config-resolver": "3.110.0",
24
- "@aws-sdk/credential-provider-node": "3.121.0",
25
- "@aws-sdk/eventstream-handler-node": "3.123.0",
26
- "@aws-sdk/eventstream-serde-browser": "3.120.0",
27
- "@aws-sdk/eventstream-serde-config-resolver": "3.110.0",
28
- "@aws-sdk/eventstream-serde-node": "3.120.0",
29
- "@aws-sdk/fetch-http-handler": "3.110.0",
30
- "@aws-sdk/hash-node": "3.110.0",
31
- "@aws-sdk/invalid-dependency": "3.110.0",
32
- "@aws-sdk/middleware-content-length": "3.110.0",
33
- "@aws-sdk/middleware-eventstream": "3.110.0",
34
- "@aws-sdk/middleware-host-header": "3.110.0",
35
- "@aws-sdk/middleware-logger": "3.110.0",
36
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
37
- "@aws-sdk/middleware-retry": "3.118.1",
38
- "@aws-sdk/middleware-sdk-transcribe-streaming": "3.120.0",
39
- "@aws-sdk/middleware-serde": "3.110.0",
40
- "@aws-sdk/middleware-signing": "3.110.0",
41
- "@aws-sdk/middleware-stack": "3.110.0",
42
- "@aws-sdk/middleware-user-agent": "3.110.0",
43
- "@aws-sdk/node-config-provider": "3.110.0",
44
- "@aws-sdk/node-http-handler": "3.118.1",
45
- "@aws-sdk/protocol-http": "3.110.0",
46
- "@aws-sdk/smithy-client": "3.110.0",
47
- "@aws-sdk/types": "3.110.0",
48
- "@aws-sdk/url-parser": "3.110.0",
22
+ "@aws-sdk/client-sts": "3.127.0",
23
+ "@aws-sdk/config-resolver": "3.127.0",
24
+ "@aws-sdk/credential-provider-node": "3.127.0",
25
+ "@aws-sdk/eventstream-handler-node": "3.127.0",
26
+ "@aws-sdk/eventstream-serde-browser": "3.127.0",
27
+ "@aws-sdk/eventstream-serde-config-resolver": "3.127.0",
28
+ "@aws-sdk/eventstream-serde-node": "3.127.0",
29
+ "@aws-sdk/fetch-http-handler": "3.127.0",
30
+ "@aws-sdk/hash-node": "3.127.0",
31
+ "@aws-sdk/invalid-dependency": "3.127.0",
32
+ "@aws-sdk/middleware-content-length": "3.127.0",
33
+ "@aws-sdk/middleware-eventstream": "3.127.0",
34
+ "@aws-sdk/middleware-host-header": "3.127.0",
35
+ "@aws-sdk/middleware-logger": "3.127.0",
36
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
37
+ "@aws-sdk/middleware-retry": "3.127.0",
38
+ "@aws-sdk/middleware-sdk-transcribe-streaming": "3.127.0",
39
+ "@aws-sdk/middleware-serde": "3.127.0",
40
+ "@aws-sdk/middleware-signing": "3.127.0",
41
+ "@aws-sdk/middleware-stack": "3.127.0",
42
+ "@aws-sdk/middleware-user-agent": "3.127.0",
43
+ "@aws-sdk/node-config-provider": "3.127.0",
44
+ "@aws-sdk/node-http-handler": "3.127.0",
45
+ "@aws-sdk/protocol-http": "3.127.0",
46
+ "@aws-sdk/smithy-client": "3.127.0",
47
+ "@aws-sdk/types": "3.127.0",
48
+ "@aws-sdk/url-parser": "3.127.0",
49
49
  "@aws-sdk/util-base64-browser": "3.109.0",
50
50
  "@aws-sdk/util-base64-node": "3.55.0",
51
51
  "@aws-sdk/util-body-length-browser": "3.55.0",
52
52
  "@aws-sdk/util-body-length-node": "3.55.0",
53
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
54
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
55
- "@aws-sdk/util-user-agent-browser": "3.110.0",
56
- "@aws-sdk/util-user-agent-node": "3.118.0",
53
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
54
+ "@aws-sdk/util-defaults-mode-node": "3.127.0",
55
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
56
+ "@aws-sdk/util-user-agent-node": "3.127.0",
57
57
  "@aws-sdk/util-utf8-browser": "3.109.0",
58
58
  "@aws-sdk/util-utf8-node": "3.109.0",
59
59
  "tslib": "^2.3.1"