@code-yeongyu/senpi 2026.8.20-2 → 2026.8.20

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.
Files changed (505) hide show
  1. package/CHANGELOG.md +0 -16
  2. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +13 -38
  3. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +12 -34
  5. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseCommand.d.ts +0 -29
  6. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseStreamCommand.d.ts +0 -15
  7. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/CountTokensCommand.d.ts +0 -14
  8. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/index.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/models/models_0.d.ts +1 -119
  10. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.browser.d.ts +46 -46
  11. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.d.ts +36 -36
  12. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.native.d.ts +48 -48
  13. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.shared.d.ts +2 -2
  14. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/schemas/schemas_0.d.ts +0 -3
  15. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/index.d.ts +1 -1
  16. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/models/models_0.d.ts +0 -76
  17. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.browser.d.ts +72 -70
  18. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.d.ts +68 -68
  19. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -86
  20. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  21. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -3
  22. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +14 -14
  23. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +426 -1343
  24. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +5 -8
  25. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
  26. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +3 -3
  27. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v1/JsonCodec.js → JsonCodec.js} +1 -1
  28. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v1/JsonShapeDeserializer.js → JsonShapeDeserializer.js} +6 -6
  29. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v1/JsonShapeSerializer.js → JsonShapeSerializer.js} +5 -8
  30. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v2/JsonShapeDeserializer2.js → experimental/BufferJsonShapeDeserializer.js} +18 -38
  31. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v2/JsonShapeSerializer2.js → experimental/ByteJsonShapeSerializer.js} +71 -107
  32. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +9 -93
  33. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  34. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
  35. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
  36. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
  37. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +6 -9
  38. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -3
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -3
  40. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -4
  41. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -5
  42. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v1/JsonCodec.d.ts → JsonCodec.d.ts} +8 -4
  43. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v1/JsonShapeDeserializer.d.ts → JsonShapeDeserializer.d.ts} +2 -3
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v1/JsonShapeSerializer.d.ts → JsonShapeSerializer.d.ts} +2 -3
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v2/JsonShapeDeserializer2.d.ts → experimental/BufferJsonShapeDeserializer.d.ts} +3 -4
  46. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v2/JsonShapeSerializer2.d.ts → experimental/ByteJsonShapeSerializer.d.ts} +16 -19
  47. package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +7 -4
  48. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +21 -61
  49. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +27 -13
  50. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +16 -4
  51. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -5
  52. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +5 -16
  53. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +11 -4
  54. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +47 -107
  55. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +39 -112
  56. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +48 -107
  57. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +14 -13
  58. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +35 -25
  59. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +4 -14
  60. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +6 -2
  61. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +5 -2
  62. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +5 -2
  63. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +6 -2
  64. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +10 -2
  65. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +6 -2
  66. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +20 -16
  67. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +44 -21
  68. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/constants.d.ts +7 -7
  69. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/encode-features.d.ts +5 -2
  70. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +18 -18
  71. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/awsRegionConfig.d.ts +11 -8
  72. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +16 -14
  73. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.browser.d.ts +4 -1
  74. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +14 -7
  75. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.native.d.ts +4 -1
  76. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +7 -6
  77. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +12 -6
  78. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +7 -6
  79. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/aws.d.ts +2 -2
  80. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -4
  81. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/parseArn.d.ts +7 -2
  82. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +38 -28
  83. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +638 -647
  84. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/isIpAddress.d.ts +1 -1
  85. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -29
  86. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveEndpoint.d.ts +1 -1
  87. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointError.d.ts +1 -1
  88. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -6
  89. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
  90. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
  91. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
  92. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/shared.d.ts +1 -12
  93. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/configurations.d.ts +7 -4
  94. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +14 -7
  95. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +2 -7
  96. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +27 -15
  97. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +18 -10
  98. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/crt-availability.d.ts +8 -3
  99. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +28 -14
  100. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getRuntimeUserAgentPair.d.ts +6 -2
  101. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/is-crt-available.d.ts +5 -2
  102. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +13 -4
  103. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -9
  104. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +44 -39
  105. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -2
  106. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -1
  107. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -1
  108. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -4
  109. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -23
  110. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -13
  111. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +133 -57
  112. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +11 -32
  113. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +9 -32
  114. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -1
  115. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts +6 -1
  116. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +8 -2
  117. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -1
  118. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +26 -6
  119. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +4 -4
  120. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -1
  121. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -5
  122. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +74 -40
  123. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -9
  124. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +25 -36
  125. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +18 -3
  126. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -5
  127. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +22 -30
  128. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +22 -22
  129. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +22 -22
  130. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +29 -50
  131. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +36 -52
  132. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +19 -0
  133. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
  134. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +28 -0
  135. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +7 -1
  136. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
  137. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.d.ts +29 -0
  138. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +57 -0
  139. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -7
  140. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -7
  141. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -2
  142. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +22 -14
  143. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +27 -18
  144. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +49 -57
  145. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +13 -7
  146. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -21
  147. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -1
  148. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +31 -47
  149. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +14 -17
  150. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -15
  151. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -21
  152. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -4
  153. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +6 -1
  154. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +3 -3
  155. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-arn-parser/arn.d.ts +32 -14
  156. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +2 -4
  157. package/node_modules/@aws-sdk/core/package.json +6 -6
  158. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  159. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  160. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/README.md +9 -0
  161. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +840 -0
  162. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  163. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  164. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
  165. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +50 -0
  166. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  167. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +241 -0
  168. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +136 -0
  169. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
  170. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +173 -0
  171. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  172. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  173. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  174. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  175. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  176. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +23 -0
  177. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  178. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
  179. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  180. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  181. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  182. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
  183. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  184. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
  185. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
  186. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
  187. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
  188. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  189. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  190. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  191. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  192. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
  193. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  194. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
  195. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  196. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  197. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  198. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
  199. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  200. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
  201. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
  202. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
  203. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
  204. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
  205. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
  206. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
  207. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  208. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
  209. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
  210. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
  211. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  212. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
  213. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +64 -0
  214. package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
  215. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  216. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +28 -35
  217. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +28 -35
  218. package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +0 -1
  219. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +0 -1
  220. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  221. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  222. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  223. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +6 -6
  224. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  225. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  226. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -4
  227. package/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
  228. package/node_modules/@aws-sdk/middleware-websocket/package.json +7 -7
  229. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  230. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  231. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  232. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +66 -64
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +70 -68
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +69 -67
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +73 -71
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +66 -64
  263. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +70 -68
  265. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +66 -64
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
  268. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +70 -68
  269. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
  270. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +70 -68
  271. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
  272. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +74 -72
  273. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
  274. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  275. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +9 -0
  276. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +840 -0
  277. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  278. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  279. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
  280. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +50 -0
  281. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  282. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +241 -0
  283. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +136 -0
  284. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
  285. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +173 -0
  286. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  287. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  288. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  289. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  290. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  291. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +23 -0
  292. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  293. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
  294. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  295. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  296. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  297. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
  298. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  299. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
  300. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
  301. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
  302. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
  303. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  304. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  305. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  306. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  307. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
  308. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  309. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
  310. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  311. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  312. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  313. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
  314. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  315. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
  316. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
  317. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
  318. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
  319. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
  320. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
  321. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
  322. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  323. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
  324. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
  325. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
  326. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  327. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
  328. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +64 -0
  329. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  330. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  331. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  332. package/node_modules/@aws-sdk/types/package.json +2 -2
  333. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  334. package/node_modules/@bufbuild/protobuf/README.md +15 -12
  335. package/node_modules/@bufbuild/protobuf/dist/commonjs/create.js +162 -199
  336. package/node_modules/@bufbuild/protobuf/dist/commonjs/from-binary.js +153 -321
  337. package/node_modules/@bufbuild/protobuf/dist/commonjs/from-json.js +303 -601
  338. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-check.d.ts +1 -27
  339. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-check.js +56 -80
  340. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect.js +80 -3
  341. package/node_modules/@bufbuild/protobuf/dist/commonjs/registry.js +3 -12
  342. package/node_modules/@bufbuild/protobuf/dist/commonjs/to-binary.d.ts +0 -4
  343. package/node_modules/@bufbuild/protobuf/dist/commonjs/to-binary.js +127 -365
  344. package/node_modules/@bufbuild/protobuf/dist/commonjs/to-json.js +159 -393
  345. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/base64-encoding.d.ts +1 -3
  346. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/base64-encoding.js +8 -40
  347. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/binary-encoding.d.ts +19 -37
  348. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/binary-encoding.js +85 -281
  349. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/index.d.ts +1 -1
  350. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/index.js +1 -4
  351. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-encoding.d.ts +2 -19
  352. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-encoding.js +13 -47
  353. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/varint.d.ts +4 -4
  354. package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/varint.js +23 -35
  355. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/wrappers.js +12 -12
  356. package/node_modules/@bufbuild/protobuf/dist/esm/create.js +162 -199
  357. package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +153 -321
  358. package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +304 -602
  359. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.d.ts +1 -27
  360. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +57 -79
  361. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +78 -1
  362. package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +3 -12
  363. package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts +0 -4
  364. package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +127 -365
  365. package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +159 -393
  366. package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.d.ts +1 -3
  367. package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +8 -40
  368. package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts +19 -37
  369. package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +87 -283
  370. package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.d.ts +1 -1
  371. package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +1 -1
  372. package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts +2 -19
  373. package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +13 -46
  374. package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.d.ts +4 -4
  375. package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +23 -35
  376. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +12 -12
  377. package/node_modules/@bufbuild/protobuf/package.json +2 -2
  378. package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +0 -12
  379. package/node_modules/@code-yeongyu/senpi-codemode/package.json +4 -4
  380. package/node_modules/@earendil-works/pi-agent-core/package.json +6 -6
  381. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  382. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  383. package/node_modules/@earendil-works/pi-ai/package.json +8 -8
  384. package/node_modules/@earendil-works/pi-pty/package.json +2 -2
  385. package/node_modules/@earendil-works/pi-telemetry/package.json +2 -2
  386. package/node_modules/@earendil-works/pi-tui/package.json +1 -1
  387. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +337 -1560
  388. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +23 -23
  389. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +23 -23
  390. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +13 -17
  391. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +10 -0
  392. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +205 -4
  393. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +2 -1
  394. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +1 -1
  395. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +1 -5
  396. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +4 -4
  397. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +19 -19
  398. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +4 -3
  399. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +4 -6
  400. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +5 -8
  401. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +2 -0
  402. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +2 -0
  403. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +2 -0
  404. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +2 -0
  405. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +2 -0
  406. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +27 -5
  407. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
  408. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +1 -5
  409. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +7 -1
  410. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +1 -2
  411. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  412. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  413. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  414. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  415. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  416. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  417. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +2 -14
  418. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +2 -7
  419. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  420. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  421. package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
  422. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +27 -5
  423. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
  424. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +1 -5
  425. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +7 -1
  426. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +1 -2
  427. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  428. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  429. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  430. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  431. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  432. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  433. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +2 -14
  434. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +2 -7
  435. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  436. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  437. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
  438. package/node_modules/@smithy/core/package.json +11 -4
  439. package/node_modules/@smithy/credential-provider-imds/package.json +12 -4
  440. package/node_modules/@smithy/fetch-http-handler/package.json +13 -5
  441. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -9
  442. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -9
  443. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  444. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  445. package/node_modules/@smithy/node-http-handler/package.json +13 -5
  446. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +9 -9
  447. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +9 -9
  448. package/node_modules/@smithy/signature-v4/package.json +12 -4
  449. package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
  450. package/node_modules/@smithy/types/package.json +39 -29
  451. package/node_modules/@types/node/README.md +1 -1
  452. package/node_modules/@types/node/child_process.d.ts +1 -0
  453. package/node_modules/@types/node/crypto.d.ts +7 -7
  454. package/node_modules/@types/node/dns/promises.d.ts +5 -5
  455. package/node_modules/@types/node/dns.d.ts +5 -5
  456. package/node_modules/@types/node/fs.d.ts +0 -7
  457. package/node_modules/@types/node/http.d.ts +0 -30
  458. package/node_modules/@types/node/http2.d.ts +4 -4
  459. package/node_modules/@types/node/os.d.ts +30 -30
  460. package/node_modules/@types/node/package.json +2 -2
  461. package/node_modules/@types/node/perf_hooks.d.ts +1 -2
  462. package/node_modules/@types/node/process.d.ts +43 -42
  463. package/node_modules/@types/node/quic.d.ts +84 -1049
  464. package/node_modules/@types/node/sqlite.d.ts +1 -14
  465. package/node_modules/@types/node/stream/iter.d.ts +2 -3
  466. package/node_modules/@types/node/test.d.ts +0 -61
  467. package/node_modules/@types/node/v8.d.ts +23 -20
  468. package/package.json +36 -36
  469. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -1
  470. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -1
  471. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -103
  472. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -20
  473. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +0 -7
  474. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
  475. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -51
  476. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -13
  477. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +0 -4
  478. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -11
  479. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
  480. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
  481. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
  482. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
  483. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -9
  484. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
  485. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
  486. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/message.d.ts +0 -49
  487. package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/message.js +0 -157
  488. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/json.d.ts +0 -28
  489. package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/json.js +0 -44
  490. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/message.d.ts +0 -49
  491. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/message.js +0 -152
  492. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/json.d.ts +0 -28
  493. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/json.js +0 -41
  494. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +0 -113
  495. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +0 -103
  496. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +0 -621
  497. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +0 -602
  498. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +0 -13
  499. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +0 -15
  500. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +0 -18
  501. package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +0 -35
  502. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +0 -13
  503. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +0 -15
  504. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +0 -18
  505. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +0 -35
