@aws/lsp-codewhisperer 0.0.27 → 0.0.28

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 (553) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +59 -1
  3. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  4. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
  5. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  6. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
  7. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/package.json +6 -6
  8. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/README.md +9 -0
  9. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/index.js +193 -76
  10. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http-handler.js +39 -15
  11. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  12. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-handler.js +9 -1
  13. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/server.mock.js +9 -2
  14. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  15. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  16. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +22 -0
  17. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
  18. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  19. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/write-request-body.js +13 -9
  20. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  21. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +7 -0
  22. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +11 -0
  23. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +7 -0
  24. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  25. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  26. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
  27. package/node_modules/{@smithy/node-http-handler/dist-types → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4}/set-socket-keep-alive.d.ts +7 -6
  28. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
  29. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  30. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/package.json +10 -10
  31. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
  32. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
  33. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +53 -0
  34. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +53 -0
  35. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/package.json +6 -6
  36. package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
  37. package/out/client/token/bearer-token-service.json +1650 -96
  38. package/out/constants.d.ts +3 -0
  39. package/out/constants.js +4 -1
  40. package/out/constants.js.map +1 -1
  41. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.d.ts +38 -0
  42. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js +85 -0
  43. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js.map +1 -0
  44. package/out/language-server/chat/chatController.d.ts +1 -1
  45. package/out/language-server/chat/chatController.js +2 -2
  46. package/out/language-server/chat/chatController.js.map +1 -1
  47. package/out/language-server/codeWhispererServer.js +7 -32
  48. package/out/language-server/codeWhispererServer.js.map +1 -1
  49. package/out/language-server/codeWhispererService.d.ts +4 -0
  50. package/out/language-server/codeWhispererService.js +6 -0
  51. package/out/language-server/codeWhispererService.js.map +1 -1
  52. package/out/language-server/configuration/qConfigurationServer.d.ts +18 -1
  53. package/out/language-server/configuration/qConfigurationServer.js +107 -6
  54. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  55. package/out/language-server/dependencyGraph/commonUtil.d.ts +0 -1
  56. package/out/language-server/dependencyGraph/commonUtil.js +0 -11
  57. package/out/language-server/dependencyGraph/commonUtil.js.map +1 -1
  58. package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
  59. package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
  60. package/out/language-server/netTransform/transformHandler.d.ts +3 -2
  61. package/out/language-server/netTransform/transformHandler.js +7 -2
  62. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  63. package/out/language-server/netTransformServer.js +1 -1
  64. package/out/language-server/netTransformServer.js.map +1 -1
  65. package/out/language-server/telemetry/codeDiffTracker.js +15 -12
  66. package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
  67. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js +2 -2
  68. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js.map +1 -1
  69. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +2 -2
  70. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  71. package/out/language-server/utils.d.ts +1 -0
  72. package/out/language-server/utils.js +4 -0
  73. package/out/language-server/utils.js.map +1 -1
  74. package/package.json +8 -8
  75. package/node_modules/@smithy/node-http-handler/README.md +0 -4
  76. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -21
  77. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -8
  78. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -6
  79. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -14
  80. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
  81. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
  82. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  83. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  84. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  85. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -13
  86. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -13
  87. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -23
  88. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -23
  89. package/out/language-server/auto-trigger/autoTrigger.test.d.ts +0 -1
  90. package/out/language-server/auto-trigger/autoTrigger.test.js +0 -82
  91. package/out/language-server/auto-trigger/autoTrigger.test.js.map +0 -1
  92. package/out/language-server/chat/chatController.test.d.ts +0 -1
  93. package/out/language-server/chat/chatController.test.js +0 -709
  94. package/out/language-server/chat/chatController.test.js.map +0 -1
  95. package/out/language-server/chat/chatEventParser.test.d.ts +0 -1
  96. package/out/language-server/chat/chatEventParser.test.js +0 -239
  97. package/out/language-server/chat/chatEventParser.test.js.map +0 -1
  98. package/out/language-server/chat/chatSessionManagementService.test.d.ts +0 -1
  99. package/out/language-server/chat/chatSessionManagementService.test.js +0 -77
  100. package/out/language-server/chat/chatSessionManagementService.test.js.map +0 -1
  101. package/out/language-server/chat/chatSessionService.test.d.ts +0 -1
  102. package/out/language-server/chat/chatSessionService.test.js +0 -86
  103. package/out/language-server/chat/chatSessionService.test.js.map +0 -1
  104. package/out/language-server/chat/contexts/documentContext.test.d.ts +0 -1
  105. package/out/language-server/chat/contexts/documentContext.test.js +0 -117
  106. package/out/language-server/chat/contexts/documentContext.test.js.map +0 -1
  107. package/out/language-server/chat/contexts/triggerContexts.test.d.ts +0 -1
  108. package/out/language-server/chat/contexts/triggerContexts.test.js +0 -81
  109. package/out/language-server/chat/contexts/triggerContexts.test.js.map +0 -1
  110. package/out/language-server/chat/contexts/utils.test.d.ts +0 -1
  111. package/out/language-server/chat/contexts/utils.test.js +0 -72
  112. package/out/language-server/chat/contexts/utils.test.js.map +0 -1
  113. package/out/language-server/chat/telemetry/chatTelemetryController.test.d.ts +0 -1
  114. package/out/language-server/chat/telemetry/chatTelemetryController.test.js +0 -195
  115. package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +0 -1
  116. package/out/language-server/codeWhispererServer.test.d.ts +0 -1
  117. package/out/language-server/codeWhispererServer.test.js +0 -1377
  118. package/out/language-server/codeWhispererServer.test.js.map +0 -1
  119. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.d.ts +0 -1
  120. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +0 -483
  121. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +0 -1
  122. package/out/language-server/dependencyGraph/gitIgnoreFilter.d.ts +0 -7
  123. package/out/language-server/dependencyGraph/gitIgnoreFilter.js +0 -39
  124. package/out/language-server/dependencyGraph/gitIgnoreFilter.js.map +0 -1
  125. package/out/language-server/languageDetection.test.d.ts +0 -1
  126. package/out/language-server/languageDetection.test.js +0 -31
  127. package/out/language-server/languageDetection.test.js.map +0 -1
  128. package/out/language-server/mergeRightUtils.test.d.ts +0 -1
  129. package/out/language-server/mergeRightUtils.test.js +0 -53
  130. package/out/language-server/mergeRightUtils.test.js.map +0 -1
  131. package/out/language-server/netTransform/tests/converter.test.d.ts +0 -1
  132. package/out/language-server/netTransform/tests/converter.test.js +0 -108
  133. package/out/language-server/netTransform/tests/converter.test.js.map +0 -1
  134. package/out/language-server/netTransform/tests/transformHandler.test.d.ts +0 -1
  135. package/out/language-server/netTransform/tests/transformHandler.test.js +0 -252
  136. package/out/language-server/netTransform/tests/transformHandler.test.js.map +0 -1
  137. package/out/language-server/netTransform/tests/validation.test.d.ts +0 -1
  138. package/out/language-server/netTransform/tests/validation.test.js +0 -84
  139. package/out/language-server/netTransform/tests/validation.test.js.map +0 -1
  140. package/out/language-server/qChatServer.test.d.ts +0 -1
  141. package/out/language-server/qChatServer.test.js +0 -51
  142. package/out/language-server/qChatServer.test.js.map +0 -1
  143. package/out/language-server/securityScan/securityScanHandler.test.d.ts +0 -1
  144. package/out/language-server/securityScan/securityScanHandler.test.js +0 -171
  145. package/out/language-server/securityScan/securityScanHandler.test.js.map +0 -1
  146. package/out/language-server/session/sessionManager.test.d.ts +0 -1
  147. package/out/language-server/session/sessionManager.test.js +0 -588
  148. package/out/language-server/session/sessionManager.test.js.map +0 -1
  149. package/out/language-server/telemetry/codeDiffTracker.test.d.ts +0 -1
  150. package/out/language-server/telemetry/codeDiffTracker.test.js +0 -125
  151. package/out/language-server/telemetry/codeDiffTracker.test.js.map +0 -1
  152. package/out/language-server/telemetry/codePercentage.test.d.ts +0 -1
  153. package/out/language-server/telemetry/codePercentage.test.js +0 -214
  154. package/out/language-server/telemetry/codePercentage.test.js.map +0 -1
  155. package/out/language-server/telemetry/userTriggerDecision.test.d.ts +0 -1
  156. package/out/language-server/telemetry/userTriggerDecision.test.js +0 -1348
  157. package/out/language-server/telemetry/userTriggerDecision.test.js.map +0 -1
  158. package/out/language-server/telemetry.test.d.ts +0 -1
  159. package/out/language-server/telemetry.test.js +0 -98
  160. package/out/language-server/telemetry.test.js.map +0 -1
  161. package/out/language-server/telemetryService.test.d.ts +0 -1
  162. package/out/language-server/telemetryService.test.js +0 -771
  163. package/out/language-server/telemetryService.test.js.map +0 -1
  164. package/out/language-server/utilities/filesystemUtilities.d.ts +0 -8
  165. package/out/language-server/utilities/filesystemUtilities.js +0 -30
  166. package/out/language-server/utilities/filesystemUtilities.js.map +0 -1
  167. package/out/language-server/utilities/filesystemUtilities.test.d.ts +0 -1
  168. package/out/language-server/utilities/filesystemUtilities.test.js +0 -85
  169. package/out/language-server/utilities/filesystemUtilities.test.js.map +0 -1
  170. package/out/language-server/utilities/pathUtils.d.ts +0 -27
  171. package/out/language-server/utilities/pathUtils.js +0 -79
  172. package/out/language-server/utilities/pathUtils.js.map +0 -1
  173. package/out/language-server/utilities/pathUtils.test.d.ts +0 -1
  174. package/out/language-server/utilities/pathUtils.test.js +0 -43
  175. package/out/language-server/utilities/pathUtils.test.js.map +0 -1
  176. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.d.ts +0 -5
  177. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js +0 -49
  178. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js.map +0 -1
  179. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.d.ts +0 -1
  180. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js +0 -157
  181. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js.map +0 -1
  182. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.d.ts +0 -1
  183. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js +0 -88
  184. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +0 -1
  185. package/out/language-server/utilities/telemetryUtils.test.d.ts +0 -1
  186. package/out/language-server/utilities/telemetryUtils.test.js +0 -207
  187. package/out/language-server/utilities/telemetryUtils.test.js.map +0 -1
  188. package/out/language-server/utilities/textUtils.d.ts +0 -1
  189. package/out/language-server/utilities/textUtils.js +0 -12
  190. package/out/language-server/utilities/textUtils.js.map +0 -1
  191. package/out/language-server/utilities/textUtils.test.d.ts +0 -1
  192. package/out/language-server/utilities/textUtils.test.js +0 -21
  193. package/out/language-server/utilities/textUtils.test.js.map +0 -1
  194. package/out/language-server/utils.test.d.ts +0 -1
  195. package/out/language-server/utils.test.js +0 -152
  196. package/out/language-server/utils.test.js.map +0 -1
  197. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller}/LICENSE +0 -0
  198. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/README.md +0 -0
  199. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -0
  200. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -0
  201. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -0
  202. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -0
  203. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -0
  204. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/index.js +0 -0
  205. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -0
  206. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -0
  207. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/abort-controller → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler}/LICENSE +0 -0
  208. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/constants.js +0 -0
  209. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/get-transformed-headers.js +0 -0
  210. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http-handler.js +0 -0
  211. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -0
  212. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -0
  213. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-handler.js +0 -0
  214. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/readable.mock.js +0 -0
  215. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/server.mock.js +0 -0
  216. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-connection-timeout.js +0 -0
  217. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -0
  218. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-timeout.js +0 -0
  219. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/collector.js +0 -0
  220. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/index.js +0 -0
  221. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -0
  222. /package/node_modules/{@smithy/node-http-handler/dist-cjs/write-request-body.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
  223. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Field.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
  224. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/constants.js +0 -0
  225. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/get-transformed-headers.js +0 -0
  226. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/index.js +0 -0
  227. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-pool.js +0 -0
  228. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/readable.mock.js +0 -0
  229. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/collector.js +0 -0
  230. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -0
  231. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/constants.d.ts +0 -0
  232. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -0
  233. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/index.d.ts +0 -0
  234. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -0
  235. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -0
  236. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-handler.d.ts +0 -0
  237. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/readable.mock.d.ts +0 -0
  238. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/server.mock.d.ts +0 -0
  239. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -0
  240. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/index.d.ts +0 -0
  241. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -0
  242. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -0
  243. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -0
  244. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/index.d.ts +0 -0
  245. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -0
  246. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -0
  247. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -0
  248. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -0
  249. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -0
  250. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -0
  251. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -0
  252. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -0
  253. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -0
  254. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/write-request-body.d.ts +0 -0
  255. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/LICENSE +0 -0
  256. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/README.md +0 -0
  257. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js} +0 -0
  258. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js} +0 -0
  259. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
  260. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -0
  261. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
  262. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js} +0 -0
  263. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js} +0 -0
  264. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/types.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js} +0 -0
  265. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/abort.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js} +0 -0
  266. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Field.js +0 -0
  267. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Fields.js +0 -0
  268. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
  269. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -0
  270. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +0 -0
  271. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +0 -0
  272. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/index.js +0 -0
  273. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +0 -0
  274. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/types.js +0 -0
  275. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -0
  276. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +0 -0
  277. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
  278. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -0
  279. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -0
  280. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +0 -0
  281. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -0
  282. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +0 -0
  283. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
  284. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
  285. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
  286. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
  287. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
  288. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
  289. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
  290. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
  291. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
  292. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/types.d.ts +0 -0
  293. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/LICENSE +0 -0
  294. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/README.md +0 -0
  295. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-cjs/index.js +0 -0
  296. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-es/index.js +0 -0
  297. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/index.d.ts +0 -0
  298. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
  299. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/package.json +0 -0
  300. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/LICENSE +0 -0
  301. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/README.md +0 -0
  302. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/checksum.js → types/dist-cjs/abort.js} +0 -0
  303. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
  304. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
  305. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
  306. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpSigner.js +0 -0
  307. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
  308. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/auth.js +0 -0
  309. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/index.js +0 -0
  310. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
  311. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/client.js → types/dist-cjs/checksum.js} +0 -0
  312. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/command.js → types/dist-cjs/client.js} +0 -0
  313. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/crypto.js → types/dist-cjs/command.js} +0 -0
  314. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/config.js +0 -0
  315. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/index.js +0 -0
  316. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/manager.js +0 -0
  317. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/pool.js +0 -0
  318. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/encode.js → types/dist-cjs/crypto.js} +0 -0
  319. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
  320. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/endpoint.js → types/dist-cjs/encode.js} +0 -0
  321. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/eventStream.js → types/dist-cjs/endpoint.js} +0 -0
  322. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
  323. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
  324. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
  325. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
  326. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/index.js +0 -0
  327. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/shared.js +0 -0
  328. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/http.js → types/dist-cjs/eventStream.js} +0 -0
  329. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/checksum.js +0 -0
  330. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
  331. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
  332. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/index.js +0 -0
  333. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/retry.js +0 -0
  334. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
  335. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
  336. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/logger.js → types/dist-cjs/http.js} +0 -0
  337. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
  338. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
  339. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/identity.js +0 -0
  340. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/index.js +0 -0
  341. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/tokenIdentity.js +0 -0
  342. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/index.js +0 -0
  343. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/middleware.js → types/dist-cjs/logger.js} +0 -0
  344. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/pagination.js → types/dist-cjs/middleware.js} +0 -0
  345. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/profile.js → types/dist-cjs/pagination.js} +0 -0
  346. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/response.js → types/dist-cjs/profile.js} +0 -0
  347. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/retry.js → types/dist-cjs/response.js} +0 -0
  348. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/serde.js → types/dist-cjs/retry.js} +0 -0
  349. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/shapes.js → types/dist-cjs/serde.js} +0 -0
  350. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/signature.js → types/dist-cjs/shapes.js} +0 -0
  351. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/stream.js → types/dist-cjs/signature.js} +0 -0
  352. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/transfer.js → types/dist-cjs/stream.js} +0 -0
  353. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
  354. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  355. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  356. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/uri.js → types/dist-cjs/transfer.js} +0 -0
  357. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-method-transforms.js +0 -0
  358. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
  359. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/exact.js +0 -0
  360. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/no-undefined.js +0 -0
  361. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/type-transform.js +0 -0
  362. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/util.js → types/dist-cjs/uri.js} +0 -0
  363. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/waiter.js → types/dist-cjs/util.js} +0 -0
  364. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/abort.js +0 -0
  365. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
  366. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthScheme.js +0 -0
  367. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
  368. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpSigner.js +0 -0
  369. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/IdentityProviderConfig.js +0 -0
  370. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/auth.js +0 -0
  371. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/index.js +0 -0
  372. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/blob/blob-payload-input-types.js +0 -0
  373. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/checksum.js +0 -0
  374. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/client.js +0 -0
  375. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/command.js +0 -0
  376. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/config.js +0 -0
  377. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/index.js +0 -0
  378. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/manager.js +0 -0
  379. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/pool.js +0 -0
  380. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/crypto.js +0 -0
  381. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
  382. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/encode.js +0 -0
  383. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoint.js +0 -0
  384. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
  385. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
  386. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/RuleSetObject.js +0 -0
  387. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/TreeRuleObject.js +0 -0
  388. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/index.js +0 -0
  389. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/shared.js +0 -0
  390. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/eventStream.js +0 -0
  391. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/checksum.js +0 -0
  392. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
  393. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
  394. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/index.js +0 -0
  395. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/retry.js +0 -0
  396. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/externals-check/browser-externals-check.js +0 -0
  397. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http/httpHandlerInitialization.js +0 -0
  398. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http.js +0 -0
  399. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/apiKeyIdentity.js +0 -0
  400. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/awsCredentialIdentity.js +0 -0
  401. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/identity.js +0 -0
  402. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/index.js +0 -0
  403. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/tokenIdentity.js +0 -0
  404. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/index.js +0 -0
  405. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/logger.js +0 -0
  406. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/middleware.js +0 -0
  407. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/pagination.js +0 -0
  408. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/profile.js +0 -0
  409. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/response.js +0 -0
  410. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/retry.js +0 -0
  411. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/serde.js +0 -0
  412. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/shapes.js +0 -0
  413. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/signature.js +0 -0
  414. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/stream.js +0 -0
  415. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
  416. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  417. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  418. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transfer.js +0 -0
  419. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-method-transforms.js +0 -0
  420. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
  421. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/exact.js +0 -0
  422. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/no-undefined.js +0 -0
  423. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/type-transform.js +0 -0
  424. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/uri.js +0 -0
  425. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/util.js +0 -0
  426. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/waiter.js +0 -0
  427. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/abort.d.ts +0 -0
  428. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
  429. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
  430. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
  431. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpSigner.d.ts +0 -0
  432. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
  433. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/auth.d.ts +0 -0
  434. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/index.d.ts +0 -0
  435. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
  436. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/checksum.d.ts +0 -0
  437. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/client.d.ts +0 -0
  438. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/command.d.ts +0 -0
  439. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/config.d.ts +0 -0
  440. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/index.d.ts +0 -0
  441. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/manager.d.ts +0 -0
  442. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/pool.d.ts +0 -0
  443. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/crypto.d.ts +0 -0
  444. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  445. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/encode.d.ts +0 -0
  446. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoint.d.ts +0 -0
  447. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
  448. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
  449. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
  450. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
  451. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/index.d.ts +0 -0
  452. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/shared.d.ts +0 -0
  453. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/eventStream.d.ts +0 -0
  454. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/checksum.d.ts +0 -0
  455. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
  456. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
  457. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/index.d.ts +0 -0
  458. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/retry.d.ts +0 -0
  459. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
  460. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
  461. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http.d.ts +0 -0
  462. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
  463. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
  464. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/identity.d.ts +0 -0
  465. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/index.d.ts +0 -0
  466. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/tokenIdentity.d.ts +0 -0
  467. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/index.d.ts +0 -0
  468. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/logger.d.ts +0 -0
  469. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/middleware.d.ts +0 -0
  470. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/pagination.d.ts +0 -0
  471. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/profile.d.ts +0 -0
  472. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/response.d.ts +0 -0
  473. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/retry.d.ts +0 -0
  474. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/serde.d.ts +0 -0
  475. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/shapes.d.ts +0 -0
  476. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/signature.d.ts +0 -0
  477. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/stream.d.ts +0 -0
  478. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  479. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  480. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  481. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transfer.d.ts +0 -0
  482. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-method-transforms.d.ts +0 -0
  483. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
  484. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/exact.d.ts +0 -0
  485. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/no-undefined.d.ts +0 -0
  486. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/type-transform.d.ts +0 -0
  487. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/abort.d.ts +0 -0
  488. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
  489. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
  490. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
  491. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
  492. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
  493. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
  494. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/index.d.ts +0 -0
  495. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -0
  496. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/checksum.d.ts +0 -0
  497. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/client.d.ts +0 -0
  498. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/command.d.ts +0 -0
  499. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/config.d.ts +0 -0
  500. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/index.d.ts +0 -0
  501. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
  502. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
  503. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/crypto.d.ts +0 -0
  504. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  505. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/encode.d.ts +0 -0
  506. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoint.d.ts +0 -0
  507. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
  508. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
  509. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
  510. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
  511. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
  512. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
  513. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/eventStream.d.ts +0 -0
  514. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
  515. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
  516. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
  517. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
  518. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
  519. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -0
  520. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
  521. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http.d.ts +0 -0
  522. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
  523. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
  524. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
  525. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/index.d.ts +0 -0
  526. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
  527. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/index.d.ts +0 -0
  528. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/logger.d.ts +0 -0
  529. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/middleware.d.ts +0 -0
  530. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/pagination.d.ts +0 -0
  531. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/profile.d.ts +0 -0
  532. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/response.d.ts +0 -0
  533. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/retry.d.ts +0 -0
  534. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/serde.d.ts +0 -0
  535. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/shapes.d.ts +0 -0
  536. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/signature.d.ts +0 -0
  537. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/stream.d.ts +0 -0
  538. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  539. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  540. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  541. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transfer.d.ts +0 -0
  542. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
  543. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -0
  544. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
  545. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
  546. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/type-transform.d.ts +0 -0
  547. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/uri.d.ts +0 -0
  548. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/util.d.ts +0 -0
  549. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/waiter.d.ts +0 -0
  550. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/uri.d.ts +0 -0
  551. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/util.d.ts +0 -0
  552. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/waiter.d.ts +0 -0
  553. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/package.json +0 -0
