@slycode/slycode 0.2.11 → 0.2.12

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 (338) hide show
  1. package/dist/messaging/index.js +4 -2
  2. package/dist/messaging/index.js.map +1 -1
  3. package/dist/messaging/stt.d.ts +1 -0
  4. package/dist/messaging/stt.js +66 -57
  5. package/dist/messaging/stt.js.map +1 -1
  6. package/dist/messaging/types.d.ts +1 -0
  7. package/dist/web/.next/BUILD_ID +1 -1
  8. package/dist/web/.next/build-manifest.json +2 -2
  9. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  10. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/endpointResolver.js +33 -0
  11. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/ruleset.js +7 -0
  12. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/index.js +3057 -0
  13. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/S3ServiceException.js +12 -0
  14. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/errors.js +203 -0
  15. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.js +67 -0
  16. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.shared.js +56 -0
  17. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/schemas/schemas_0.js +3258 -0
  18. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/package.json +127 -0
  19. package/dist/web/.next/prerender-manifest.json +3 -3
  20. package/dist/web/.next/server/app/_global-error.html +2 -2
  21. package/dist/web/.next/server/app/_global-error.rsc +1 -1
  22. package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  23. package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  24. package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  25. package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  26. package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  27. package/dist/web/.next/server/app/_not-found.html +1 -1
  28. package/dist/web/.next/server/app/_not-found.rsc +1 -1
  29. package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  30. package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  31. package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  32. package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  33. package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  34. package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  35. package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
  36. package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
  37. package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
  38. package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
  39. package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
  40. package/dist/web/.next/server/chunks/{[root-of-the-server]__a4d171b5._.js → [root-of-the-server]__4297cb97._.js} +3 -3
  41. package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
  42. package/dist/web/.next/server/chunks/{[root-of-the-server]__53ef96b9._.js → [root-of-the-server]__cf14e306._.js} +2 -2
  43. package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
  44. package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
  45. package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
  46. package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
  47. package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
  48. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
  49. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
  50. package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
  51. package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
  52. package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
  53. package/dist/web/.next/server/pages/404.html +1 -1
  54. package/dist/web/.next/server/pages/500.html +2 -2
  55. package/dist/web/.next/server/server-reference-manifest.js +1 -1
  56. package/dist/web/.next/server/server-reference-manifest.json +1 -1
  57. package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
  58. package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
  59. package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
  60. package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
  61. package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
  62. package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
  63. package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
  64. package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
  65. package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
  66. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
  67. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
  68. package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
  69. package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
  70. package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
  71. package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
  72. package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
  73. package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
  74. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  75. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
  76. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  77. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
  78. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  79. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
  80. package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
  81. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  82. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
  83. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
  84. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
  85. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
  86. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
  87. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
  88. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
  89. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
  90. package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
  91. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
  92. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
  93. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
  94. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
  95. package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
  96. package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
  97. package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
  98. package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
  99. package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
  100. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
  101. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
  102. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
  103. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
  104. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
  105. package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
  106. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
  107. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
  108. package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  109. package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  110. package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
  111. package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
  112. package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
  113. package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
  114. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
  115. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  116. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
  117. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
  118. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
  119. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
  120. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
  121. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
  122. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
  123. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
  124. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
  125. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
  126. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
  127. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
  128. package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
  129. package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
  130. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
  131. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
  132. package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
  133. package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
  134. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
  135. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
  136. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
  137. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
  138. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
  139. package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
  140. package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
  141. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
  142. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
  143. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  144. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  145. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
  146. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
  147. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  148. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  149. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
  150. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
  151. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  152. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
  153. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  154. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  155. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
  156. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  157. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
  158. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  159. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
  160. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  161. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
  162. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
  163. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
  164. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
  165. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  166. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  167. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
  168. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
  169. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  170. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
  171. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
  172. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
  173. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
  174. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
  175. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
  176. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
  177. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  178. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  179. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
  180. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
  181. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
  182. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  183. package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
  184. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
  185. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
  186. package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
  187. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
  188. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
  189. package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
  190. package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
  191. package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
  192. package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
  193. package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
  194. package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  195. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
  196. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
  197. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
  198. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
  199. package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
  200. package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
  201. package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
  202. package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
  203. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
  204. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  205. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
  206. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
  207. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
  208. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
  209. package/dist/web/node_modules/@smithy/core/package.json +146 -0
  210. package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
  211. package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  212. package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
  213. package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
  214. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
  215. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
  216. package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
  217. package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
  218. package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
  219. package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
  220. package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
  221. package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
  222. package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
  223. package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
  224. package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
  225. package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
  226. package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  227. package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
  228. package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
  229. package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
  230. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
  231. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
  232. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
  233. package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
  234. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
  235. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
  236. package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
  237. package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
  238. package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
  239. package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
  240. package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
  241. package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
  242. package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
  243. package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
  244. package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
  245. package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  246. package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
  247. package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
  248. package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
  249. package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
  250. package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
  251. package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
  252. package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
  253. package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
  254. package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
  255. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  256. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  257. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
  258. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
  259. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  260. package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  261. package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
  262. package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
  263. package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
  264. package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
  265. package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
  266. package/dist/web/node_modules/@smithy/types/package.json +61 -0
  267. package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
  268. package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
  269. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
  270. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
  271. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
  272. package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
  273. package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
  274. package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
  275. package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
  276. package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
  277. package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  278. package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
  279. package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
  280. package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
  281. package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
  282. package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
  283. package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
  284. package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
  285. package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
  286. package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
  287. package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
  288. package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
  289. package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
  290. package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
  291. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
  292. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  293. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
  294. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
  295. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
  296. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
  297. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
  298. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
  299. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
  300. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
  301. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
  302. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
  303. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
  304. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
  305. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
  306. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
  307. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
  308. package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
  309. package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
  310. package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
  311. package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
  312. package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
  313. package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
  314. package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
  315. package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
  316. package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
  317. package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
  318. package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  319. package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
  320. package/dist/web/node_modules/tslib/package.json +47 -0
  321. package/dist/web/node_modules/tslib/tslib.js +484 -0
  322. package/dist/web/package-lock.json +433 -161
  323. package/dist/web/package.json +2 -1
  324. package/dist/web/src/app/api/transcribe/route.ts +84 -74
  325. package/dist/web/tsconfig.tsbuildinfo +1 -1
  326. package/package.json +1 -1
  327. package/templates/kanban-seed.json +1 -1
  328. package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
  329. package/dist/web/.next/server/chunks/[root-of-the-server]__0f9b71fd._.js +0 -5
  330. package/dist/web/.next/server/chunks/[root-of-the-server]__1dec5018._.js +0 -3
  331. package/dist/web/.next/server/chunks/[root-of-the-server]__2605d761._.js +0 -9
  332. package/dist/web/.next/server/chunks/[root-of-the-server]__8ce673c9._.js +0 -3
  333. package/dist/web/.next/server/chunks/[root-of-the-server]__a43db24d._.js +0 -19
  334. package/dist/web/.next/server/chunks/[root-of-the-server]__c7ac3578._.js +0 -5
  335. package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
  336. /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_buildManifest.js +0 -0
  337. /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_clientMiddlewareManifest.json +0 -0
  338. /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_ssgManifest.js +0 -0
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@smithy/hash-stream-node",
3
+ "version": "4.2.12",
4
+ "scripts": {
5
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
+ "build:cjs": "node ../../scripts/inline hash-stream-node",
7
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
8
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
9
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
10
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
16
+ },
17
+ "main": "./dist-cjs/index.js",
18
+ "module": "./dist-es/index.js",
19
+ "types": "./dist-types/index.d.ts",
20
+ "author": {
21
+ "name": "AWS SDK for JavaScript Team",
22
+ "url": "https://aws.amazon.com/javascript/"
23
+ },
24
+ "license": "Apache-2.0",
25
+ "sideEffects": false,
26
+ "dependencies": {
27
+ "@smithy/types": "^4.13.1",
28
+ "@smithy/util-utf8": "^4.2.2",
29
+ "tslib": "^2.6.2"
30
+ },
31
+ "devDependencies": {
32
+ "@aws-crypto/sha256-js": "5.2.0",
33
+ "@smithy/util-hex-encoding": "^4.2.2",
34
+ "@types/node": "^18.11.9",
35
+ "concurrently": "7.0.0",
36
+ "downlevel-dts": "0.10.1",
37
+ "premove": "4.0.0",
38
+ "typedoc": "0.23.23"
39
+ },
40
+ "engines": {
41
+ "node": ">=18.0.0"
42
+ },
43
+ "typesVersions": {
44
+ "<4.5": {
45
+ "dist-types/*": [
46
+ "dist-types/ts3.4/*"
47
+ ]
48
+ }
49
+ },
50
+ "files": [
51
+ "dist-*/**"
52
+ ],
53
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/hash-stream-node",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
57
+ "directory": "packages/hash-stream-node"
58
+ },
59
+ "typedoc": {
60
+ "entryPoint": "src/index.ts"
61
+ },
62
+ "publishConfig": {
63
+ "directory": ".release/package"
64
+ }
65
+ }
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) ||
4
+ Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
5
+
6
+ exports.isArrayBuffer = isArrayBuffer;
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@smithy/is-array-buffer",
3
+ "version": "4.2.2",
4
+ "description": "Provides a function for detecting if an argument is an ArrayBuffer",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
+ "build:cjs": "node ../../scripts/inline is-array-buffer",
8
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
9
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
10
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
11
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
13
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
15
+ "test": "yarn g:vitest run",
16
+ "test:watch": "yarn g:vitest watch"
17
+ },
18
+ "author": {
19
+ "name": "AWS SDK for JavaScript Team",
20
+ "url": "https://aws.amazon.com/javascript/"
21
+ },
22
+ "license": "Apache-2.0",
23
+ "sideEffects": false,
24
+ "main": "./dist-cjs/index.js",
25
+ "module": "./dist-es/index.js",
26
+ "types": "./dist-types/index.d.ts",
27
+ "dependencies": {
28
+ "tslib": "^2.6.2"
29
+ },
30
+ "engines": {
31
+ "node": ">=18.0.0"
32
+ },
33
+ "typesVersions": {
34
+ "<4.5": {
35
+ "dist-types/*": [
36
+ "dist-types/ts3.4/*"
37
+ ]
38
+ }
39
+ },
40
+ "files": [
41
+ "dist-*/**"
42
+ ],
43
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/is-array-buffer",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
47
+ "directory": "packages/is-array-buffer"
48
+ },
49
+ "devDependencies": {
50
+ "concurrently": "7.0.0",
51
+ "downlevel-dts": "0.10.1",
52
+ "premove": "4.0.0",
53
+ "typedoc": "0.23.23"
54
+ },
55
+ "typedoc": {
56
+ "entryPoint": "src/index.ts"
57
+ },
58
+ "publishConfig": {
59
+ "directory": ".release/package"
60
+ }
61
+ }
@@ -0,0 +1,46 @@
1
+ 'use strict';
2
+
3
+ var protocolHttp = require('@smithy/protocol-http');
4
+
5
+ const CONTENT_LENGTH_HEADER = "content-length";
6
+ function contentLengthMiddleware(bodyLengthChecker) {
7
+ return (next) => async (args) => {
8
+ const request = args.request;
9
+ if (protocolHttp.HttpRequest.isInstance(request)) {
10
+ const { body, headers } = request;
11
+ if (body &&
12
+ Object.keys(headers)
13
+ .map((str) => str.toLowerCase())
14
+ .indexOf(CONTENT_LENGTH_HEADER) === -1) {
15
+ try {
16
+ const length = bodyLengthChecker(body);
17
+ request.headers = {
18
+ ...request.headers,
19
+ [CONTENT_LENGTH_HEADER]: String(length),
20
+ };
21
+ }
22
+ catch (error) {
23
+ }
24
+ }
25
+ }
26
+ return next({
27
+ ...args,
28
+ request,
29
+ });
30
+ };
31
+ }
32
+ const contentLengthMiddlewareOptions = {
33
+ step: "build",
34
+ tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"],
35
+ name: "contentLengthMiddleware",
36
+ override: true,
37
+ };
38
+ const getContentLengthPlugin = (options) => ({
39
+ applyToStack: (clientStack) => {
40
+ clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions);
41
+ },
42
+ });
43
+
44
+ exports.contentLengthMiddleware = contentLengthMiddleware;
45
+ exports.contentLengthMiddlewareOptions = contentLengthMiddlewareOptions;
46
+ exports.getContentLengthPlugin = getContentLengthPlugin;
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@smithy/middleware-content-length",
3
+ "version": "4.2.12",
4
+ "scripts": {
5
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
+ "build:cjs": "node ../../scripts/inline middleware-content-length",
7
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
8
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
9
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
10
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
+ "test": "exit 0",
15
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
16
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
17
+ },
18
+ "main": "./dist-cjs/index.js",
19
+ "module": "./dist-es/index.js",
20
+ "types": "./dist-types/index.d.ts",
21
+ "author": {
22
+ "name": "AWS SDK for JavaScript Team",
23
+ "url": "https://aws.amazon.com/javascript/"
24
+ },
25
+ "license": "Apache-2.0",
26
+ "sideEffects": false,
27
+ "dependencies": {
28
+ "@smithy/protocol-http": "^5.3.12",
29
+ "@smithy/types": "^4.13.1",
30
+ "tslib": "^2.6.2"
31
+ },
32
+ "engines": {
33
+ "node": ">=18.0.0"
34
+ },
35
+ "typesVersions": {
36
+ "<4.5": {
37
+ "dist-types/*": [
38
+ "dist-types/ts3.4/*"
39
+ ]
40
+ }
41
+ },
42
+ "files": [
43
+ "dist-*/**"
44
+ ],
45
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-content-length",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
49
+ "directory": "packages/middleware-content-length"
50
+ },
51
+ "devDependencies": {
52
+ "@smithy/util-test": "^0.2.8",
53
+ "concurrently": "7.0.0",
54
+ "downlevel-dts": "0.10.1",
55
+ "premove": "4.0.0",
56
+ "typedoc": "0.23.23"
57
+ },
58
+ "typedoc": {
59
+ "entryPoint": "src/index.ts"
60
+ },
61
+ "publishConfig": {
62
+ "directory": ".release/package"
63
+ }
64
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getEndpointFromConfig = void 0;
4
+ const node_config_provider_1 = require("@smithy/node-config-provider");
5
+ const getEndpointUrlConfig_1 = require("./getEndpointUrlConfig");
6
+ const getEndpointFromConfig = async (serviceId) => (0, node_config_provider_1.loadConfig)((0, getEndpointUrlConfig_1.getEndpointUrlConfig)(serviceId ?? ""))();
7
+ exports.getEndpointFromConfig = getEndpointFromConfig;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getEndpointUrlConfig = void 0;
4
+ const shared_ini_file_loader_1 = require("@smithy/shared-ini-file-loader");
5
+ const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
6
+ const CONFIG_ENDPOINT_URL = "endpoint_url";
7
+ const getEndpointUrlConfig = (serviceId) => ({
8
+ environmentVariableSelector: (env) => {
9
+ const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
10
+ const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")];
11
+ if (serviceEndpointUrl)
12
+ return serviceEndpointUrl;
13
+ const endpointUrl = env[ENV_ENDPOINT_URL];
14
+ if (endpointUrl)
15
+ return endpointUrl;
16
+ return undefined;
17
+ },
18
+ configFileSelector: (profile, config) => {
19
+ if (config && profile.services) {
20
+ const servicesSection = config[["services", profile.services].join(shared_ini_file_loader_1.CONFIG_PREFIX_SEPARATOR)];
21
+ if (servicesSection) {
22
+ const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
23
+ const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(shared_ini_file_loader_1.CONFIG_PREFIX_SEPARATOR)];
24
+ if (endpointUrl)
25
+ return endpointUrl;
26
+ }
27
+ }
28
+ const endpointUrl = profile[CONFIG_ENDPOINT_URL];
29
+ if (endpointUrl)
30
+ return endpointUrl;
31
+ return undefined;
32
+ },
33
+ default: undefined,
34
+ });
35
+ exports.getEndpointUrlConfig = getEndpointUrlConfig;
@@ -0,0 +1,264 @@
1
+ 'use strict';
2
+
3
+ var getEndpointFromConfig = require('./adaptors/getEndpointFromConfig');
4
+ var urlParser = require('@smithy/url-parser');
5
+ var core = require('@smithy/core');
6
+ var utilMiddleware = require('@smithy/util-middleware');
7
+ var middlewareSerde = require('@smithy/middleware-serde');
8
+
9
+ const resolveParamsForS3 = async (endpointParams) => {
10
+ const bucket = endpointParams?.Bucket || "";
11
+ if (typeof endpointParams.Bucket === "string") {
12
+ endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\?/g, encodeURIComponent("?"));
13
+ }
14
+ if (isArnBucketName(bucket)) {
15
+ if (endpointParams.ForcePathStyle === true) {
16
+ throw new Error("Path-style addressing cannot be used with ARN buckets");
17
+ }
18
+ }
19
+ else if (!isDnsCompatibleBucketName(bucket) ||
20
+ (bucket.indexOf(".") !== -1 && !String(endpointParams.Endpoint).startsWith("http:")) ||
21
+ bucket.toLowerCase() !== bucket ||
22
+ bucket.length < 3) {
23
+ endpointParams.ForcePathStyle = true;
24
+ }
25
+ if (endpointParams.DisableMultiRegionAccessPoints) {
26
+ endpointParams.disableMultiRegionAccessPoints = true;
27
+ endpointParams.DisableMRAP = true;
28
+ }
29
+ return endpointParams;
30
+ };
31
+ const DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;
32
+ const IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/;
33
+ const DOTS_PATTERN = /\.\./;
34
+ const isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName);
35
+ const isArnBucketName = (bucketName) => {
36
+ const [arn, partition, service, , , bucket] = bucketName.split(":");
37
+ const isArn = arn === "arn" && bucketName.split(":").length >= 6;
38
+ const isValidArn = Boolean(isArn && partition && service && bucket);
39
+ if (isArn && !isValidArn) {
40
+ throw new Error(`Invalid ARN: ${bucketName} was an invalid ARN.`);
41
+ }
42
+ return isValidArn;
43
+ };
44
+
45
+ const createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => {
46
+ const configProvider = async () => {
47
+ let configValue;
48
+ if (isClientContextParam) {
49
+ const clientContextParams = config.clientContextParams;
50
+ const nestedValue = clientContextParams?.[configKey];
51
+ configValue = nestedValue ?? config[configKey] ?? config[canonicalEndpointParamKey];
52
+ }
53
+ else {
54
+ configValue = config[configKey] ?? config[canonicalEndpointParamKey];
55
+ }
56
+ if (typeof configValue === "function") {
57
+ return configValue();
58
+ }
59
+ return configValue;
60
+ };
61
+ if (configKey === "credentialScope" || canonicalEndpointParamKey === "CredentialScope") {
62
+ return async () => {
63
+ const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials;
64
+ const configValue = credentials?.credentialScope ?? credentials?.CredentialScope;
65
+ return configValue;
66
+ };
67
+ }
68
+ if (configKey === "accountId" || canonicalEndpointParamKey === "AccountId") {
69
+ return async () => {
70
+ const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials;
71
+ const configValue = credentials?.accountId ?? credentials?.AccountId;
72
+ return configValue;
73
+ };
74
+ }
75
+ if (configKey === "endpoint" || canonicalEndpointParamKey === "endpoint") {
76
+ return async () => {
77
+ if (config.isCustomEndpoint === false) {
78
+ return undefined;
79
+ }
80
+ const endpoint = await configProvider();
81
+ if (endpoint && typeof endpoint === "object") {
82
+ if ("url" in endpoint) {
83
+ return endpoint.url.href;
84
+ }
85
+ if ("hostname" in endpoint) {
86
+ const { protocol, hostname, port, path } = endpoint;
87
+ return `${protocol}//${hostname}${port ? ":" + port : ""}${path}`;
88
+ }
89
+ }
90
+ return endpoint;
91
+ };
92
+ }
93
+ return configProvider;
94
+ };
95
+
96
+ const toEndpointV1 = (endpoint) => {
97
+ if (typeof endpoint === "object") {
98
+ if ("url" in endpoint) {
99
+ const v1Endpoint = urlParser.parseUrl(endpoint.url);
100
+ if (endpoint.headers) {
101
+ v1Endpoint.headers = {};
102
+ for (const [name, values] of Object.entries(endpoint.headers)) {
103
+ v1Endpoint.headers[name.toLowerCase()] = values.join(", ");
104
+ }
105
+ }
106
+ return v1Endpoint;
107
+ }
108
+ return endpoint;
109
+ }
110
+ return urlParser.parseUrl(endpoint);
111
+ };
112
+
113
+ const getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => {
114
+ if (!clientConfig.isCustomEndpoint) {
115
+ let endpointFromConfig;
116
+ if (clientConfig.serviceConfiguredEndpoint) {
117
+ endpointFromConfig = await clientConfig.serviceConfiguredEndpoint();
118
+ }
119
+ else {
120
+ endpointFromConfig = await getEndpointFromConfig.getEndpointFromConfig(clientConfig.serviceId);
121
+ }
122
+ if (endpointFromConfig) {
123
+ clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig));
124
+ clientConfig.isCustomEndpoint = true;
125
+ }
126
+ }
127
+ const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig);
128
+ if (typeof clientConfig.endpointProvider !== "function") {
129
+ throw new Error("config.endpointProvider is not set.");
130
+ }
131
+ const endpoint = clientConfig.endpointProvider(endpointParams, context);
132
+ if (clientConfig.isCustomEndpoint && clientConfig.endpoint) {
133
+ const customEndpoint = await clientConfig.endpoint();
134
+ if (customEndpoint?.headers) {
135
+ endpoint.headers ??= {};
136
+ for (const [name, value] of Object.entries(customEndpoint.headers)) {
137
+ endpoint.headers[name] = Array.isArray(value) ? value : [value];
138
+ }
139
+ }
140
+ }
141
+ return endpoint;
142
+ };
143
+ const resolveParams = async (commandInput, instructionsSupplier, clientConfig) => {
144
+ const endpointParams = {};
145
+ const instructions = instructionsSupplier?.getEndpointParameterInstructions?.() || {};
146
+ for (const [name, instruction] of Object.entries(instructions)) {
147
+ switch (instruction.type) {
148
+ case "staticContextParams":
149
+ endpointParams[name] = instruction.value;
150
+ break;
151
+ case "contextParams":
152
+ endpointParams[name] = commandInput[instruction.name];
153
+ break;
154
+ case "clientContextParams":
155
+ case "builtInParams":
156
+ endpointParams[name] = await createConfigValueProvider(instruction.name, name, clientConfig, instruction.type !== "builtInParams")();
157
+ break;
158
+ case "operationContextParams":
159
+ endpointParams[name] = instruction.get(commandInput);
160
+ break;
161
+ default:
162
+ throw new Error("Unrecognized endpoint parameter instruction: " + JSON.stringify(instruction));
163
+ }
164
+ }
165
+ if (Object.keys(instructions).length === 0) {
166
+ Object.assign(endpointParams, clientConfig);
167
+ }
168
+ if (String(clientConfig.serviceId).toLowerCase() === "s3") {
169
+ await resolveParamsForS3(endpointParams);
170
+ }
171
+ return endpointParams;
172
+ };
173
+
174
+ const endpointMiddleware = ({ config, instructions, }) => {
175
+ return (next, context) => async (args) => {
176
+ if (config.isCustomEndpoint) {
177
+ core.setFeature(context, "ENDPOINT_OVERRIDE", "N");
178
+ }
179
+ const endpoint = await getEndpointFromInstructions(args.input, {
180
+ getEndpointParameterInstructions() {
181
+ return instructions;
182
+ },
183
+ }, { ...config }, context);
184
+ context.endpointV2 = endpoint;
185
+ context.authSchemes = endpoint.properties?.authSchemes;
186
+ const authScheme = context.authSchemes?.[0];
187
+ if (authScheme) {
188
+ context["signing_region"] = authScheme.signingRegion;
189
+ context["signing_service"] = authScheme.signingName;
190
+ const smithyContext = utilMiddleware.getSmithyContext(context);
191
+ const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption;
192
+ if (httpAuthOption) {
193
+ httpAuthOption.signingProperties = Object.assign(httpAuthOption.signingProperties || {}, {
194
+ signing_region: authScheme.signingRegion,
195
+ signingRegion: authScheme.signingRegion,
196
+ signing_service: authScheme.signingName,
197
+ signingName: authScheme.signingName,
198
+ signingRegionSet: authScheme.signingRegionSet,
199
+ }, authScheme.properties);
200
+ }
201
+ }
202
+ return next({
203
+ ...args,
204
+ });
205
+ };
206
+ };
207
+
208
+ const endpointMiddlewareOptions = {
209
+ step: "serialize",
210
+ tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"],
211
+ name: "endpointV2Middleware",
212
+ override: true,
213
+ relation: "before",
214
+ toMiddleware: middlewareSerde.serializerMiddlewareOption.name,
215
+ };
216
+ const getEndpointPlugin = (config, instructions) => ({
217
+ applyToStack: (clientStack) => {
218
+ clientStack.addRelativeTo(endpointMiddleware({
219
+ config,
220
+ instructions,
221
+ }), endpointMiddlewareOptions);
222
+ },
223
+ });
224
+
225
+ const resolveEndpointConfig = (input) => {
226
+ const tls = input.tls ?? true;
227
+ const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input;
228
+ const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await utilMiddleware.normalizeProvider(endpoint)()) : undefined;
229
+ const isCustomEndpoint = !!endpoint;
230
+ const resolvedConfig = Object.assign(input, {
231
+ endpoint: customEndpointProvider,
232
+ tls,
233
+ isCustomEndpoint,
234
+ useDualstackEndpoint: utilMiddleware.normalizeProvider(useDualstackEndpoint ?? false),
235
+ useFipsEndpoint: utilMiddleware.normalizeProvider(useFipsEndpoint ?? false),
236
+ });
237
+ let configuredEndpointPromise = undefined;
238
+ resolvedConfig.serviceConfiguredEndpoint = async () => {
239
+ if (input.serviceId && !configuredEndpointPromise) {
240
+ configuredEndpointPromise = getEndpointFromConfig.getEndpointFromConfig(input.serviceId);
241
+ }
242
+ return configuredEndpointPromise;
243
+ };
244
+ return resolvedConfig;
245
+ };
246
+
247
+ const resolveEndpointRequiredConfig = (input) => {
248
+ const { endpoint } = input;
249
+ if (endpoint === undefined) {
250
+ input.endpoint = async () => {
251
+ throw new Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.");
252
+ };
253
+ }
254
+ return input;
255
+ };
256
+
257
+ exports.endpointMiddleware = endpointMiddleware;
258
+ exports.endpointMiddlewareOptions = endpointMiddlewareOptions;
259
+ exports.getEndpointFromInstructions = getEndpointFromInstructions;
260
+ exports.getEndpointPlugin = getEndpointPlugin;
261
+ exports.resolveEndpointConfig = resolveEndpointConfig;
262
+ exports.resolveEndpointRequiredConfig = resolveEndpointRequiredConfig;
263
+ exports.resolveParams = resolveParams;
264
+ exports.toEndpointV1 = toEndpointV1;
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "@smithy/middleware-endpoint",
3
+ "version": "4.4.27",
4
+ "scripts": {
5
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
+ "build:cjs": "node ../../scripts/inline middleware-endpoint",
7
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
8
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
9
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
10
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
+ "test": "yarn g:vitest run",
15
+ "extract:docs": "api-extractor run --local",
16
+ "test:watch": "yarn g:vitest watch"
17
+ },
18
+ "main": "./dist-cjs/index.js",
19
+ "module": "./dist-es/index.js",
20
+ "types": "./dist-types/index.d.ts",
21
+ "author": {
22
+ "name": "AWS SDK for JavaScript Team",
23
+ "url": "https://aws.amazon.com/javascript/"
24
+ },
25
+ "license": "Apache-2.0",
26
+ "sideEffects": false,
27
+ "dependencies": {
28
+ "@smithy/core": "^3.23.12",
29
+ "@smithy/middleware-serde": "^4.2.15",
30
+ "@smithy/node-config-provider": "^4.3.12",
31
+ "@smithy/shared-ini-file-loader": "^4.4.7",
32
+ "@smithy/types": "^4.13.1",
33
+ "@smithy/url-parser": "^4.2.12",
34
+ "@smithy/util-middleware": "^4.2.12",
35
+ "tslib": "^2.6.2"
36
+ },
37
+ "devDependencies": {
38
+ "concurrently": "7.0.0",
39
+ "downlevel-dts": "0.10.1",
40
+ "premove": "4.0.0",
41
+ "typedoc": "0.23.23"
42
+ },
43
+ "engines": {
44
+ "node": ">=18.0.0"
45
+ },
46
+ "typesVersions": {
47
+ "<4.5": {
48
+ "dist-types/*": [
49
+ "dist-types/ts3.4/*"
50
+ ]
51
+ }
52
+ },
53
+ "files": [
54
+ "dist-*/**"
55
+ ],
56
+ "browser": {
57
+ "./dist-es/adaptors/getEndpointFromConfig": "./dist-es/adaptors/getEndpointFromConfig.browser"
58
+ },
59
+ "react-native": {
60
+ "./dist-es/adaptors/getEndpointFromConfig": "./dist-es/adaptors/getEndpointFromConfig.browser",
61
+ "./dist-cjs/adaptors/getEndpointFromConfig": "./dist-cjs/adaptors/getEndpointFromConfig.browser"
62
+ },
63
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-endpoint",
64
+ "repository": {
65
+ "type": "git",
66
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
67
+ "directory": "packages/middleware-endpoint"
68
+ },
69
+ "typedoc": {
70
+ "entryPoint": "src/index.ts"
71
+ },
72
+ "publishConfig": {
73
+ "directory": ".release/package"
74
+ }
75
+ }