@@ -1,14 +1,13 @@
1
1
  export { AwsSmithyRpcV2CborProtocol } from "./cbor/AwsSmithyRpcV2CborProtocol";
2
+ export { _toStr, _toBool, _toNum } from "./coercing-serializers";
2
3
  export { AwsJson1_0Protocol } from "./json/AwsJson1_0Protocol";
3
4
  export { AwsJson1_1Protocol } from "./json/AwsJson1_1Protocol";
4
5
  export { AwsJsonRpcProtocol } from "./json/AwsJsonRpcProtocol";
5
6
  export { AwsRestJsonProtocol } from "./json/AwsRestJsonProtocol";
6
- export { JsonCodec } from "./json/codec-v1/JsonCodec";
7
- export { JsonShapeDeserializer } from "./json/codec-v1/JsonShapeDeserializer";
8
- export { JsonShapeSerializer } from "./json/codec-v1/JsonShapeSerializer";
9
- export { JsonCodec2 } from "./json/codec-v2/JsonCodec2";
10
- export { JsonShapeDeserializer2 } from "./json/codec-v2/JsonShapeDeserializer2";
11
- export { JsonShapeSerializer2 } from "./json/codec-v2/JsonShapeSerializer2";
7
+ export { JsonCodec } from "./json/JsonCodec";
8
+ export { JsonShapeDeserializer } from "./json/JsonShapeDeserializer";
9
+ export { JsonShapeSerializer } from "./json/JsonShapeSerializer";
10
+ export { awsExpectUnion } from "./json/awsExpectUnion";
12
11
  export { parseJsonBody, parseJsonErrorBody, loadRestJsonErrorCode, loadJsonRpcErrorCode } from "./json/parseJsonBody";
