lambda-live-debugger 1.12.7 → 1.12.9

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 (863) hide show
  1. package/dist/extension/extension.zip +0 -0
  2. package/dist/extension/nodejs/node_modules/interceptor.js +9871 -8929
  3. package/dist/extension/nodejs/node_modules/interceptor.js.map +4 -4
  4. package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js +2 -1
  5. package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js +464 -40
  6. package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/xxh/index.js +914 -0
  7. package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/stringUnionSelector.js +2 -1
  8. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.browser.js +2 -0
  9. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.js +3 -0
  10. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512.js +71 -0
  11. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512Js.js +276 -0
  12. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512WebCrypto.js +76 -0
  13. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/U64.js +190 -0
  14. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/Xxh3.js +274 -0
  15. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/index.js +3 -0
  16. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash3_128/Xxh3_128.js +179 -0
  17. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash3_64/Xxh3_64.js +117 -0
  18. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash64/Xxh64.js +150 -0
  19. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.browser.d.ts +2 -0
  20. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.d.ts +3 -0
  21. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512.d.ts +17 -0
  22. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512Js.d.ts +29 -0
  23. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512WebCrypto.d.ts +22 -0
  24. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/U64.d.ts +110 -0
  25. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/Xxh3.d.ts +139 -0
  26. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/index.d.ts +3 -0
  27. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash3_128/Xxh3_128.d.ts +37 -0
  28. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash3_64/Xxh3_64.d.ts +27 -0
  29. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash64/Xxh64.d.ts +41 -0
  30. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.browser.d.ts +2 -0
  31. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.d.ts +3 -0
  32. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512.d.ts +12 -0
  33. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512Js.d.ts +22 -0
  34. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512WebCrypto.d.ts +14 -0
  35. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/U64.d.ts +27 -0
  36. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/Xxh3.d.ts +65 -0
  37. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/index.d.ts +3 -0
  38. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash3_128/Xxh3_128.d.ts +12 -0
  39. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash3_64/Xxh3_64.d.ts +10 -0
  40. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash64/Xxh64.d.ts +17 -0
  41. package/node_modules/@aws-sdk/checksums/package.json +16 -6
  42. package/node_modules/@aws-sdk/checksums/xxh.d.ts +5 -0
  43. package/node_modules/@aws-sdk/checksums/xxh.js +5 -0
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +38 -6
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/CloudFormationServiceException.js +1 -0
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/errors.js +29 -0
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +2 -1
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +5 -4
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +187 -181
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +2 -1
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +4 -0
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/CloudFormationServiceException.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/errors.d.ts +29 -0
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +27 -3
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +184 -180
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/CloudFormationServiceException.d.ts +1 -0
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/errors.d.ts +29 -0
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +1 -0
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  61. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  62. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +44 -4
  63. package/node_modules/@aws-sdk/client-iam/dist-es/models/IAMServiceException.js +1 -0
  64. package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +38 -0
  65. package/node_modules/@aws-sdk/client-iam/dist-es/runtimeConfig.js +2 -1
  66. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +2 -2
  67. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +367 -361
  68. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +2 -1
  69. package/node_modules/@aws-sdk/client-iam/dist-types/models/IAMServiceException.d.ts +1 -0
  70. package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +38 -0
  71. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +1 -0
  72. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +364 -363
  73. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/IAMServiceException.d.ts +1 -0
  74. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +38 -0
  75. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  76. package/node_modules/@aws-sdk/client-iam/package.json +9 -9
  77. package/node_modules/@aws-sdk/client-iot/dist-cjs/index.js +109 -12
  78. package/node_modules/@aws-sdk/client-iot/dist-es/models/IoTServiceException.js +1 -0
  79. package/node_modules/@aws-sdk/client-iot/dist-es/models/enums.js +14 -0
  80. package/node_modules/@aws-sdk/client-iot/dist-es/models/errors.js +33 -0
  81. package/node_modules/@aws-sdk/client-iot/dist-es/runtimeConfig.js +2 -1
  82. package/node_modules/@aws-sdk/client-iot/dist-es/schemas/schemas_0.js +51 -10
  83. package/node_modules/@aws-sdk/client-iot/dist-types/IoT.d.ts +551 -545
  84. package/node_modules/@aws-sdk/client-iot/dist-types/IoTClient.d.ts +2 -1
  85. package/node_modules/@aws-sdk/client-iot/dist-types/commands/AttachSecurityProfileCommand.d.ts +4 -1
  86. package/node_modules/@aws-sdk/client-iot/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +4 -1
  87. package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateCustomMetricCommand.d.ts +4 -1
  88. package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateDimensionCommand.d.ts +4 -1
  89. package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateSecurityProfileCommand.d.ts +4 -1
  90. package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateTopicRuleCommand.d.ts +34 -0
  91. package/node_modules/@aws-sdk/client-iot/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +14 -0
  92. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteCustomMetricCommand.d.ts +4 -1
  93. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteDimensionCommand.d.ts +4 -1
  94. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -1
  95. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +2 -1
  96. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
  98. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeCustomMetricCommand.d.ts +4 -1
  99. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +4 -1
  100. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeDimensionCommand.d.ts +4 -1
  101. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DescribeSecurityProfileCommand.d.ts +4 -1
  102. package/node_modules/@aws-sdk/client-iot/dist-types/commands/DetachSecurityProfileCommand.d.ts +4 -1
  103. package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +4 -1
  104. package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetTopicRuleCommand.d.ts +34 -0
  105. package/node_modules/@aws-sdk/client-iot/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +7 -0
  106. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListActiveViolationsCommand.d.ts +4 -1
  107. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListCustomMetricsCommand.d.ts +4 -1
  108. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +4 -1
  109. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +4 -1
  110. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListDimensionsCommand.d.ts +4 -1
  111. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListSecurityProfilesCommand.d.ts +4 -1
  112. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +4 -1
  113. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListStreamsCommand.d.ts +2 -1
  114. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -2
  116. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +4 -1
  117. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +7 -0
  118. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ListViolationEventsCommand.d.ts +4 -1
  119. package/node_modules/@aws-sdk/client-iot/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +4 -1
  120. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ReplaceTopicRuleCommand.d.ts +34 -0
  121. package/node_modules/@aws-sdk/client-iot/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +4 -1
  122. package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateCustomMetricCommand.d.ts +4 -1
  123. package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateDimensionCommand.d.ts +4 -1
  124. package/node_modules/@aws-sdk/client-iot/dist-types/commands/UpdateSecurityProfileCommand.d.ts +4 -1
  125. package/node_modules/@aws-sdk/client-iot/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +4 -1
  126. package/node_modules/@aws-sdk/client-iot/dist-types/models/IoTServiceException.d.ts +1 -0
  127. package/node_modules/@aws-sdk/client-iot/dist-types/models/enums.d.ts +38 -0
  128. package/node_modules/@aws-sdk/client-iot/dist-types/models/errors.d.ts +33 -0
  129. package/node_modules/@aws-sdk/client-iot/dist-types/models/models_0.d.ts +195 -45
  130. package/node_modules/@aws-sdk/client-iot/dist-types/models/models_1.d.ts +47 -69
  131. package/node_modules/@aws-sdk/client-iot/dist-types/models/models_2.d.ts +114 -3
  132. package/node_modules/@aws-sdk/client-iot/dist-types/runtimeConfig.d.ts +1 -0
  133. package/node_modules/@aws-sdk/client-iot/dist-types/schemas/schemas_0.d.ts +5 -0
  134. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/IoT.d.ts +548 -547
  135. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteTopicRuleDestinationCommand.d.ts +2 -4
  136. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/DeprecateThingTypeCommand.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -1
  139. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +1 -2
  141. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/IoTServiceException.d.ts +1 -0
  142. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/enums.d.ts +18 -0
  143. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/errors.d.ts +33 -0
  144. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_0.d.ts +36 -11
  145. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_1.d.ts +11 -18
  146. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/models_2.d.ts +28 -0
  147. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  148. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  149. package/node_modules/@aws-sdk/client-iot/package.json +8 -8
  150. package/node_modules/@aws-sdk/client-iot-data-plane/dist-cjs/index.js +18 -4
  151. package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/models/IoTDataPlaneServiceException.js +1 -0
  152. package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/models/errors.js +12 -0
  153. package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/runtimeConfig.js +2 -1
  154. package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/schemas/schemas_0.js +2 -2
  155. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/IoTDataPlane.d.ts +29 -23
  156. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/IoTDataPlaneClient.d.ts +2 -1
  157. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/models/IoTDataPlaneServiceException.d.ts +1 -0
  158. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/models/errors.d.ts +12 -0
  159. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/runtimeConfig.d.ts +1 -0
  160. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/IoTDataPlane.d.ts +29 -22
  161. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/models/IoTDataPlaneServiceException.d.ts +1 -0
  162. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/models/errors.d.ts +12 -0
  163. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  164. package/node_modules/@aws-sdk/client-iot-data-plane/package.json +8 -8
  165. package/node_modules/@aws-sdk/client-lambda/README.md +22 -1
  166. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +165 -14
  167. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +6 -0
  168. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  169. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  170. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  171. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js +3 -0
  172. package/node_modules/@aws-sdk/client-lambda/dist-es/models/LambdaServiceException.js +1 -0
  173. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +17 -0
  174. package/node_modules/@aws-sdk/client-lambda/dist-es/models/errors.js +56 -0
  175. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +64 -13
  176. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +199 -172
  177. package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +8 -4
  178. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +1 -1
  179. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +1 -0
  180. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  181. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCapacityProviderCommand.d.ts +1 -1
  182. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +9 -7
  183. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +7 -1
  184. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  185. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -3
  186. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  187. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
  188. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
  189. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAliasCommand.d.ts +1 -1
  190. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -3
  191. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +4 -1
  192. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +4 -1
  193. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
  194. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts +1 -1
  195. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +10 -1
  196. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  197. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -3
  198. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
  199. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +4 -1
  200. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +4 -1
  201. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +4 -1
  202. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
  203. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -1
  204. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutResourcePolicyCommand.d.ts +98 -0
  205. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -6
  208. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +4 -1
  209. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +7 -1
  210. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts +3 -0
  212. package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-lambda/dist-types/models/LambdaServiceException.d.ts +1 -0
  214. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +33 -0
  215. package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +57 -1
  216. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +124 -23
  217. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +9 -0
  218. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +225 -170
  219. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +18 -0
  220. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
  221. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  222. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  223. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts +3 -0
  224. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/LambdaServiceException.d.ts +1 -0
  225. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +20 -0
  226. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +56 -0
  227. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +28 -0
  228. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  229. package/node_modules/@aws-sdk/client-lambda/package.json +9 -9
  230. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +63 -17
  231. package/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +1 -0
  232. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +8 -0
  233. package/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js +21 -0
  234. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +30 -16
  235. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +231 -225
  236. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +3 -2
  237. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +3 -0
  238. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -0
  239. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  240. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  241. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +3 -0
  242. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -0
  243. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -0
  244. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +3 -0
  245. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  246. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  247. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  248. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +3 -0
  249. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +4 -0
  250. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -0
  251. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  252. package/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -0
  253. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +16 -0
  254. package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +21 -0
  255. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +186 -49
  256. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +43 -1
  257. package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +1 -0
  258. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +228 -224
  259. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  261. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -0
  262. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +9 -0
  263. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +21 -0
  264. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +23 -7
  265. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +14 -1
  266. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  267. package/node_modules/@aws-sdk/client-s3/package.json +13 -13
  268. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -13
  269. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -10
  270. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +104 -1549
  271. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +7 -1
  272. package/node_modules/@aws-sdk/core/dist-es/submodules/client/getDefaultSocketTimeout.js +10 -0
  273. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +1 -0
  274. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  275. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +1 -0
  276. package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
  277. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
  278. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
  279. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +12 -3
  280. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
  281. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
  282. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -7
  283. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
  284. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
  285. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
  286. package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
  287. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
  288. package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
  289. package/node_modules/@aws-sdk/core/dist-types/submodules/client/getDefaultSocketTimeout.d.ts +11 -0
  290. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +1 -0
  291. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  292. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +1 -0
  293. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
  294. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +3 -8
  295. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
  296. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
  297. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
  298. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
  299. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
  300. package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
  301. package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
  302. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/getDefaultSocketTimeout.d.ts +4 -0
  303. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +1 -0
  304. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  305. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +1 -0
  306. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +11 -10
  307. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
  308. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
  309. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
  310. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
  311. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
  312. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
  313. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
  314. package/node_modules/@aws-sdk/core/package.json +6 -6
  315. package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +5 -5
  316. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  317. package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
  318. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  319. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  320. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
  321. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
  322. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  323. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  324. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  325. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  326. package/node_modules/@aws-sdk/credential-providers/README.md +1 -1
  327. package/node_modules/@aws-sdk/credential-providers/package.json +16 -16
  328. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +36 -17
  329. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3-control/index.js +6 -3
  330. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.js +6 -3
  331. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-region-redirect/region-redirect-middleware.js +2 -0
  332. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.js +8 -4
  333. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.js +18 -8
  334. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-ssec/middleware-ssec.js +2 -1
  335. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.js +4 -2
  336. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.js +2 -1
  337. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -0
  338. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -1
  339. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -0
  340. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -1
  341. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -6
  342. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +15 -4
  343. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +17 -4
  344. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +10 -4
  345. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -4
  346. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +24 -12
  347. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -0
  348. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +9 -0
  349. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
  350. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
  351. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -0
  352. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
  353. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +4 -0
  354. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
  355. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
  356. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -0
  357. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js +4 -0
  358. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
  359. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
  360. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -0
  361. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +11 -0
  362. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
  363. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
  364. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -0
  365. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +7 -0
  366. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
  367. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
  368. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
  369. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -1
  370. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
  371. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +9 -0
  372. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  373. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +12 -7
  374. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -3
  375. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
  376. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
  377. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
  378. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -0
  379. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
  380. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +12 -39
  381. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
  382. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
  383. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
  384. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
  385. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts +1 -0
  386. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts +4 -0
  387. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
  388. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  389. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
  390. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
  391. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +11 -0
  392. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  393. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
  394. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +24 -4
  395. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
  396. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
  397. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
  398. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -0
  399. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +7 -0
  400. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
  401. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  402. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
  403. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
  404. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -0
  405. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  406. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
  407. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -0
  408. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
  409. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -0
  410. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
  411. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
  412. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +1 -0
  413. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -0
  414. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
  415. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  416. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
  417. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -0
  418. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  419. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
  420. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -0
  421. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -0
  422. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
  423. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
  424. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  425. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  426. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +44 -22
  427. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +44 -22
  428. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  429. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +4 -0
  430. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +4 -0
  431. package/node_modules/@aws-sdk/types/package.json +2 -2
  432. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  433. package/node_modules/@inquirer/ansi/README.md +35 -3
  434. package/node_modules/@inquirer/ansi/package.json +5 -4
  435. package/node_modules/@inquirer/checkbox/README.md +75 -5
  436. package/node_modules/@inquirer/checkbox/dist/index.d.ts +19 -8
  437. package/node_modules/@inquirer/checkbox/dist/index.js +4 -0
  438. package/node_modules/@inquirer/checkbox/package.json +9 -8
  439. package/node_modules/@inquirer/confirm/README.md +104 -5
  440. package/node_modules/@inquirer/confirm/dist/index.d.ts +37 -3
  441. package/node_modules/@inquirer/confirm/dist/index.js +66 -17
  442. package/node_modules/@inquirer/confirm/package.json +7 -6
  443. package/node_modules/@inquirer/core/README.md +44 -6
  444. package/node_modules/@inquirer/core/dist/index.js +12 -12
  445. package/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +10 -3
  446. package/node_modules/@inquirer/core/dist/lib/create-prompt.js +84 -55
  447. package/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +2 -8
  448. package/node_modules/@inquirer/core/dist/lib/hook-engine.js +9 -11
  449. package/node_modules/@inquirer/core/dist/lib/make-theme.js +3 -2
  450. package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +2 -3
  451. package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +2 -2
  452. package/node_modules/@inquirer/core/dist/lib/screen-manager.js +1 -1
  453. package/node_modules/@inquirer/core/dist/lib/theme.d.ts +1 -1
  454. package/node_modules/@inquirer/core/dist/lib/theme.js +1 -1
  455. package/node_modules/@inquirer/core/dist/lib/use-effect.js +1 -1
  456. package/node_modules/@inquirer/core/dist/lib/use-keypress.js +3 -3
  457. package/node_modules/@inquirer/core/dist/lib/use-memo.js +2 -2
  458. package/node_modules/@inquirer/core/dist/lib/use-prefix.js +3 -3
  459. package/node_modules/@inquirer/core/dist/lib/use-ref.js +1 -1
  460. package/node_modules/@inquirer/core/dist/lib/use-state.d.ts +5 -2
  461. package/node_modules/@inquirer/core/dist/lib/use-state.js +8 -3
  462. package/node_modules/@inquirer/core/dist/lib/utils.js +1 -1
  463. package/node_modules/@inquirer/core/package.json +9 -8
  464. package/node_modules/@inquirer/editor/README.md +75 -5
  465. package/node_modules/@inquirer/editor/dist/index.d.ts +10 -2
  466. package/node_modules/@inquirer/editor/package.json +8 -7
  467. package/node_modules/@inquirer/expand/README.md +76 -6
  468. package/node_modules/@inquirer/expand/dist/index.d.ts +15 -4
  469. package/node_modules/@inquirer/expand/dist/index.js +3 -3
  470. package/node_modules/@inquirer/expand/package.json +7 -6
  471. package/node_modules/@inquirer/external-editor/README.md +48 -3
  472. package/node_modules/@inquirer/external-editor/dist/index.js +4 -4
  473. package/node_modules/@inquirer/external-editor/package.json +6 -5
  474. package/node_modules/@inquirer/figures/package.json +5 -4
  475. package/node_modules/@inquirer/input/README.md +75 -5
  476. package/node_modules/@inquirer/input/dist/index.d.ts +13 -1
  477. package/node_modules/@inquirer/input/package.json +7 -6
  478. package/node_modules/@inquirer/number/README.md +75 -5
  479. package/node_modules/@inquirer/number/dist/index.d.ts +15 -5
  480. package/node_modules/@inquirer/number/dist/index.js +2 -7
  481. package/node_modules/@inquirer/number/dist/is-step-of.d.ts +1 -0
  482. package/node_modules/@inquirer/number/dist/is-step-of.js +22 -0
  483. package/node_modules/@inquirer/number/package.json +7 -6
  484. package/node_modules/@inquirer/password/README.md +99 -11
  485. package/node_modules/@inquirer/password/dist/index.d.ts +9 -1
  486. package/node_modules/@inquirer/password/dist/index.js +27 -8
  487. package/node_modules/@inquirer/password/package.json +8 -7
  488. package/node_modules/@inquirer/prompts/README.md +91 -13
  489. package/node_modules/@inquirer/prompts/package.json +16 -15
  490. package/node_modules/@inquirer/rawlist/README.md +75 -5
  491. package/node_modules/@inquirer/rawlist/dist/index.d.ts +11 -4
  492. package/node_modules/@inquirer/rawlist/dist/index.js +5 -4
  493. package/node_modules/@inquirer/rawlist/package.json +7 -6
  494. package/node_modules/@inquirer/search/README.md +83 -12
  495. package/node_modules/@inquirer/search/dist/index.d.ts +16 -4
  496. package/node_modules/@inquirer/search/dist/index.js +7 -2
  497. package/node_modules/@inquirer/search/package.json +8 -7
  498. package/node_modules/@inquirer/select/README.md +75 -5
  499. package/node_modules/@inquirer/select/dist/index.d.ts +13 -5
  500. package/node_modules/@inquirer/select/package.json +9 -8
  501. package/node_modules/@inquirer/type/dist/index.js +2 -2
  502. package/node_modules/@inquirer/type/dist/utils.d.ts +19 -3
  503. package/node_modules/@inquirer/type/dist/utils.js +15 -1
  504. package/node_modules/@inquirer/type/package.json +4 -3
  505. package/node_modules/@nodable/entities/package.json +2 -2
  506. package/node_modules/@nodable/entities/src/index.d.ts +5 -2
  507. package/node_modules/@smithy/core/CHANGELOG.md +102 -0
  508. package/node_modules/@smithy/core/dist-cjs/index.js +6 -2
  509. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +174 -110
  510. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +109 -21
  511. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  512. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  513. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  514. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +6 -2
  515. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +14 -6
  516. package/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
  517. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +34 -6
  518. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +34 -6
  519. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1792 -12
  520. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +67 -25
  521. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +71 -27
  522. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
  523. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +18 -4
  524. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +35 -9
  525. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +18 -4
  526. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +12 -2
  527. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +4 -0
  528. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  529. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +34 -59
  530. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
  531. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
  532. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +13 -0
  533. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +10 -0
  534. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +50 -15
  535. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +24 -4
  536. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +4 -13
  537. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
  538. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  539. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +25 -3
  540. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  541. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +44 -5
  542. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +4 -0
  543. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +5 -1
  544. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +8 -1
  545. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  546. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +5 -1
  547. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  548. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  549. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  550. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  551. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js +2 -1
  552. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +4 -0
  553. package/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
  554. package/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
  555. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +10 -0
  556. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +15 -1
  557. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  558. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  559. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  560. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  561. package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
  562. package/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
  563. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +13 -0
  564. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +56 -8
  565. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +8 -1
  566. package/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
  567. package/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
  568. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +9 -0
  569. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +79 -0
  570. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +12 -3
  571. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +12 -3
  572. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +17 -4
  573. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +20 -7
  574. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/parseJsonBody.js +16 -1
  575. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  576. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  577. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +5 -1
  578. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  579. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +17 -8
  580. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  581. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
  582. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
  583. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
  584. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
  585. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
  586. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
  587. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +4 -0
  588. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  589. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
  590. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
  591. package/node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js +3 -0
  592. package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
  593. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  594. package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
  595. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  596. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +4 -0
  597. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  598. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
  599. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
  600. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
  601. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
  602. package/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
  603. package/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
  604. package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  605. package/node_modules/@smithy/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
  606. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
  607. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
  608. package/node_modules/@smithy/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
  609. package/node_modules/@smithy/core/dist-types/submodules/protocols/common.d.ts +2 -0
  610. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +10 -0
  611. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +13 -0
  612. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
  613. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +16 -0
  614. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  615. package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
  616. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
  617. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
  618. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
  619. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
  620. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
  621. package/node_modules/@smithy/core/dist-types/submodules/serde/writeKey.d.ts +4 -0
  622. package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
  623. package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
  624. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  625. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
  626. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
  627. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
  628. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
  629. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
  630. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
  631. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  632. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
  633. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
  634. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
  635. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -0
  636. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -0
  637. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -0
  638. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +13 -0
  639. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
  640. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +15 -11
  641. package/node_modules/{@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json → @smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +7 -4
  642. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +14 -0
  643. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +29 -0
  644. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
  645. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -9
  646. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
  647. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
  648. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
  649. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -0
  650. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -0
  651. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
  652. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +38 -0
  653. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  654. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
  655. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
  656. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
  657. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +2 -0
  658. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +2 -0
  659. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +2 -0
  660. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/writeKey.d.ts +4 -0
  661. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
  662. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
  663. package/node_modules/@smithy/core/errors.d.ts +5 -0
  664. package/node_modules/@smithy/core/errors.js +5 -0
  665. package/node_modules/@smithy/core/package.json +12 -2
  666. package/node_modules/@smithy/fetch-http-handler/CHANGELOG.md +17 -0
  667. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +12 -5
  668. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +8 -3
  669. package/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +4 -2
  670. package/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +12 -1
  671. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +12 -1
  672. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  673. package/node_modules/@smithy/node-http-handler/CHANGELOG.md +68 -0
  674. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +100 -33
  675. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +4 -0
  676. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
  677. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +25 -10
  678. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
  679. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +34 -3
  680. package/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
  681. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +30 -15
  682. package/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
  683. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +10 -1
  684. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
  685. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +10 -1
  686. package/node_modules/@smithy/node-http-handler/package.json +3 -3
  687. package/node_modules/@smithy/signature-v4/CHANGELOG.md +24 -0
  688. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +39 -12
  689. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +7 -2
  690. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  691. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +9 -2
  692. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +5 -1
  693. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +5 -1
  694. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +13 -3
  695. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +5 -1
  696. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +5 -1
  697. package/node_modules/@smithy/signature-v4/package.json +3 -3
  698. package/node_modules/@smithy/types/CHANGELOG.md +18 -0
  699. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
  700. package/node_modules/@smithy/types/dist-types/metrics.d.ts +8 -7
  701. package/node_modules/@smithy/types/dist-types/middleware.d.ts +11 -0
  702. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
  703. package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +8 -7
  704. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +11 -0
  705. package/node_modules/@smithy/types/package.json +1 -1
  706. package/node_modules/@types/node/README.md +2 -2
  707. package/node_modules/@types/node/buffer.buffer.d.ts +10 -5
  708. package/node_modules/@types/node/buffer.d.ts +1 -0
  709. package/node_modules/@types/node/child_process.d.ts +1 -1
  710. package/node_modules/@types/node/crypto.d.ts +24 -14
  711. package/node_modules/@types/node/dgram.d.ts +119 -4
  712. package/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  713. package/node_modules/@types/node/ffi.d.ts +15 -1
  714. package/node_modules/@types/node/fs/promises.d.ts +61 -65
  715. package/node_modules/@types/node/fs.d.ts +86 -76
  716. package/node_modules/@types/node/http.d.ts +18 -2
  717. package/node_modules/@types/node/http2.d.ts +15 -6
  718. package/node_modules/@types/node/index.d.ts +1 -0
  719. package/node_modules/@types/node/inspector.d.ts +2 -1
  720. package/node_modules/@types/node/net.d.ts +124 -20
  721. package/node_modules/@types/node/package.json +3 -18
  722. package/node_modules/@types/node/perf_hooks.d.ts +31 -19
  723. package/node_modules/@types/node/process.d.ts +53 -0
  724. package/node_modules/@types/node/quic.d.ts +290 -42
  725. package/node_modules/@types/node/sqlite.d.ts +6 -2
  726. package/node_modules/@types/node/stream/iter.d.ts +13 -16
  727. package/node_modules/@types/node/stream/web.d.ts +20 -0
  728. package/node_modules/@types/node/test/reporters.d.ts +1 -0
  729. package/node_modules/@types/node/test.d.ts +108 -0
  730. package/node_modules/@types/node/tls.d.ts +64 -25
  731. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
  732. package/node_modules/@types/node/ts5.6/index.d.ts +1 -0
  733. package/node_modules/@types/node/ts5.7/index.d.ts +1 -0
  734. package/node_modules/@types/node/tty.d.ts +4 -3
  735. package/node_modules/@types/node/util.d.ts +6 -3
  736. package/node_modules/@types/node/vfs.d.ts +211 -0
  737. package/node_modules/@types/node/vm.d.ts +3 -2
  738. package/node_modules/@types/node/web-globals/streams.d.ts +4 -0
  739. package/node_modules/@types/node/worker_threads.d.ts +4 -1
  740. package/node_modules/@types/node/zlib.d.ts +775 -0
  741. package/node_modules/chalk/package.json +1 -1
  742. package/node_modules/chalk/source/index.js +2 -1
  743. package/node_modules/commander/Readme.md +6 -32
  744. package/node_modules/commander/index.js +1 -1
  745. package/node_modules/commander/lib/command.js +22 -9
  746. package/node_modules/commander/lib/help.js +6 -2
  747. package/node_modules/commander/lib/option.js +1 -1
  748. package/node_modules/commander/package.json +2 -1
  749. package/node_modules/commander/typings/index.d.ts +6 -3
  750. package/node_modules/fast-xml-builder/CHANGELOG.md +12 -0
  751. package/node_modules/fast-xml-builder/README.md +4 -1
  752. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
  753. package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
  754. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
  755. package/node_modules/fast-xml-builder/package.json +6 -10
  756. package/node_modules/fast-xml-builder/src/fxb.js +34 -24
  757. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +18 -17
  758. package/node_modules/fast-xml-builder/src/util.js +10 -3
  759. package/node_modules/fast-xml-parser/CHANGELOG.md +23 -1
  760. package/node_modules/fast-xml-parser/README.md +10 -10
  761. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  762. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  763. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  764. package/node_modules/fast-xml-parser/lib/fxp.d.cts +3 -1
  765. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  766. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  767. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  768. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  769. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
  770. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  771. package/node_modules/fast-xml-parser/package.json +6 -6
  772. package/node_modules/fast-xml-parser/src/fxp.d.ts +3 -1
  773. package/node_modules/fast-xml-parser/src/validator.js +98 -5
  774. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +16 -1
  775. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +65 -7
  776. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +7 -1
  777. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +14 -0
  778. package/node_modules/inquirer/README.md +38 -12
  779. package/node_modules/inquirer/dist/index.d.ts +2 -3
  780. package/node_modules/inquirer/dist/index.js +3 -2
  781. package/node_modules/inquirer/dist/types.d.ts +3 -3
  782. package/node_modules/inquirer/dist/ui/prompt.js +3 -2
  783. package/node_modules/inquirer/package.json +9 -8
  784. package/node_modules/is-unsafe/README.md +34 -1
  785. package/node_modules/is-unsafe/package.json +3 -3
  786. package/node_modules/is-unsafe/src/contexts/xml.js +2 -1
  787. package/node_modules/is-unsafe/src/index.d.ts +9 -1
  788. package/node_modules/is-unsafe/src/index.js +29 -2
  789. package/node_modules/is-unsafe/src/util/decode-entities.js +48 -0
  790. package/node_modules/strnum/CHANGELOG.md +12 -0
  791. package/node_modules/strnum/package.json +1 -1
  792. package/node_modules/strnum/strnum.js +15 -10
  793. package/node_modules/toml/lib/compiler.js +101 -144
  794. package/node_modules/toml/lib/parser.js +20 -4
  795. package/node_modules/toml/package.json +1 -1
  796. package/node_modules/undici-types/client.d.ts +8 -3
  797. package/node_modules/undici-types/connector.d.ts +1 -0
  798. package/node_modules/undici-types/cookies.d.ts +1 -1
  799. package/node_modules/undici-types/dispatcher.d.ts +3 -3
  800. package/node_modules/undici-types/errors.d.ts +10 -0
  801. package/node_modules/undici-types/fetch.d.ts +5 -1
  802. package/node_modules/undici-types/handlers.d.ts +2 -0
  803. package/node_modules/undici-types/interceptors.d.ts +1 -1
  804. package/node_modules/undici-types/mock-interceptor.d.ts +5 -1
  805. package/node_modules/undici-types/package.json +1 -1
  806. package/node_modules/undici-types/proxy-agent.d.ts +7 -0
  807. package/node_modules/xml-naming/README.md +99 -1
  808. package/node_modules/xml-naming/package.json +4 -2
  809. package/node_modules/xml-naming/src/index.d.ts +34 -0
  810. package/node_modules/xml-naming/src/index.js +134 -22
  811. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +19 -18
  812. package/node_modules/yaml/browser/dist/nodes/Alias.js +25 -23
  813. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +19 -18
  814. package/node_modules/yaml/dist/nodes/Alias.js +25 -23
  815. package/node_modules/yaml/package.json +1 -1
  816. package/package.json +25 -25
  817. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
  818. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
  819. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
  820. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
  821. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
  822. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
  823. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
  824. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
  825. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
  826. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
  827. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
  828. package/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +0 -7
  829. package/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +0 -14
  830. package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +0 -10
  831. package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +0 -13
  832. package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +0 -10
  833. package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +0 -13
  834. package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +0 -10
  835. package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +0 -13
  836. package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +0 -10
  837. package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +0 -13
  838. package/node_modules/fast-xml-parser/node_modules/xml-naming/README.md +0 -287
  839. package/node_modules/fast-xml-parser/node_modules/xml-naming/package.json +0 -56
  840. package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.d.ts +0 -108
  841. package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.js +0 -382
  842. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -0
  843. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -0
  844. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -0
  845. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -0
  846. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -0
  847. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -0
  848. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -0
  849. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -0
  850. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js +0 -0
  851. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -0
  852. /package/node_modules/{@aws-sdk/core/dist-types/submodules/protocols/json → @smithy/core/dist-types/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +0 -0
  853. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -0
  854. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -0
  855. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -0
  856. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -0
  857. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -0
  858. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -0
  859. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -0
  860. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -0
  861. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -0
  862. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -0
  863. /package/node_modules/{fast-xml-parser/node_modules/xml-naming → xml-naming}/LICENSE +0 -0
@@ -36,8 +36,9 @@ var SelectorType;
36
36
  SelectorType["CONFIG"] = "shared config entry";
37
37
  })(SelectorType || (SelectorType = {}));