@@ -7,6 +7,7 @@ import { getTransformedHeaders } from "./get-transformed-headers";
7
7
  import { setConnectionTimeout } from "./set-connection-timeout";
8
8
  import { setSocketKeepAlive } from "./set-socket-keep-alive";
9
9
  import { setSocketTimeout } from "./set-socket-timeout";
10
+ import { timing } from "./timing";
10
11
  import { writeRequestBody } from "./write-request-body";
11
12
  export const DEFAULT_REQUEST_TIMEOUT = 0;
12
13
  export class NodeHttpHandler {
@@ -16,7 +17,7 @@ export class NodeHttpHandler {
16
17
  }
17
18
  return new NodeHttpHandler(instanceOrOptions);
18
19
  }
19
- static checkSocketUsage(agent, socketWarningTimestamp) {
20
+ static checkSocketUsage(agent, socketWarningTimestamp, logger = console) {
20
21
  const { sockets, requests, maxSockets } = agent;
21
22
  if (typeof maxSockets !== "number" || maxSockets === Infinity) {
22
23
  return socketWarningTimestamp;
@@ -30,7 +31,9 @@ export class NodeHttpHandler {
30
31
  const socketsInUse = sockets[origin]?.length ?? 0;
31
32
  const requestsEnqueued = requests[origin]?.length ?? 0;
32
33
  if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
33
- console.warn("@smithy/node-http-handler:WARN", `socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.`, "See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html", "or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.");
34
+ logger?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.
35
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
36
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`);
34
37
  return Date.now();
35
38
  }
36
39
  }
@@ -72,6 +75,7 @@ export class NodeHttpHandler {
72
75
  }
73
76
  return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
74
77
  })(),
78
+ logger: console,
75
79
  };
76
80
  }
77
81
  destroy() {
@@ -82,16 +86,17 @@ export class NodeHttpHandler {
82
86
  if (!this.config) {
83
87
  this.config = await this.configProvider;
84
88
  }
85
- let socketCheckTimeoutId;
86
89
  return new Promise((_resolve, _reject) => {
87
90
  let writeRequestBodyPromise = undefined;
91
+ const timeouts = [];
88
92
  const resolve = async (arg) => {
89
93
  await writeRequestBodyPromise;
90
- clearTimeout(socketCheckTimeoutId);
94
+ timeouts.forEach(timing.clearTimeout);
91
95
  _resolve(arg);
92
96
  };
93
97
  const reject = async (arg) => {
94
98
  await writeRequestBodyPromise;
99
+ timeouts.forEach(timing.clearTimeout);
95
100
  _reject(arg);
96
101
  };
97
102
  if (!this.config) {
@@ -105,9 +110,10 @@ export class NodeHttpHandler {
105
110
  }
106
111
  const isSSL = request.protocol === "https:";
107
112
  const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
108
- socketCheckTimeoutId = setTimeout(() => {
109
- this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp);
110
- }, this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000));
113
+ timeouts.push(timing.setTimeout(() => {
114
+ this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, this.config.logger);
115
+ }, this.config.socketAcquisitionWarningTimeout ??
116
+ (this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000)));
111
117
  const queryString = buildQueryString(request.query || {});
112
118
  let auth = undefined;
113
119
  if (request.username != null || request.password != null) {
@@ -122,9 +128,16 @@ export class NodeHttpHandler {
122
128
  if (request.fragment) {
123
129
  path += `#${request.fragment}`;
124
130
  }
131
+ let hostname = request.hostname ?? "";
132
+ if (hostname[0] === "[" && hostname.endsWith("]")) {
133
+ hostname = request.hostname.slice(1, -1);
134
+ }
135
+ else {
136
+ hostname = request.hostname;
137
+ }
125
138
  const nodeHttpsOptions = {
126
139
  headers: request.headers,
127
- host: request.hostname,
140
+ host: hostname,
128
141
  method: request.method,
129
142
  path,
130
143
  port: request.port,
@@ -149,24 +162,35 @@ export class NodeHttpHandler {
149
162
  reject(err);
150
163
  }
151
164
  });
152
- setConnectionTimeout(req, reject, this.config.connectionTimeout);
153
- setSocketTimeout(req, reject, this.config.requestTimeout);
154
165
  if (abortSignal) {
155
- abortSignal.onabort = () => {
156
- req.abort();
166
+ const onAbort = () => {
167
+ req.destroy();
157
168
  const abortError = new Error("Request aborted");
158
169
  abortError.name = "AbortError";
159
170
  reject(abortError);
160
171
  };
172
+ if (typeof abortSignal.addEventListener === "function") {
173
+ const signal = abortSignal;
174
+ signal.addEventListener("abort", onAbort, { once: true });
175
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
176
+ }
177
+ else {
178
+ abortSignal.onabort = onAbort;
179
+ }
161
180
  }
181
+ timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
182
+ timeouts.push(setSocketTimeout(req, reject, this.config.requestTimeout));
162
183
  const httpAgent = nodeHttpsOptions.agent;
163
184
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
164
- setSocketKeepAlive(req, {
185
+ timeouts.push(setSocketKeepAlive(req, {
165
186
  keepAlive: httpAgent.keepAlive,
166
187
  keepAliveMsecs: httpAgent.keepAliveMsecs,
167
- });
188
+ }));
168
189
  }
169
- writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(_reject);
190
+ writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
191
+ timeouts.forEach(timing.clearTimeout);
192
+ return _reject(e);
193
+ });
170
194
  });