13
12
  export { AwsEc2QueryProtocol } from "./query/AwsEc2QueryProtocol";
14
13
  export { AwsQueryProtocol } from "./query/AwsQueryProtocol";
@@ -18,5 +17,3 @@ export { XmlCodec } from "./xml/XmlCodec";
18
17
  export { XmlShapeDeserializer } from "./xml/XmlShapeDeserializer";
19
18
  export { XmlShapeSerializer } from "./xml/XmlShapeSerializer";
20
19
  export { parseXmlBody, parseXmlErrorBody, loadRestXmlErrorCode } from "./xml/parseXmlBody";
21
- export { awsExpectUnion } from "./json/awsExpectUnion";
22
- export { _toStr, _toBool, _toNum } from "./coercing-serializers";
@@ -1,7 +1,7 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
2
  import { deref, NormalizedSchema } from "@smithy/core/schema";
3
3
  import { ProtocolLib } from "../ProtocolLib";
4
- import { JsonCodec2 } from "./codec-v2/JsonCodec2";
4
+ import { JsonCodec } from "./JsonCodec";
5
5
  import { loadJsonRpcErrorCode } from "./parseJsonBody";
6
6
  export class AwsJsonRpcProtocol extends RpcProtocol {
7
7
  serializer;
@@ -18,7 +18,7 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
18
18
  this.serviceTarget = serviceTarget;
19
19
  this.codec =
20
20
  jsonCodec ??
21
- new JsonCodec2({
21
+ new JsonCodec({
22
22
  timestampFormat: {
23
23
  useTrait: true,
24
24
  default: 7,
@@ -1,14 +1,14 @@
1
1
  import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from "@smithy/core/protocols";
2
2
  import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { ProtocolLib } from "../ProtocolLib";
4
- import { JsonCodec2 } from "./codec-v2/JsonCodec2";
4
+ import { JsonCodec } from "./JsonCodec";
5
5
  import { loadRestJsonErrorCode } from "./parseJsonBody";
6
6
  export class AwsRestJsonProtocol extends HttpBindingProtocol {
7
7
  serializer;
8
8
  deserializer;
9
9
  codec;
10
10
  mixin = new ProtocolLib();
11
- constructor({ defaultNamespace, errorTypeRegistries, jsonCodec, }) {
11
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
12
12
  super({
13
13
  defaultNamespace,
14
14
  errorTypeRegistries,
@@ -21,7 +21,7 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
21
21
  httpBindings: true,
22
22
  jsonName: true,
23
23
  };
24
- this.codec = jsonCodec ?? new JsonCodec2(settings);
24
+ this.codec = new JsonCodec(settings);
25
25
  this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
26
26
  this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
27
27
  }
@@ -1,4 +1,4 @@
1
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
1
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
2
2
  import { JsonShapeDeserializer } from "./JsonShapeDeserializer";
3
3
  import { JsonShapeSerializer } from "./JsonShapeSerializer";
4
4
  export class JsonCodec extends SerdeContextConfig {
@@ -2,12 +2,12 @@ import { determineTimestampFormat } from "@smithy/core/protocols";
2
2
  import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from "@smithy/core/serde";
4
4
  import { fromBase64 } from "@smithy/core/serde";
5
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
6
- import { UnionSerde } from "../../UnionSerde";
7
- import { jsonReviver } from "../jsonReviver";
8
- import { needsReviver } from "../needsReviver";
9
- import { parseJsonBody } from "../parseJsonBody";
10
- import { writeKey } from "../../writeKey";
5
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
6
+ import { UnionSerde } from "../UnionSerde";
7
+ import { jsonReviver } from "./jsonReviver";
8
+ import { needsReviver } from "./needsReviver";
9
+ import { parseJsonBody } from "./parseJsonBody";
10
+ import { writeKey } from "../writeKey";
11
11
  export class JsonShapeDeserializer extends SerdeContextConfig {
12
12
  settings;
13
13
  constructor(settings) {
@@ -1,9 +1,9 @@
1
1
  import { determineTimestampFormat } from "@smithy/core/protocols";
2
2
  import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue, toBase64 } from "@smithy/core/serde";
4
- import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
5
- import { JsonReplacer } from "../jsonReplacer";
6
- import { writeKey } from "../../writeKey";
4
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
5
+ import { JsonReplacer } from "./jsonReplacer";
6
+ import { writeKey } from "../writeKey";
7
7
  export class JsonShapeSerializer extends SerdeContextConfig {
8
8
  settings;
9
9
  buffer;
@@ -108,7 +108,7 @@ export class JsonShapeSerializer extends SerdeContextConfig {
108
108
  }
109
109
  return out;
110
110
  }
111
- if (value instanceof Uint8Array && ns.isBlobSchema()) {
111
+ if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) {
112
112
  if (ns === this.rootSchema) {
113
113
  return value;
114
114
  }
@@ -148,7 +148,7 @@ export class JsonShapeSerializer extends SerdeContextConfig {
148
148
  }
149
149
  return value;
150
150
  }
151
- if (typeof value === "number") {
151
+ if (typeof value === "number" && ns.isNumericSchema()) {
152
152
  if (Math.abs(value) === Infinity || isNaN(value)) {
153
153
  return String(value);
154
154
  }
@@ -165,9 +165,6 @@ export class JsonShapeSerializer extends SerdeContextConfig {
165
165
  }
166
166
  if (ns.isDocumentSchema()) {
167
167
  if (isObject) {
168
- if (value instanceof Uint8Array) {
169
- return (this.serdeContext?.base64Encoder ?? toBase64)(value);
170
- }
171
168
  const out = Array.isArray(value) ? [] : {};
172
169
  for (const k in value) {
173
170
  const v = value[k];
@@ -1,6 +1,7 @@
1
1
  import { determineTimestampFormat } from "@smithy/core/protocols";
2
2
  import { NormalizedSchema } from "@smithy/core/schema";
3
- import { fromBase64, LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from "@smithy/core/serde";
3
+ import { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from "@smithy/core/serde";
4
+ import { fromBase64 } from "@smithy/core/serde";
4
5
  import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
5
6
  import { UnionSerde } from "../../UnionSerde";
6
7
  import { detectBufferParsing } from "../detectBufferParsing";
@@ -8,7 +9,7 @@ import { jsonReviver } from "../jsonReviver";
8
9
  import { needsReviver } from "../needsReviver";
9
10
  import { parseJsonBody } from "../parseJsonBody";
10
11
  import { writeKey } from "../../writeKey";
11
- export class JsonShapeDeserializer2 extends SerdeContextConfig {
12
+ export class BufferJsonShapeDeserializer extends SerdeContextConfig {
12
13
  settings;
13
14
  constructor(settings) {
14
15
  super();
@@ -18,20 +19,14 @@ export class JsonShapeDeserializer2 extends SerdeContextConfig {
18
19
  const reviver = needsReviver(schema) ? jsonReviver : undefined;
19
20
  let parsed;
20
21
  if (typeof data === "string") {
21
- if (data.length === 0) {
22
- return {};
23
- }
24
22
  parsed = JSON.parse(data, reviver);
25
23
  }
26
24
  else if (data instanceof Uint8Array && detectBufferParsing()) {
27
- if (data.byteLength === 0) {
28
- return {};
29
- }
30
25
  const buf = Buffer.isBuffer(data) ? data : Buffer.from(data.buffer, data.byteOffset, data.byteLength);
31
26
  parsed = JSON.parse(buf, reviver);
32
27
  }
33
28
  else {
34
- parsed = await parseJsonBody(data, this.serdeContext, schema);
29
+ parsed = await parseJsonBody(data, this.serdeContext);
35
30
  }
36
31
  return this._read(schema, parsed);
37
32
  }
@@ -47,23 +42,19 @@ export class JsonShapeDeserializer2 extends SerdeContextConfig {
47
42
  }
48
43
  if (Array.isArray(value) && ns.isListSchema()) {
49
44
  const listMember = ns.getValueSchema();
50
- if (this.needsTransform(listMember)) {
51
- for (let i = 0; i < value.length; ++i) {
52
- value[i] = this._read(listMember, value[i]);
53
- }
45
+ for (let i = 0; i < value.length; ++i) {
46
+ value[i] = this._read(listMember, value[i]);
54
47
  }
55
48
  return value;
56
49
  }
57
50
  if (ns.isMapSchema()) {
58
51
  const mapMember = ns.getValueSchema();
59
52
  const map = value;
60
- if (this.needsTransform(mapMember)) {
61
- for (const k in map) {
62
- if (k === "__proto__") {
63
- writeKey(map);
64
- }
65
- map[k] = this._read(mapMember, map[k]);
53
+ for (const k in map) {
54
+ if (k === "__proto__") {
55
+ writeKey(map);
66
56
  }
57
+ map[k] = this._read(mapMember, map[k]);
67
58
  }
68
59
  return map;
69
60
  }
@@ -139,6 +130,10 @@ export class JsonShapeDeserializer2 extends SerdeContextConfig {
139
130
  }
140
131
  }
141
132
  }
133
+ return value;
134
+ }
135
+ else {
136
+ return value;
142
137
  }
143
138
  }
144
139
  return value;
@@ -146,10 +141,9 @@ export class JsonShapeDeserializer2 extends SerdeContextConfig {
146
141
  _readStruct(ns, record) {
147
142
  const union = ns.isUnionSchema();
148
143
  const out = {};
149
- let nameMap;
150
- const hasType = typeof record.__type === "string";
144
+ let nameMap = void 0;
151
145
  const { jsonName } = this.settings;
152
- if (jsonName && hasType) {
146
+ if (jsonName) {
153
147
  nameMap = {};
154
148
  }
155
149
  let unionSerde;
@@ -160,9 +154,7 @@ export class JsonShapeDeserializer2 extends SerdeContextConfig {
160
154
  let fromKey = memberName;
161
155
  if (jsonName) {
162
156
  fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
163
- if (hasType) {
164
- nameMap[fromKey] = memberName;
165
- }
157
+ nameMap[fromKey] = memberName;
166
158
  }
167
159
  if (union) {
168
160
  unionSerde.mark(fromKey);
@@ -174,7 +166,7 @@ export class JsonShapeDeserializer2 extends SerdeContextConfig {
174
166
  if (union) {
175
167
  unionSerde.writeUnknown();
176
168
  }
177
- else if (hasType) {
169
+ else if (typeof record.__type === "string") {
178
170
  for (const k in record) {
179
171
  const v = record[k];
180
172
  const t = jsonName ? (nameMap[k] ?? k) : k;
@@ -185,16 +177,4 @@ export class JsonShapeDeserializer2 extends SerdeContextConfig {
185
177
  }
186
178
  return out;
187
179
  }
188
- needsTransform(ns) {
189
- if (ns.isBlobSchema() || ns.isTimestampSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
190
- return true;
191
- }
192
- if (ns.isDocumentSchema() || ns.isStructSchema() || ns.isListSchema() || ns.isMapSchema()) {
193
- return true;
194
- }
195
- if (ns.isStringSchema() && ns.getMergedTraits().mediaType) {
196
- return true;
197
- }
198
- return false;
199
- }
200
180
  }
@@ -2,7 +2,7 @@ import { determineTimestampFormat } from "@smithy/core/protocols";
2
2
  import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue, toBase64 } from "@smithy/core/serde";
4
4
  import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
5
- import { JsonBytesStringAdapter } from "./JsonBytesStringAdapter";
5
+ import { writeKey } from "../../writeKey";
6
6
  const encoder = new TextEncoder();
7
7
  const OPEN_BRACE = 0x7b;
8
8
  const CLOSE_BRACE = 0x7d;
@@ -30,15 +30,13 @@ for (let i = 0; i < 0x20; i++) {
30
30
  }
31
31
  const INITIAL_BUFFER_SIZE = 2048;
32
32
  function alloc(size) {
33
- return JsonBytesStringAdapter.allocUnsafe(size);
33
+ return typeof Buffer !== "undefined" ? Buffer.allocUnsafe(size) : new Uint8Array(size);
34
34
  }
35
- export class JsonShapeSerializer2 extends SerdeContextConfig {
35
+ export class ByteJsonShapeSerializer extends SerdeContextConfig {
36
36
  settings;
37
37
  json;
38
38
  i = 0;
39
39
  rootSchema;
40
- rawValue;
41
- passthrough = false;
42
40
  constructor(settings) {
43
41
  super();
44
42
  this.settings = settings;
@@ -46,25 +44,38 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
46
44
  }
47
45
  write(schema, value) {
48
46
  this.i = 0;
49
- this.rawValue = value;
50
47
  this.rootSchema = NormalizedSchema.of(schema);
51
- this.passthrough = this.rootSchema.isBlobSchema() || this.rootSchema.isStringSchema();
52
- if (!this.passthrough) {
53
- this.writeValue(this.rootSchema, value, undefined);
54
- }
48
+ this.writeValue(this.rootSchema, value, undefined);
55
49
  }
56
50
  writeDiscriminatedDocument(schema, value) {
57
51
  this.i = 0;
58
52
  this.rootSchema = NormalizedSchema.of(schema);
59
53
  const ns = this.rootSchema;
60
54
  if (ns.isStructSchema() && value != null && typeof value === "object") {
61
- this.writeValue(ns, value, undefined);
62
- const prefix = `"__type":"${ns.getName(true) ?? "Unknown"}",`;
63
- const z = prefix.length;
64
- this.ensure(z);
65
- this.json.copyWithin(1 + z, 1, this.i);
66
- encoder.encodeInto(prefix, this.json.subarray(1));
67
- this.i += z;
55
+ this.ensure(2);
56
+ this.json[this.i++] = OPEN_BRACE;
57
+ this.writeAsciiQuoted("__type");
58
+ this.json[this.i++] = COLON;
59
+ this.writeAsciiQuoted(ns.getName(true) ?? "Unknown");
60
+ let wroteAny = true;
61
+ const { jsonName } = this.settings;
62
+ for (const [memberName, memberSchema] of ns.structIterator()) {
63
+ const item = value[memberName];
64
+ if (item == null && !memberSchema.isIdempotencyToken()) {
65
+ continue;
66
+ }
67
+ if (wroteAny) {
68
+ this.ensure(1);
69
+ this.json[this.i++] = COMMA;
70
+ }
71
+ const targetKey = jsonName ? (memberSchema.getMergedTraits().jsonName ?? memberName) : memberName;
72
+ this.writeAsciiQuoted(targetKey);
73
+ this.json[this.i++] = COLON;
74
+ this.writeValue(memberSchema, item, ns);
75
+ wroteAny = true;
76
+ }
77
+ this.ensure(1);
78
+ this.json[this.i++] = CLOSE_BRACE;
68
79
  }
69
80
  else {
70
81
  this.writeValue(ns, value, undefined);
@@ -74,11 +85,6 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
74
85
  this.rootSchema = undefined;
75
86
  const finalPosition = this.i;
76
87
  this.i = 0;
77
- const raw = this.rawValue;
78
- this.rawValue = undefined;
79
- if (finalPosition === 0) {
80
- return raw;
81
- }
82
88
  const result = this.json.subarray(0, finalPosition);
83
89
  this.json = alloc(INITIAL_BUFFER_SIZE);
84
90
  return result;
@@ -117,7 +123,7 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
117
123
  this.i = i;
118
124
  }
119
125
  writeJsonString(s) {
120
- this.ensure(s.length * 3 + 2);
126
+ this.ensure(s.length * 2 + 2);
121
127
  this.json[this.i++] = QUOTE;
122
128
  const z = s.length;
123
129
  for (let j = 0; j < z; ++j) {
@@ -144,7 +150,7 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
144
150
  this.ensure(4);
145
151
  const { written } = encoder.encodeInto(s.substring(j, j + 2), this.json.subarray(this.i));
146
152
  this.i += written;
147
- ++j;
153
+ j++;
148
154
  }
149
155
  else {
150
156
  this.ensure(6);
@@ -184,16 +190,15 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
184
190
  static B64 = (() => {
185
191
  const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
186
192
  const table = new Uint8Array(64);
187
- for (let i = 0; i < 64; ++i) {
193
+ for (let i = 0; i < 64; i++)
188
194
  table[i] = chars.charCodeAt(i);
189
- }
190
195
  return table;
191
196
  })();
192
197
  writeBase64(data) {
193
198
  const b64Len = Math.ceil(data.length / 3) * 4;
194
199
  this.ensure(b64Len + 2);
195
200
  const json = this.json;
196
- const B64 = JsonShapeSerializer2.B64;
201
+ const B64 = ByteJsonShapeSerializer.B64;
197
202
  let i = this.i;
198
203
  json[i++] = QUOTE;
199
204
  const len = data.length;
@@ -245,16 +250,6 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
245
250
  }
246
251
  const ns = NormalizedSchema.of(schema);
247
252
  const isObject = typeof value === "object";
248
- if (ns.isStringSchema()) {
249
- const mediaType = ns.getMergedTraits().mediaType;
250
- if (mediaType) {
251
- const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
252
- if (isJson) {
253
- this.writeJsonString(LazyJsonString.from(value).toString());
254
- return;
255
- }
256
- }
257
- }
258
253
  if (isObject) {
259
254
  if (ns.isStructSchema()) {
260
255
  this.writeStruct(ns, value);
@@ -294,6 +289,16 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
294
289
  return;
295
290
  }
296
291
  if (typeof value === "string") {
292
+ if (ns.isStringSchema()) {
293
+ const mediaType = ns.getMergedTraits().mediaType;
294
+ if (mediaType) {
295
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
296
+ if (isJson) {
297
+ this.writeJsonString(LazyJsonString.from(value).toString());
298
+ return;
299
+ }
300
+ }
301
+ }
297
302
  if (ns.isBlobSchema()) {
298
303
  const b64 = (this.serdeContext?.base64Encoder ?? toBase64)(value);
299
304
  this.writeAsciiQuoted(b64);
@@ -303,7 +308,7 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
303
308
  return;
304
309
  }
305
310
  if (typeof value === "number") {
306
- if (Math.abs(value) === Infinity || Number.isNaN(value)) {
311
+ if (ns.isNumericSchema() && (Math.abs(value) === Infinity || isNaN(value))) {
307
312
  this.writeAsciiQuoted(String(value));
308
313
  return;
309
314
  }
@@ -313,16 +318,14 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
313
318
  }
314
319
  if (typeof value === "boolean") {
315
320
  this.ensure(5);
316
- let { i, json } = this;
317
321
  if (value) {
318
- json.set(TRUE, i);
319
- i += 4;
322
+ this.json.set(TRUE, this.i);
323
+ this.i += 4;
320
324
  }
321
325
  else {
322
- json.set(FALSE, i);
323
- i += 5;
326
+ this.json.set(FALSE, this.i);
327
+ this.i += 5;
324
328
  }
325
- this.i = i;
326
329
  return;
327
330
  }
328
331
  if (typeof value === "bigint") {
@@ -334,6 +337,7 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
334
337
  writeStruct(ns, value) {
335
338
  this.ensure(2);
336
339
  this.json[this.i++] = OPEN_BRACE;
340
+ let first = true;
337
341
  let wroteAny = false;
338
342
  const hasType = typeof value.__type === "string";
339
343
  let writtenKeys;
@@ -342,13 +346,13 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
342
346
  }
343
347
  for (const [memberName, memberSchema] of ns.structIterator()) {
344
348
  const item = value[memberName];
345
- if (item == null && !memberSchema.isIdempotencyToken()) {
349
+ if (item == null && !memberSchema.isIdempotencyToken())
346
350
  continue;
347
- }
348
- if (wroteAny) {
351
+ if (!first) {
349
352
  this.ensure(1);
350
353
  this.json[this.i++] = COMMA;
351
354
  }
355
+ first = false;
352
356
  wroteAny = true;
353
357
  const targetKey = this.settings.jsonName ? (memberSchema.getMergedTraits().jsonName ?? memberName) : memberName;
354
358
  if (writtenKeys) {
@@ -371,17 +375,17 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
371
375
  }
372
376
  else if (hasType) {
373
377
  for (const k in value) {
374
- if (writtenKeys.has(k)) {
378
+ const targetKey = this.settings.jsonName ? (writtenKeys.has(k) ? k : k) : k;
379
+ if (writtenKeys.has(targetKey))
375
380
  continue;
376
- }
377
- writtenKeys.add(k);
381
+ writtenKeys.add(targetKey);
378
382
  const v = value[k];
379
- if (wroteAny) {
383
+ if (!first) {
380
384
  this.ensure(1);
381
385
  this.json[this.i++] = COMMA;
382
386
  }
383
- wroteAny = true;
384
- this.writeAsciiQuoted(k);
387
+ first = false;
388
+ this.writeAsciiQuoted(targetKey);
385
389
  this.ensure(1);
386
390
  this.json[this.i++] = COLON;
387
391
  this.writeValue(15, v, undefined);
@@ -391,56 +395,20 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
391
395
  this.json[this.i++] = CLOSE_BRACE;
392
396
  }
393
397
  writeList(ns, value, isDocument) {
394
- const sparse = !!ns.getMergedTraits().sparse;
395
- const valueSchema = ns.getValueSchema();
396
- if (!isDocument) {
397
- if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {
398
- let hasSpecials = false;
399
- for (let i = 0; i < value.length; ++i) {
400
- const v = value[i];
401
- if (Number.isNaN(v) || v === Infinity || v === -Infinity || (v == null && !sparse)) {
402
- hasSpecials = true;
403
- break;
404
- }
405
- }
406
- let json;
407
- if (!hasSpecials) {
408
- json = JSON.stringify(value);
409
- }
410
- else {
411
- const out = [];
412
- for (let i = 0; i < value.length; ++i) {
413
- const v = value[i];
414
- if (v == null && !sparse)
415
- continue;
416
- if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
417
- out.push(String(v));
418
- }
419
- else {
420
- out.push(v);
421
- }
422
- }
423
- json = JSON.stringify(out);
424
- }
425
- this.ensure(json.length * 3);
426
- this.i += encoder.encodeInto(json, this.json.subarray(this.i)).written;
427
- return;
428
- }
429
- }
430
398
  this.ensure(2);
431
399
  this.json[this.i++] = OPEN_BRACKET;
432
- let wroteFirstItem = false;
400
+ const sparse = !!ns.getMergedTraits().sparse;
401
+ const valueSchema = ns.getValueSchema();
433
402
  for (let i = 0; i < value.length; ++i) {
434
403
  const item = value[i];
435
404
  if (isDocument ? item === undefined : item == null && !sparse) {
436
405
  continue;
437
406
  }
438
- if (wroteFirstItem) {
407
+ if (i !== 0) {
439
408
  this.ensure(1);
440
409
  this.json[this.i++] = COMMA;
441
410
  }
442
411
  this.writeValue(valueSchema, item, undefined);
443
- wroteFirstItem = true;
444
412
  }
445
413
  this.ensure(1);
446
414
  this.json[this.i++] = CLOSE_BRACKET;
@@ -450,24 +418,20 @@ export class JsonShapeSerializer2 extends SerdeContextConfig {
450
418
  const valueSchema = ns.getValueSchema();
451
419
  if (!isDocument) {
452
420
  if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {
453
- let modifications;
454
- for (const k in value) {
455
- const v = value[k];
456
- if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
457
- (modifications ??= {})[k] = v;
458
- value[k] = String(v);
459
- }
460
- else if (v === null && !sparse) {
461
- (modifications ??= {})[k] = null;
462
- value[k] = undefined;
421
+ let input = value;
422
+ if (sparse) {
423
+ input = {};
424
+ for (const k in value) {
425
+ if (k === "__proto__") {
426
+ writeKey(input);
427
+ }
428
+ input[k] = value[k] ?? null;
463
429
  }
464
430
  }
465
- const json = JSON.stringify(value);
466
- if (modifications) {
467
- Object.assign(value, modifications);
468
- }
431
+ const json = JSON.stringify(input);
469
432
  this.ensure(json.length * 3);
470
- this.i += encoder.encodeInto(json, this.json.subarray(this.i)).written;
433
+ const { written } = encoder.encodeInto(json, this.json.subarray(this.i));
434
+ this.i += written;
471
435
  return;
472
436
  }
473
437
  }