38
38
  const stringUnionSelector = (obj, key, union, type) => {
39
- if (!(key in obj))
39
+ if (!(key in obj)) {
40
40
  return undefined;
41
+ }
41
42
  const value = obj[key].toUpperCase();
42
43
  if (!Object.values(union).includes(value)) {
43
44
  throw new TypeError(`Cannot load ${type} '${key}'. Expected one of ${Object.values(union)}, got '${obj[key]}'.`);
@@ -5,15 +5,15 @@ exports.Sha256 = Sha256;
5
5
  exports.Sha256Js = Sha256Js;
6
6
  exports.Sha256Node = Sha256Node;
7
7
 
8
- const BLOCK = 64;
9
- const DIGEST_LENGTH = 20;
10
- const INIT = new Int32Array([0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0]);
11
- const K = new Int32Array([0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6]);
8
+ const BLOCK$1 = 64;
9
+ const DIGEST_LENGTH$1 = 20;
10
+ const INIT$1 = new Int32Array([0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0]);
11
+ const K$1 = new Int32Array([0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6]);
12
12
  class Sha1Js {
13
- digestLength = DIGEST_LENGTH;
14
- state = Int32Array.from(INIT);
13
+ digestLength = DIGEST_LENGTH$1;
14
+ state = Int32Array.from(INIT$1);
15
15
  w;
16
- buffer = new Uint8Array(BLOCK);
16
+ buffer = new Uint8Array(BLOCK$1);
17
17
  bufferLength = 0;
18
18
  bytesHashed = 0;
19
19
  finished = false;
@@ -24,13 +24,13 @@ class Sha1Js {
24
24
  const key = Sha1Js.normalizeKey(secret);
25
25
  this.inner = new Sha1Js();
26
26
  this.outer = new Sha1Js();
27
- const pad = new Uint8Array(BLOCK * 2);
28
- for (let i = 0; i < BLOCK; ++i) {
27
+ const pad = new Uint8Array(BLOCK$1 * 2);
28
+ for (let i = 0; i < BLOCK$1; ++i) {
29
29
  pad[i] = 0x36 ^ key[i];
30
- pad[i + BLOCK] = 0x5c ^ key[i];
30
+ pad[i + BLOCK$1] = 0x5c ^ key[i];
31
31
  }
32
- this.inner.update(pad.subarray(0, BLOCK));
33
- this.outer.update(pad.subarray(BLOCK));
32
+ this.inner.update(pad.subarray(0, BLOCK$1));
33
+ this.outer.update(pad.subarray(BLOCK$1));
34
34
  }
35
35
  }
36
36
  update(data) {
@@ -45,19 +45,19 @@ class Sha1Js {
45
45
  let { length } = data;
46
46
  this.bytesHashed += length;
47
47
  if (this.bufferLength > 0) {
48
- while (length > 0 && this.bufferLength < BLOCK) {
48
+ while (length > 0 && this.bufferLength < BLOCK$1) {
49
49
  this.buffer[this.bufferLength++] = data[pos++];
50
50
  --length;
51
51
  }
52
- if (this.bufferLength === BLOCK) {
52
+ if (this.bufferLength === BLOCK$1) {
53
53
  this.hashBuffer(this.buffer, 0);
54
54
  this.bufferLength = 0;
55
55
  }
56
56
  }
57
- while (length >= BLOCK) {
57
+ while (length >= BLOCK$1) {
58
58
  this.hashBuffer(data, pos);
59
- pos += BLOCK;
60
- length -= BLOCK;
59
+ pos += BLOCK$1;
60
+ length -= BLOCK$1;
61
61
  }
62
62
  while (length > 0) {
63
63
  this.buffer[this.bufferLength++] = data[pos++];
@@ -77,8 +77,8 @@ class Sha1Js {
77
77
  return this.digestSync();
78
78
  }
79
79
  reset() {
80
- this.state = Int32Array.from(INIT);
81
- this.buffer = new Uint8Array(BLOCK);
80
+ this.state = Int32Array.from(INIT$1);
81
+ this.buffer = new Uint8Array(BLOCK$1);
82
82
  this.bufferLength = 0;
83
83
  this.bytesHashed = 0;
84
84
  }
@@ -89,21 +89,21 @@ class Sha1Js {
89
89
  const bitsHi = (this.bytesHashed / 0x20000000) | 0;
90
90
  const bitsLo = this.bytesHashed << 3;
91
91
  buffer[bufferLength++] = 0x80;
92
- if (bufferLength > BLOCK - 8) {
93
- for (let i = bufferLength; i < BLOCK; ++i) {
92
+ if (bufferLength > BLOCK$1 - 8) {
93
+ for (let i = bufferLength; i < BLOCK$1; ++i) {
94
94
  buffer[i] = 0;
95
95
  }
96
96
  this.hashBufferWith(state, buffer, 0);
97
97
  bufferLength = 0;
98
98
  }
99
- for (let i = bufferLength; i < BLOCK - 8; ++i) {
99
+ for (let i = bufferLength; i < BLOCK$1 - 8; ++i) {
100
100
  buffer[i] = 0;
101
101
  }
102
- const v = new DataView(buffer.buffer, buffer.byteOffset, BLOCK);
103
- v.setUint32(BLOCK - 8, bitsHi, false);
104
- v.setUint32(BLOCK - 4, bitsLo, false);
102
+ const v = new DataView(buffer.buffer, buffer.byteOffset, BLOCK$1);
103
+ v.setUint32(BLOCK$1 - 8, bitsHi, false);
104
+ v.setUint32(BLOCK$1 - 4, bitsLo, false);
105
105
  this.hashBufferWith(state, buffer, 0);
106
- const out = new Uint8Array(DIGEST_LENGTH);
106
+ const out = new Uint8Array(DIGEST_LENGTH$1);
107
107
  out[0] = (state[0] >>> 24) & 0xff;
108
108
  out[1] = (state[0] >>> 16) & 0xff;
109
109
  out[2] = (state[0] >>> 8) & 0xff;
@@ -128,15 +128,15 @@ class Sha1Js {
128
128
  }
129
129
  static normalizeKey(secret) {
130
130
  const key = toUint8Array(secret);
131
- if (key.byteLength > BLOCK) {
131
+ if (key.byteLength > BLOCK$1) {
132
132
  const h = new Sha1Js();
133
133
  h.update(key);
134
134
  const digest = h.digestSync();
135
- const padded = new Uint8Array(BLOCK);
135
+ const padded = new Uint8Array(BLOCK$1);
136
136
  padded.set(digest);
137
137
  return padded;
138
138
  }
139
- const padded = new Uint8Array(BLOCK);
139
+ const padded = new Uint8Array(BLOCK$1);
140
140
  padded.set(key);
141
141
  return padded;
142
142
  }
@@ -162,7 +162,7 @@ class Sha1Js {
162
162
  const temp = (((((s0 << 5) | (s0 >>> 27)) +
163
163
  (r === 0 ? (s1 & s2) ^ (~s1 & s3) : r === 2 ? (s1 & s2) ^ (s1 & s3) ^ (s2 & s3) : s1 ^ s2 ^ s3)) |
164
164
  0) +
165
- ((s4 + ((K[r] + w[t]) | 0)) | 0)) |
165
+ ((s4 + ((K$1[r] + w[t]) | 0)) | 0)) |
166
166
  0;
167
167
  s4 = s3;
168
168
  s3 = s2;
@@ -222,11 +222,11 @@ function buildNativeClass() {
222
222
  this.finished = false;
223
223
  }
224
224
  createHash() {
225
- return this.secret ? createHmac("sha1", toBuffer(this.secret)) : createHash("sha1");
225
+ return this.secret ? createHmac("sha1", toBuffer$1(this.secret)) : createHash("sha1");
226
226
  }
227
227
  };
228
228
  }
229
- function toBuffer(data) {
229
+ function toBuffer$1(data) {
230
230
  if (typeof data === "string") {
231
231
  return data;
232
232
  }
@@ -236,11 +236,11 @@ function toBuffer(data) {
236
236
  return Buffer.from(data);
237
237
  }
238
238
 
239
- const { digest, sign, importKey } = globalThis?.crypto?.subtle ?? {};
240
- const subtle = typeof digest === "function" && typeof sign === "function" && typeof importKey === "function"
239
+ const { digest: digest$1, sign: sign$1, importKey: importKey$1 } = globalThis?.crypto?.subtle ?? {};
240
+ const subtle$1 = typeof digest$1 === "function" && typeof sign$1 === "function" && typeof importKey$1 === "function"
241
241
  ? globalThis.crypto.subtle
242
242
  : undefined;
243
- const MAX_PENDING_BYTES = 8 * 1024 * 1024;
243
+ const MAX_PENDING_BYTES$1 = 8 * 1024 * 1024;
244
244
  class Sha1WebCrypto {
245
245
  digestLength = 20;
246
246
  secret;
@@ -263,7 +263,7 @@ class Sha1WebCrypto {
263
263
  }
264
264
  this.pending.push(data.slice());
265
265
  this.pendingBytes += data.byteLength;
266
- if (this.pendingBytes >= MAX_PENDING_BYTES) {
266
+ if (this.pendingBytes >= MAX_PENDING_BYTES$1) {
267
267
  this.switchToFallback();
268
268
  }
269
269
  }
@@ -275,14 +275,14 @@ class Sha1WebCrypto {
275
275
  throw new Error("Attempted to digest an already finished HMAC.");
276
276
  }
277
277
  const data = concatBytes(this.pending);
278
- if (subtle) {
278
+ if (subtle$1) {
279
279
  if (this.secret) {
280
280
  this.finished = true;
281
- const key = await subtle.importKey("raw", this.secret, { name: "HMAC", hash: "SHA-1" }, false, ["sign"]);
282
- const sig = await subtle.sign("HMAC", key, data);
281
+ const key = await subtle$1.importKey("raw", this.secret, { name: "HMAC", hash: "SHA-1" }, false, ["sign"]);
282
+ const sig = await subtle$1.sign("HMAC", key, data);
283
283
  return new Uint8Array(sig);
284
284
  }
285
- const hash = await subtle.digest("SHA-1", data);
285
+ const hash = await subtle$1.digest("SHA-1", data);
286
286
  return new Uint8Array(hash);
287
287
  }
288
288
  const sha1 = new Sha1Js(this.secret);
@@ -306,7 +306,431 @@ class Sha1WebCrypto {
306
306
  }
307
307
  }
308
308
 
309
+ const BLOCK = 128;
310
+ const DIGEST_LENGTH = 64;
311
+ const MAX_HASHABLE_LENGTH = 2 ** 53 - 1;
312
+ const INIT = new Uint32Array([
313
+ 0x6a09e667, 0xf3bcc908, 0xbb67ae85, 0x84caa73b, 0x3c6ef372, 0xfe94f82b, 0xa54ff53a, 0x5f1d36f1, 0x510e527f,
314
+ 0xade682d1, 0x9b05688c, 0x2b3e6c1f, 0x1f83d9ab, 0xfb41bd6b, 0x5be0cd19, 0x137e2179,
315
+ ]);
316
+ const K = new Uint32Array([
317
+ 0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd, 0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc,
318
+ 0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019, 0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118,
319
+ 0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe, 0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2,
320
+ 0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1, 0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694,
321
+ 0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3, 0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65,
322
+ 0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483, 0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5,
323
+ 0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210, 0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4,
324
+ 0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725, 0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70,
325
+ 0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926, 0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df,
326
+ 0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8, 0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b,
327
+ 0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001, 0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30,
328
+ 0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910, 0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8,
329
+ 0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53, 0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8,
330
+ 0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb, 0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3,
331
+ 0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60, 0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec,
332
+ 0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9, 0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b,
333
+ 0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207, 0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178,
334
+ 0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6, 0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b,
335
+ 0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493, 0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c,
336
+ 0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a, 0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817,
337
+ ]);
338
+ class Sha512Js {
339
+ digestLength = DIGEST_LENGTH;
340
+ state = Uint32Array.from(INIT);
341
+ w;
342
+ buffer = new Uint8Array(BLOCK);
343
+ bufferLength = 0;
344
+ bytesHashed = 0;
345
+ finished = false;
346
+ key;
347
+ inner;
348
+ outer;
349
+ constructor(secret) {
350
+ if (secret !== undefined) {
351
+ this.key = Sha512Js.normalizeKey(secret);
352
+ this.initHmac();
353
+ }
354
+ }
355
+ update(data) {
356
+ if (this.finished) {
357
+ throw new Error("Attempted to update an already finished HMAC.");
358
+ }
359
+ if (this.inner) {
360
+ this.inner.update(data);
361
+ return;
362
+ }
363
+ const chunk = toUint8Array(data);
364
+ let position = 0;
365
+ let { byteLength } = chunk;
366
+ this.bytesHashed += byteLength;
367
+ if (this.bytesHashed * 8 > MAX_HASHABLE_LENGTH) {
368
+ throw new Error("Cannot hash more than 2^53 - 1 bits");
369
+ }
370
+ while (byteLength > 0) {
371
+ this.buffer[this.bufferLength++] = chunk[position++];
372
+ byteLength--;
373
+ if (this.bufferLength === BLOCK) {
374
+ this.hashBuffer();
375
+ this.bufferLength = 0;
376
+ }
377
+ }
378
+ }
379
+ async digest() {
380
+ if (this.inner && this.outer) {
381
+ if (this.finished) {
382
+ throw new Error("Attempted to digest an already finished HMAC.");
383
+ }
384
+ this.finished = true;
385
+ const innerDigest = this.inner.digestSync();
386
+ this.outer.update(innerDigest);
387
+ return this.outer.digestSync();
388
+ }
389
+ return this.digestSync();
390
+ }
391
+ reset() {
392
+ this.state = Uint32Array.from(INIT);
393
+ this.buffer = new Uint8Array(BLOCK);
394
+ this.bufferLength = 0;
395
+ this.bytesHashed = 0;
396
+ this.finished = false;
397
+ if (this.key) {
398
+ this.initHmac();
399
+ }
400
+ }
401
+ initHmac() {
402
+ const key = this.key;
403
+ this.inner = new Sha512Js();
404
+ this.outer = new Sha512Js();
405
+ const pad = new Uint8Array(BLOCK * 2);
406
+ for (let i = 0; i < BLOCK; ++i) {
407
+ pad[i] = 0x36 ^ key[i];
408
+ pad[i + BLOCK] = 0x5c ^ key[i];
409
+ }
410
+ this.inner.update(pad.subarray(0, BLOCK));
411
+ this.outer.update(pad.subarray(BLOCK));
412
+ }
413
+ digestSync() {
414
+ const state = this.state.slice();
415
+ const buffer = this.buffer.slice();
416
+ let bufferLength = this.bufferLength;
417
+ const bitsHashed = this.bytesHashed * 8;
418
+ const bitsHi = Math.floor(bitsHashed / 0x100000000);
419
+ const bitsLo = bitsHashed >>> 0;
420
+ buffer[bufferLength++] = 0x80;
421
+ if (bufferLength > BLOCK - 16) {
422
+ for (let i = bufferLength; i < BLOCK; ++i) {
423
+ buffer[i] = 0;
424
+ }
425
+ this.hashBufferWith(state, buffer);
426
+ bufferLength = 0;
427
+ }
428
+ for (let i = bufferLength; i < BLOCK - 8; ++i) {
429
+ buffer[i] = 0;
430
+ }
431
+ const v = new DataView(buffer.buffer, buffer.byteOffset, BLOCK);
432
+ v.setUint32(BLOCK - 8, bitsHi, false);
433
+ v.setUint32(BLOCK - 4, bitsLo, false);
434
+ this.hashBufferWith(state, buffer);
435
+ const out = new Uint8Array(DIGEST_LENGTH);
436
+ const dv = new DataView(out.buffer);
437
+ for (let i = 0; i < 16; ++i) {
438
+ dv.setUint32(i * 4, state[i], false);
439
+ }
440
+ return out;
441
+ }
442
+ static normalizeKey(secret) {
443
+ const key = toUint8Array(secret);
444
+ if (key.byteLength > BLOCK) {
445
+ const h = new Sha512Js();
446
+ h.update(key);
447
+ const padded = new Uint8Array(BLOCK);
448
+ padded.set(h.digestSync());
449
+ return padded;
450
+ }
451
+ const padded = new Uint8Array(BLOCK);
452
+ padded.set(key);
453
+ return padded;
454
+ }
455
+ hashBuffer() {
456
+ this.hashBufferWith(this.state, this.buffer);
457
+ }
458
+ hashBufferWith(state, buffer) {
459
+ const w = (this.w ??= new Uint32Array(160));
460
+ const v = new Uint32Array(16);
461
+ for (let i = 0; i < 16; ++i) {
462
+ v[i] = state[i];
463
+ }
464
+ for (let i = 0; i < 16; ++i) {
465
+ const o = i * 8;
466
+ w[i * 2] = ((buffer[o] << 24) | (buffer[o + 1] << 16) | (buffer[o + 2] << 8) | buffer[o + 3]) >>> 0;
467
+ w[i * 2 + 1] = ((buffer[o + 4] << 24) | (buffer[o + 5] << 16) | (buffer[o + 6] << 8) | buffer[o + 7]) >>> 0;
468
+ }
469
+ for (let i = 16; i < 80; ++i) {
470
+ const g15h = w[(i - 15) * 2];
471
+ const g15l = w[(i - 15) * 2 + 1];
472
+ const s0h = rotrH(g15h, g15l, 1) ^ rotrH(g15h, g15l, 8) ^ shrH(g15h, 7);
473
+ const s0l = rotrL(g15h, g15l, 1) ^ rotrL(g15h, g15l, 8) ^ shrL(g15h, g15l, 7);
474
+ const g2h = w[(i - 2) * 2];
475
+ const g2l = w[(i - 2) * 2 + 1];
476
+ const s1h = rotrH(g2h, g2l, 19) ^ rotrH(g2h, g2l, 61) ^ shrH(g2h, 6);
477
+ const s1l = rotrL(g2h, g2l, 19) ^ rotrL(g2h, g2l, 61) ^ shrL(g2h, g2l, 6);
478
+ const w7h = w[(i - 7) * 2];
479
+ const w7l = w[(i - 7) * 2 + 1];
480
+ const w16h = w[(i - 16) * 2];
481
+ const w16l = w[(i - 16) * 2 + 1];
482
+ let lo = (w16l >>> 0) + (s0l >>> 0);
483
+ let hi = (w16h >>> 0) + (s0h >>> 0) + (lo > 0xffffffff ? 1 : 0);
484
+ lo = (lo >>> 0) + (w7l >>> 0);
485
+ hi = (hi >>> 0) + (w7h >>> 0) + (lo > 0xffffffff ? 1 : 0);
486
+ lo = (lo >>> 0) + (s1l >>> 0);
487
+ hi = (hi >>> 0) + (s1h >>> 0) + (lo > 0xffffffff ? 1 : 0);
488
+ w[i * 2] = hi >>> 0;
489
+ w[i * 2 + 1] = lo >>> 0;
490
+ }
491
+ let ah = v[0], al = v[1], bh = v[2], bl = v[3], ch = v[4], cl = v[5], dh = v[6], dl = v[7], eh = v[8], el = v[9], fh = v[10], fl = v[11], gh = v[12], gl = v[13], hh = v[14], hl = v[15];
492
+ for (let i = 0; i < 80; ++i) {
493
+ const s1h = rotrH(eh, el, 14) ^ rotrH(eh, el, 18) ^ rotrH(eh, el, 41);
494
+ const s1l = rotrL(eh, el, 14) ^ rotrL(eh, el, 18) ^ rotrL(eh, el, 41);
495
+ const chh = (eh & fh) ^ (~eh & gh);
496
+ const chl = (el & fl) ^ (~el & gl);
497
+ let t1l = (hl >>> 0) + (s1l >>> 0);
498
+ let t1h = (hh >>> 0) + (s1h >>> 0) + (t1l > 0xffffffff ? 1 : 0);
499
+ t1l = (t1l >>> 0) + (chl >>> 0);
500
+ t1h = (t1h >>> 0) + (chh >>> 0) + (t1l > 0xffffffff ? 1 : 0);
501
+ t1l = (t1l >>> 0) + (K[i * 2 + 1] >>> 0);
502
+ t1h = (t1h >>> 0) + (K[i * 2] >>> 0) + (t1l > 0xffffffff ? 1 : 0);
503
+ t1l = (t1l >>> 0) + (w[i * 2 + 1] >>> 0);
504
+ t1h = (t1h >>> 0) + (w[i * 2] >>> 0) + (t1l > 0xffffffff ? 1 : 0);
505
+ const s0h = rotrH(ah, al, 28) ^ rotrH(ah, al, 34) ^ rotrH(ah, al, 39);
506
+ const s0l = rotrL(ah, al, 28) ^ rotrL(ah, al, 34) ^ rotrL(ah, al, 39);
507
+ const majh = (ah & bh) ^ (ah & ch) ^ (bh & ch);
508
+ const majl = (al & bl) ^ (al & cl) ^ (bl & cl);
509
+ let t2l = (s0l >>> 0) + (majl >>> 0);
510
+ let t2h = (s0h >>> 0) + (majh >>> 0) + (t2l > 0xffffffff ? 1 : 0);
511
+ t2l = t2l >>> 0;
512
+ t2h = t2h >>> 0;
513
+ hh = gh;
514
+ hl = gl;
515
+ gh = fh;
516
+ gl = fl;
517
+ fh = eh;
518
+ fl = el;
519
+ let el2 = (dl >>> 0) + (t1l >>> 0);
520
+ let eh2 = (dh >>> 0) + (t1h >>> 0) + (el2 > 0xffffffff ? 1 : 0);
521
+ eh = eh2 >>> 0;
522
+ el = el2 >>> 0;
523
+ dh = ch;
524
+ dl = cl;
525
+ ch = bh;
526
+ cl = bl;
527
+ bh = ah;
528
+ bl = al;
529
+ let al2 = (t1l >>> 0) + (t2l >>> 0);
530
+ let ah2 = (t1h >>> 0) + (t2h >>> 0) + (al2 > 0xffffffff ? 1 : 0);
531
+ ah = ah2 >>> 0;
532
+ al = al2 >>> 0;
533
+ }
534
+ addInto(state, 0, ah, al);
535
+ addInto(state, 1, bh, bl);
536
+ addInto(state, 2, ch, cl);
537
+ addInto(state, 3, dh, dl);
538
+ addInto(state, 4, eh, el);
539
+ addInto(state, 5, fh, fl);
540
+ addInto(state, 6, gh, gl);
541
+ addInto(state, 7, hh, hl);
542
+ }
543
+ }
544
+ function addInto(state, slot, vh, vl) {
545
+ const i = slot * 2;
546
+ const lo = (state[i + 1] >>> 0) + (vl >>> 0);
547
+ const hi = (state[i] >>> 0) + (vh >>> 0) + (lo > 0xffffffff ? 1 : 0);
548
+ state[i] = hi >>> 0;
549
+ state[i + 1] = lo >>> 0;
550
+ }
551
+ function rotrH(hi, lo, n) {
552
+ if (n < 32) {
553
+ return ((hi >>> n) | (lo << (32 - n))) >>> 0;
554
+ }
555
+ if (n === 32) {
556
+ return lo >>> 0;
557
+ }
558
+ return ((lo >>> (n - 32)) | (hi << (64 - n))) >>> 0;
559
+ }
560
+ function rotrL(hi, lo, n) {
561
+ if (n < 32) {
562
+ return ((lo >>> n) | (hi << (32 - n))) >>> 0;
563
+ }
564
+ if (n === 32) {
565
+ return hi >>> 0;
566
+ }
567
+ return ((hi >>> (n - 32)) | (lo << (64 - n))) >>> 0;
568
+ }
569
+ function shrH(hi, n) {
570
+ if (n < 32) {
571
+ return hi >>> n;
572
+ }
573
+ return 0;
574
+ }
575
+ function shrL(hi, lo, n) {
576
+ if (n < 32) {
577
+ return ((lo >>> n) | (hi << (32 - n))) >>> 0;
578
+ }
579
+ if (n === 32) {
580
+ return hi >>> 0;
581
+ }
582
+ return hi >>> (n - 32);
583
+ }
584
+
585
+ let nativeSupported;
586
+ function detectNative() {
587
+ if (nativeSupported === undefined) {
588
+ try {
589
+ createHash("sha512");
590
+ nativeSupported = true;
591
+ }
592
+ catch {
593
+ nativeSupported = false;
594
+ }
595
+ }
596
+ return nativeSupported;
597
+ }
598
+ class Sha512 extends Sha512Js {
599
+ native;
600
+ nativeSecret;
601
+ nativeFinished = false;
602
+ constructor(secret) {
603
+ super(secret);
604
+ this.nativeSecret = secret;
605
+ if (detectNative()) {
606
+ this.native = this.createNative();
607
+ }
608
+ }
609
+ update(data) {
610
+ if (!this.native) {
611
+ super.update(data);
612
+ return;
613
+ }
614
+ if (this.nativeFinished) {
615
+ throw new Error("Attempted to update an already finished hash.");
616
+ }
617
+ this.native.update(data);
618
+ }
619
+ async digest() {
620
+ if (!this.native) {
621
+ return super.digest();
622
+ }
623
+ let buf;
624
+ if (this.nativeSecret !== undefined) {
625
+ this.nativeFinished = true;
626
+ buf = this.native.digest();
627
+ }
628
+ else {
629
+ buf = this.native.copy().digest();
630
+ }
631
+ return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
632
+ }
633
+ reset() {
634
+ if (!this.native) {
635
+ super.reset();
636
+ return;
637
+ }
638
+ this.native = this.createNative();
639
+ this.nativeFinished = false;
640
+ }
641
+ createNative() {
642
+ return this.nativeSecret !== undefined ? createHmac("sha512", toBuffer(this.nativeSecret)) : createHash("sha512");
643
+ }
644
+ }
645
+ function toBuffer(data) {
646
+ if (typeof data === "string") {
647
+ return data;
648
+ }
649
+ if (ArrayBuffer.isView(data)) {
650
+ return Buffer.from(data.buffer, data.byteOffset, data.byteLength);
651
+ }
652
+ return Buffer.from(data);
653
+ }
654
+
655
+ const { digest, sign, importKey } = globalThis?.crypto?.subtle ?? {};
656
+ const subtle = typeof digest === "function" && typeof sign === "function" && typeof importKey === "function"
657
+ ? globalThis.crypto.subtle
658
+ : undefined;
659
+ const MAX_PENDING_BYTES = 8 * 1024 * 1024;
660
+ const BLOCK_SIZE = 128;
661
+ class Sha512WebCrypto {
662
+ digestLength = 64;
663
+ secret;
664
+ pending = [];
665
+ pendingBytes = 0;
666
+ fallback;
667
+ finished = false;
668
+ constructor(secret) {
669
+ if (secret !== undefined) {
670
+ const key = toUint8Array(secret);
671
+ this.secret = key.byteLength === 0 ? new Uint8Array(BLOCK_SIZE) : key;
672
+ }
673
+ if (!subtle) {
674
+ this.fallback = new Sha512Js(secret);
675
+ }
676
+ }
677
+ update(data) {
678
+ if (this.finished) {
679
+ throw new Error("Attempted to update an already finished HMAC.");
680
+ }
681
+ if (this.fallback) {
682
+ this.fallback.update(data);
683
+ return;
684
+ }
685
+ this.pending.push(data.slice());
686
+ this.pendingBytes += data.byteLength;
687
+ if (this.pendingBytes >= MAX_PENDING_BYTES) {
688
+ this.switchToFallback();
689
+ }
690
+ }
691
+ async digest() {
692
+ if (this.fallback) {
693
+ return this.fallback.digest();
694
+ }
695
+ if (this.secret && this.finished) {
696
+ throw new Error("Attempted to digest an already finished HMAC.");
697
+ }
698
+ const data = concatBytes(this.pending);
699
+ if (this.secret) {
700
+ this.finished = true;
701
+ const key = await subtle.importKey("raw", this.secret, { name: "HMAC", hash: "SHA-512" }, false, ["sign"]);
702
+ const sig = await subtle.sign("HMAC", key, data);
703
+ return new Uint8Array(sig);
704
+ }
705
+ const hash = await subtle.digest("SHA-512", data);
706
+ return new Uint8Array(hash);
707
+ }
708
+ reset() {
709
+ this.pending = [];
710
+ this.pendingBytes = 0;
711
+ this.finished = false;
712
+ if (subtle) {
713
+ this.fallback = undefined;
714
+ }
715
+ else {
716
+ this.fallback = new Sha512Js(this.secret);
717
+ }
718
+ }
719
+ switchToFallback() {
720
+ const sha512Js = new Sha512Js(this.secret);
721
+ for (const chunk of this.pending) {
722
+ sha512Js.update(chunk);
723
+ }
724
+ this.fallback = sha512Js;
725
+ this.pending = [];
726
+ this.pendingBytes = 0;
727
+ }
728
+ }
729
+
309
730
  exports.Sha1 = Sha1Node;
310
731
  exports.Sha1Js = Sha1Js;
311
732
  exports.Sha1Node = Sha1Node;
312
733
  exports.Sha1WebCrypto = Sha1WebCrypto;
734
+ exports.Sha512 = Sha512;
735
+ exports.Sha512Js = Sha512Js;
736
+ exports.Sha512WebCrypto = Sha512WebCrypto;