171
195
  }
172
196
  updateHttpClientConfig(key, value) {
@@ -72,7 +72,7 @@ export class NodeHttp2ConnectionManager {
72
72
  }
73
73
  }
74
74
  setMaxConcurrentStreams(maxConcurrentStreams) {
75
- if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) {
75
+ if (maxConcurrentStreams && maxConcurrentStreams <= 0) {
76
76
  throw new RangeError("maxConcurrentStreams must be greater than zero.");
77
77
  }
78
78
  this.config.maxConcurrency = maxConcurrentStreams;
@@ -113,12 +113,20 @@ export class NodeHttp2Handler {
113
113
  });
114
114
  }
115
115
  if (abortSignal) {
116
- abortSignal.onabort = () => {
116
+ const onAbort = () => {
117
117
  req.close();
118
118
  const abortError = new Error("Request aborted");
119
119
  abortError.name = "AbortError";
120
120
  rejectWithDestroy(abortError);
121
121
  };
122
+ if (typeof abortSignal.addEventListener === "function") {
123
+ const signal = abortSignal;
124
+ signal.addEventListener("abort", onAbort, { once: true });
125
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
126
+ }
127
+ else {
128
+ abortSignal.onabort = onAbort;
129
+ }
122
130
  }
123
131
  req.on("frameError", (type, code, id) => {
124
132
  rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
@@ -4,6 +4,7 @@ import { createServer as createHttp2Server } from "http2";
4
4
  import { createServer as createHttpsServer } from "https";
5
5
  import { join } from "path";
6
6
  import { Readable } from "stream";
7
+ import { timing } from "./timing";
7
8
  const fixturesDir = join(__dirname, "..", "fixtures");
8
9
  const setResponseHeaders = (response, headers) => {
9
10
  for (const [key, value] of Object.entries(headers)) {
@@ -20,17 +21,23 @@ const setResponseBody = (response, body) => {
20
21
  };
21
22
  export const createResponseFunction = (httpResp) => (request, response) => {
22
23
  response.statusCode = httpResp.statusCode;
24
+ if (httpResp.reason) {
25
+ response.statusMessage = httpResp.reason;
26
+ }
23
27
  setResponseHeaders(response, httpResp.headers);
24
28
  setResponseBody(response, httpResp.body);
25
29
  };
26
30
  export const createResponseFunctionWithDelay = (httpResp, delay) => (request, response) => {
27
31
  response.statusCode = httpResp.statusCode;
32
+ if (httpResp.reason) {
33
+ response.statusMessage = httpResp.reason;
34
+ }
28
35
  setResponseHeaders(response, httpResp.headers);
29
- setTimeout(() => setResponseBody(response, httpResp.body), delay);
36
+ timing.setTimeout(() => setResponseBody(response, httpResp.body), delay);
30
37
  };
31
38
  export const createContinueResponseFunction = (httpResp) => (request, response) => {
32
39
  response.writeContinue();
33
- setTimeout(() => {
40
+ timing.setTimeout(() => {
34
41
  createResponseFunction(httpResp)(request, response);
35
42
  }, 100);
36
43
  };
@@ -0,0 +1,36 @@
1
+ import { timing } from "./timing";
2
+ const DEFER_EVENT_LISTENER_TIME = 1000;
3
+ export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
4
+ if (!timeoutInMs) {
5
+ return -1;
6
+ }
7
+ const registerTimeout = (offset) => {
8
+ const timeoutId = timing.setTimeout(() => {
9
+ request.destroy();
10
+ reject(Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
11
+ name: "TimeoutError",
12
+ }));
13
+ }, timeoutInMs - offset);
14
+ const doWithSocket = (socket) => {
15
+ if (socket?.connecting) {
16
+ socket.on("connect", () => {
17
+ timing.clearTimeout(timeoutId);
18
+ });
19
+ }
20
+ else {
21
+ timing.clearTimeout(timeoutId);
22
+ }
23
+ };
24
+ if (request.socket) {
25
+ doWithSocket(request.socket);
26
+ }
27
+ else {
28
+ request.on("socket", doWithSocket);
29
+ }
30
+ };
31
+ if (timeoutInMs < 2000) {
32
+ registerTimeout(0);
33
+ return 0;
34
+ }
35
+ return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
36
+ };
@@ -0,0 +1,22 @@
1
+ import { timing } from "./timing";
2
+ const DEFER_EVENT_LISTENER_TIME = 3000;
3
+ export const setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME) => {
4
+ if (keepAlive !== true) {
5
+ return -1;
6
+ }
7
+ const registerListener = () => {
8
+ if (request.socket) {
9
+ request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
10
+ }
11
+ else {
12
+ request.on("socket", (socket) => {
13
+ socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
14
+ });
15
+ }
16
+ };
17
+ if (deferTimeMs === 0) {
18
+ registerListener();
19
+ return 0;
20
+ }
21
+ return timing.setTimeout(registerListener, deferTimeMs);
22
+ };
@@ -0,0 +1,22 @@
1
+ import { timing } from "./timing";
2
+ const DEFER_EVENT_LISTENER_TIME = 3000;
3
+ export const setSocketTimeout = (request, reject, timeoutInMs = 0) => {
4
+ const registerTimeout = (offset) => {
5
+ const timeout = timeoutInMs - offset;
6
+ const onTimeout = () => {
7
+ request.destroy();
8
+ reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" }));
9
+ };
10
+ if (request.socket) {
11
+ request.socket.setTimeout(timeout, onTimeout);
12
+ }
13
+ else {
14
+ request.setTimeout(timeout, onTimeout);
15
+ }
16
+ };
17
+ if (0 < timeoutInMs && timeoutInMs < 6000) {
18
+ registerTimeout(0);
19
+ return 0;
20
+ }
21
+ return timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
22
+ };
@@ -0,0 +1,41 @@
1
+ import { Collector } from "./collector";
2
+ export const streamCollector = (stream) => {
3
+ if (isReadableStreamInstance(stream)) {
4
+ return collectReadableStream(stream);
5
+ }
6
+ return new Promise((resolve, reject) => {
7
+ const collector = new Collector();
8
+ stream.pipe(collector);
9
+ stream.on("error", (err) => {
10
+ collector.end();
11
+ reject(err);
12
+ });
13
+ collector.on("error", reject);
14
+ collector.on("finish", function () {
15
+ const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
16
+ resolve(bytes);
17
+ });
18
+ });
19
+ };
20
+ const isReadableStreamInstance = (stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream;
21
+ async function collectReadableStream(stream) {
22
+ const chunks = [];
23
+ const reader = stream.getReader();
24
+ let isDone = false;
25
+ let length = 0;
26
+ while (!isDone) {
27
+ const { done, value } = await reader.read();
28
+ if (value) {
29
+ chunks.push(value);
30
+ length += value.length;
31
+ }
32
+ isDone = done;
33
+ }
34
+ const collected = new Uint8Array(length);
35
+ let offset = 0;
36
+ for (const chunk of chunks) {
37
+ collected.set(chunk, offset);
38
+ offset += chunk.length;
39
+ }
40
+ return collected;
41
+ }
@@ -0,0 +1,4 @@
1
+ export const timing = {
2
+ setTimeout: (cb, ms) => setTimeout(cb, ms),
3
+ clearTimeout: (timeoutId) => clearTimeout(timeoutId),
4
+ };
@@ -1,29 +1,33 @@
1
1
  import { Readable } from "stream";
2
+ import { timing } from "./timing";
2
3
  const MIN_WAIT_TIME = 1000;
3
4
  export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
4
5
  const headers = request.headers ?? {};
5
6
  const expect = headers["Expect"] || headers["expect"];
6
7
  let timeoutId = -1;
7
- let hasError = false;
8
+ let sendBody = true;
8
9
  if (expect === "100-continue") {
9
- await Promise.race([
10
+ sendBody = await Promise.race([
10
11
  new Promise((resolve) => {
11
- timeoutId = Number(setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
12
+ timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
12
13
  }),
13
14
  new Promise((resolve) => {
14
15
  httpRequest.on("continue", () => {
15
- clearTimeout(timeoutId);
16
- resolve();
16
+ timing.clearTimeout(timeoutId);
17
+ resolve(true);
18
+ });
19
+ httpRequest.on("response", () => {
20
+ timing.clearTimeout(timeoutId);
21
+ resolve(false);
17
22
  });
18
23
  httpRequest.on("error", () => {
19
- hasError = true;
20
- clearTimeout(timeoutId);
21
- resolve();
24
+ timing.clearTimeout(timeoutId);
25
+ resolve(false);
22
26
  });
23
27
  }),
24
28
  ]);
25
29
  }
26
- if (!hasError) {
30
+ if (sendBody) {
27
31
  writeBody(httpRequest, request.body);
28
32
  }
29
33
  }
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
3
  import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
4
- import type { NodeHttpHandlerOptions } from "@smithy/types";
4
+ import type { Logger, NodeHttpHandlerOptions } from "@smithy/types";
5
5
  import { HttpHandlerOptions, Provider } from "@smithy/types";
6
6
  import { Agent as hAgent } from "http";
7
7
  import { Agent as hsAgent } from "https";
@@ -23,9 +23,11 @@ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptio
23
23
  * @internal
24
24
  *
25
25
  * @param agent - http(s) agent in use by the NodeHttpHandler instance.
26
+ * @param socketWarningTimestamp - last socket usage check timestamp.
27
+ * @param logger - channel for the warning.
26
28
  * @returns timestamp of last emitted warning.
27
29
  */
28
- static checkSocketUsage(agent: hAgent | hsAgent, socketWarningTimestamp: number): number;
30
+ static checkSocketUsage(agent: hAgent | hsAgent, socketWarningTimestamp: number, logger?: Logger): number;
29
31
  constructor(options?: NodeHttpHandlerOptions | Provider<NodeHttpHandlerOptions | void>);
30
32
  private resolveDefaultConfig;
31
33
  destroy(): void;
@@ -0,0 +1,7 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ /// <reference types="node" />
4
+ /// <reference types="node" />
5
+ /// <reference types="node" />
6
+ import { ClientRequest } from "http";
7
+ export declare const setConnectionTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number;
@@ -0,0 +1,11 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ /// <reference types="node" />
4
+ /// <reference types="node" />
5
+ /// <reference types="node" />
6
+ import { ClientRequest } from "http";
7
+ export interface SocketKeepAliveOptions {
8
+ keepAlive: boolean;
9
+ keepAliveMsecs?: number;
10
+ }
11
+ export declare const setSocketKeepAlive: (request: ClientRequest, { keepAlive, keepAliveMsecs }: SocketKeepAliveOptions, deferTimeMs?: number) => NodeJS.Timeout | number;
@@ -0,0 +1,7 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ /// <reference types="node" />
4
+ /// <reference types="node" />
5
+ /// <reference types="node" />
6
+ import { ClientRequest } from "http";
7
+ export declare const setSocketTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @internal
3
+ * For test spies.
4
+ */
5
+ export declare const timing: {
6
+ setTimeout: (cb: (...ignored: any[]) => void | unknown, ms?: number) => number;
7
+ clearTimeout: (timeoutId: string | number | undefined | unknown) => void;
8
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
3
- import { NodeHttpHandlerOptions } from "@smithy/types";
3
+ import { Logger, NodeHttpHandlerOptions } from "@smithy/types";
4
4
  import { HttpHandlerOptions, Provider } from "@smithy/types";
5
5
  import { Agent as hAgent } from "http";
6
6
  import { Agent as hsAgent } from "https";
@@ -22,9 +22,11 @@ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptio
22
22
  * @internal
23
23
  *
24
24
  * @param agent - http(s) agent in use by the NodeHttpHandler instance.
25
+ * @param socketWarningTimestamp - last socket usage check timestamp.
26
+ * @param logger - channel for the warning.
25
27
  * @returns timestamp of last emitted warning.
26
28
  */
27
- static checkSocketUsage(agent: hAgent | hsAgent, socketWarningTimestamp: number): number;
29
+ static checkSocketUsage(agent: hAgent | hsAgent, socketWarningTimestamp: number, logger?: Logger): number;
28
30
  constructor(options?: NodeHttpHandlerOptions | Provider<NodeHttpHandlerOptions | void>);
29
31
  private resolveDefaultConfig;
30
32
  destroy(): void;
@@ -0,0 +1,3 @@
1
+ /// <reference types="node" />
2
+ import { ClientRequest } from "http";
3
+ export declare const setConnectionTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number;
@@ -1,6 +1,7 @@
1
- import { ClientRequest } from "http";
2
- export interface SocketKeepAliveOptions {
3
- keepAlive: boolean;
4
- keepAliveMsecs?: number;
5
- }
6
- export declare const setSocketKeepAlive: (request: ClientRequest, { keepAlive, keepAliveMsecs }: SocketKeepAliveOptions) => void;
1
+ /// <reference types="node" />
2
+ import { ClientRequest } from "http";
3
+ export interface SocketKeepAliveOptions {
4
+ keepAlive: boolean;
5
+ keepAliveMsecs?: number;
6
+ }
7
+ export declare const setSocketKeepAlive: (request: ClientRequest, { keepAlive, keepAliveMsecs }: SocketKeepAliveOptions, deferTimeMs?: number) => NodeJS.Timeout | number;
@@ -0,0 +1,3 @@
1
+ /// <reference types="node" />
2
+ import { ClientRequest } from "http";
3
+ export declare const setSocketTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @internal
3
+ * For test spies.
4
+ */
5
+ export declare const timing: {
6
+ setTimeout: (cb: (...ignored: any[]) => void | unknown, ms?: number) => number;
7
+ clearTimeout: (timeoutId: string | number | undefined | unknown) => void;
8
+ };
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "2.5.0",
3
+ "version": "3.3.3",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
7
  "build:cjs": "node ../../scripts/inline node-http-handler",
8
8
  "build:es": "yarn g:tsc -p tsconfig.es.json",
9
9
  "build:types": "yarn g:tsc -p tsconfig.types.json",
10
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
10
+ "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
14
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "extract:docs": "api-extractor run --local",
16
- "test": "yarn g:jest --coverage --forceExit"
16
+ "test": "yarn g:vitest run",
17
+ "test:watch": "yarn g:vitest watch"
17
18
  },
18
19
  "author": {
19
20
  "name": "AWS SDK for JavaScript Team",
@@ -25,22 +26,21 @@
25
26
  "module": "./dist-es/index.js",
26
27
  "types": "./dist-types/index.d.ts",
27
28
  "dependencies": {
28
- "@smithy/abort-controller": "^2.2.0",
29
- "@smithy/protocol-http": "^3.3.0",
30
- "@smithy/querystring-builder": "^2.2.0",
31
- "@smithy/types": "^2.12.0",
29
+ "@smithy/abort-controller": "^3.1.9",
30
+ "@smithy/protocol-http": "^4.1.8",
31
+ "@smithy/querystring-builder": "^3.0.11",
32
+ "@smithy/types": "^3.7.2",
32
33
  "tslib": "^2.6.2"
33
34
  },
34
35
  "devDependencies": {
35
- "@tsconfig/recommended": "1.0.1",
36
- "@types/node": "^14.14.31",
36
+ "@types/node": "^16.18.96",
37
37
  "concurrently": "7.0.0",
38
38
  "downlevel-dts": "0.10.1",
39
39
  "rimraf": "3.0.2",
40
40
  "typedoc": "0.23.23"
41
41
  },
42
42
  "engines": {
43
- "node": ">=14.0.0"
43
+ "node": ">=16.0.0"
44
44
  },
45
45
  "typesVersions": {
46
46
  "<4.0": {
@@ -24,6 +24,7 @@ __export(src_exports, {
24
24
  Fields: () => Fields,
25
25
  HttpRequest: () => HttpRequest,
26
26
  HttpResponse: () => HttpResponse,
27
+ IHttpRequest: () => import_types.HttpRequest,
27
28
  getHttpHandlerExtensionConfiguration: () => getHttpHandlerExtensionConfiguration,
28
29
  isValidHostname: () => isValidHostname,
29
30
  resolveHttpHandlerRuntimeConfig: () => resolveHttpHandlerRuntimeConfig
@@ -156,6 +157,7 @@ __name(_Fields, "Fields");
156
157
  var Fields = _Fields;
157
158
 
158
159
  // src/httpRequest.ts
160
+
159
161
  var _HttpRequest = class _HttpRequest {
160
162
  constructor(options) {
161
163
  this.method = options.method || "GET";
@@ -170,20 +172,40 @@ var _HttpRequest = class _HttpRequest {
170
172
  this.password = options.password;
171
173
  this.fragment = options.fragment;
172
174
  }
175
+ /**
176
+ * Note: this does not deep-clone the body.
177
+ */
178
+ static clone(request) {
179
+ const cloned = new _HttpRequest({
180
+ ...request,
181
+ headers: { ...request.headers }
182
+ });
183
+ if (cloned.query) {
184
+ cloned.query = cloneQuery(cloned.query);
185
+ }
186
+ return cloned;
187
+ }
188
+ /**
189
+ * This method only actually asserts that request is the interface {@link IHttpRequest},
190
+ * and not necessarily this concrete class. Left in place for API stability.
191
+ *
192
+ * Do not call instance methods on the input of this function, and
193
+ * do not assume it has the HttpRequest prototype.
194
+ */
173
195
  static isInstance(request) {
174
- if (!request)
196
+ if (!request) {
175
197
  return false;
198
+ }
176
199
  const req = request;
177
200
  return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object";
178
201
  }
202
+ /**
203
+ * @deprecated use static HttpRequest.clone(request) instead. It's not safe to call
204
+ * this method because {@link HttpRequest.isInstance} incorrectly
205
+ * asserts that IHttpRequest (interface) objects are of type HttpRequest (class).
206
+ */
179
207
  clone() {
180
- const cloned = new _HttpRequest({
181
- ...this,
182
- headers: { ...this.headers }
183
- });
184
- if (cloned.query)
185
- cloned.query = cloneQuery(cloned.query);
186
- return cloned;
208
+ return _HttpRequest.clone(this);
187
209
  }
188
210
  };
189
211
  __name(_HttpRequest, "HttpRequest");
@@ -16,9 +16,20 @@ export class HttpRequest {
16
16
  this.password = options.password;
17
17
  this.fragment = options.fragment;
18
18
  }
19
+ static clone(request) {
20
+ const cloned = new HttpRequest({
21
+ ...request,
22
+ headers: { ...request.headers },
23
+ });
24
+ if (cloned.query) {
25
+ cloned.query = cloneQuery(cloned.query);
26
+ }
27
+ return cloned;
28
+ }
19
29
  static isInstance(request) {
20
- if (!request)
30
+ if (!request) {
21
31
  return false;
32
+ }
22
33
  const req = request;
23
34
  return ("method" in req &&
24
35
  "protocol" in req &&
@@ -28,13 +39,7 @@ export class HttpRequest {
28
39
  typeof req["headers"] === "object");
29
40
  }
30
41
  clone() {
31
- const cloned = new HttpRequest({
32
- ...this,
33
- headers: { ...this.headers },
34
- });
35
- if (cloned.query)
36
- cloned.query = cloneQuery(cloned.query);
37
- return cloned;
42
+ return HttpRequest.clone(this);
38
43
  }
39
44
  }
40
45
  function cloneQuery(query) {