@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.
- package/dist/messaging/index.js +4 -2
- package/dist/messaging/index.js.map +1 -1
- package/dist/messaging/stt.d.ts +1 -0
- package/dist/messaging/stt.js +66 -57
- package/dist/messaging/stt.js.map +1 -1
- package/dist/messaging/types.d.ts +1 -0
- package/dist/web/.next/BUILD_ID +1 -1
- package/dist/web/.next/build-manifest.json +2 -2
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/index.js +3057 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/S3ServiceException.js +12 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/errors.js +203 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.js +67 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.shared.js +56 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/schemas/schemas_0.js +3258 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/package.json +127 -0
- package/dist/web/.next/prerender-manifest.json +3 -3
- package/dist/web/.next/server/app/_global-error.html +2 -2
- package/dist/web/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.html +1 -1
- package/dist/web/.next/server/app/_not-found.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
- package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
- package/dist/web/.next/server/chunks/{[root-of-the-server]__a4d171b5._.js → [root-of-the-server]__4297cb97._.js} +3 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
- package/dist/web/.next/server/chunks/{[root-of-the-server]__53ef96b9._.js → [root-of-the-server]__cf14e306._.js} +2 -2
- package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
- package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
- package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
- package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
- package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
- package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
- package/dist/web/.next/server/pages/404.html +1 -1
- package/dist/web/.next/server/pages/500.html +2 -2
- package/dist/web/.next/server/server-reference-manifest.js +1 -1
- package/dist/web/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
- package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
- package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
- package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
- package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
- package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
- package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
- package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
- package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
- package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
- package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
- package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
- package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
- package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
- package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
- package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
- package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
- package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
- package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
- package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
- package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
- package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
- package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
- package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
- package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
- package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
- package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
- package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
- package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
- package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
- package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
- package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
- package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
- package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
- package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
- package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
- package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
- package/dist/web/node_modules/@smithy/core/package.json +146 -0
- package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
- package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
- package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
- package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
- package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
- package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
- package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
- package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
- package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
- package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
- package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
- package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
- package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
- package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
- package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
- package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
- package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
- package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
- package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
- package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
- package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
- package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
- package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
- package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
- package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
- package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
- package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
- package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
- package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
- package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
- package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
- package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
- package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
- package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
- package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
- package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
- package/dist/web/node_modules/@smithy/types/package.json +61 -0
- package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
- package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
- package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
- package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
- package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
- package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
- package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
- package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
- package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
- package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
- package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
- package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
- package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
- package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
- package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
- package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
- package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
- package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
- package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
- package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
- package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
- package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
- package/dist/web/node_modules/tslib/package.json +47 -0
- package/dist/web/node_modules/tslib/tslib.js +484 -0
- package/dist/web/package-lock.json +433 -161
- package/dist/web/package.json +2 -1
- package/dist/web/src/app/api/transcribe/route.ts +84 -74
- package/dist/web/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/templates/kanban-seed.json +1 -1
- package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__0f9b71fd._.js +0 -5
- package/dist/web/.next/server/chunks/[root-of-the-server]__1dec5018._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__2605d761._.js +0 -9
- package/dist/web/.next/server/chunks/[root-of-the-server]__8ce673c9._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__a43db24d._.js +0 -19
- package/dist/web/.next/server/chunks/[root-of-the-server]__c7ac3578._.js +0 -5
- package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_buildManifest.js +0 -0
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_clientMiddlewareManifest.json +0 -0
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/node-http-handler",
|
|
3
|
+
"version": "4.5.0",
|
|
4
|
+
"description": "Provides a way to make requests",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
|
+
"build:cjs": "node ../../scripts/inline node-http-handler",
|
|
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
|
+
"extract:docs": "api-extractor run --local",
|
|
16
|
+
"test": "yarn g:vitest run",
|
|
17
|
+
"test:watch": "yarn g:vitest watch"
|
|
18
|
+
},
|
|
19
|
+
"author": {
|
|
20
|
+
"name": "AWS SDK for JavaScript Team",
|
|
21
|
+
"email": "",
|
|
22
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
23
|
+
},
|
|
24
|
+
"license": "Apache-2.0",
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"main": "./dist-cjs/index.js",
|
|
27
|
+
"module": "./dist-es/index.js",
|
|
28
|
+
"types": "./dist-types/index.d.ts",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@smithy/abort-controller": "^4.2.12",
|
|
31
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
32
|
+
"@smithy/querystring-builder": "^4.2.12",
|
|
33
|
+
"@smithy/types": "^4.13.1",
|
|
34
|
+
"tslib": "^2.6.2"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/node": "^18.11.9",
|
|
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
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
|
|
57
|
+
"repository": {
|
|
58
|
+
"type": "git",
|
|
59
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
60
|
+
"directory": "packages/node-http-handler"
|
|
61
|
+
},
|
|
62
|
+
"typedoc": {
|
|
63
|
+
"entryPoint": "src/index.ts"
|
|
64
|
+
},
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"directory": ".release/package"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
class ProviderError extends Error {
|
|
4
|
+
name = "ProviderError";
|
|
5
|
+
tryNextLink;
|
|
6
|
+
constructor(message, options = true) {
|
|
7
|
+
let logger;
|
|
8
|
+
let tryNextLink = true;
|
|
9
|
+
if (typeof options === "boolean") {
|
|
10
|
+
logger = undefined;
|
|
11
|
+
tryNextLink = options;
|
|
12
|
+
}
|
|
13
|
+
else if (options != null && typeof options === "object") {
|
|
14
|
+
logger = options.logger;
|
|
15
|
+
tryNextLink = options.tryNextLink ?? true;
|
|
16
|
+
}
|
|
17
|
+
super(message);
|
|
18
|
+
this.tryNextLink = tryNextLink;
|
|
19
|
+
Object.setPrototypeOf(this, ProviderError.prototype);
|
|
20
|
+
logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
|
|
21
|
+
}
|
|
22
|
+
static from(error, options = true) {
|
|
23
|
+
return Object.assign(new this(error.message, options), error);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
class CredentialsProviderError extends ProviderError {
|
|
28
|
+
name = "CredentialsProviderError";
|
|
29
|
+
constructor(message, options = true) {
|
|
30
|
+
super(message, options);
|
|
31
|
+
Object.setPrototypeOf(this, CredentialsProviderError.prototype);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
class TokenProviderError extends ProviderError {
|
|
36
|
+
name = "TokenProviderError";
|
|
37
|
+
constructor(message, options = true) {
|
|
38
|
+
super(message, options);
|
|
39
|
+
Object.setPrototypeOf(this, TokenProviderError.prototype);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const chain = (...providers) => async () => {
|
|
44
|
+
if (providers.length === 0) {
|
|
45
|
+
throw new ProviderError("No providers in chain");
|
|
46
|
+
}
|
|
47
|
+
let lastProviderError;
|
|
48
|
+
for (const provider of providers) {
|
|
49
|
+
try {
|
|
50
|
+
const credentials = await provider();
|
|
51
|
+
return credentials;
|
|
52
|
+
}
|
|
53
|
+
catch (err) {
|
|
54
|
+
lastProviderError = err;
|
|
55
|
+
if (err?.tryNextLink) {
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
throw err;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
throw lastProviderError;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
const fromStatic = (staticValue) => () => Promise.resolve(staticValue);
|
|
65
|
+
|
|
66
|
+
const memoize = (provider, isExpired, requiresRefresh) => {
|
|
67
|
+
let resolved;
|
|
68
|
+
let pending;
|
|
69
|
+
let hasResult;
|
|
70
|
+
let isConstant = false;
|
|
71
|
+
const coalesceProvider = async () => {
|
|
72
|
+
if (!pending) {
|
|
73
|
+
pending = provider();
|
|
74
|
+
}
|
|
75
|
+
try {
|
|
76
|
+
resolved = await pending;
|
|
77
|
+
hasResult = true;
|
|
78
|
+
isConstant = false;
|
|
79
|
+
}
|
|
80
|
+
finally {
|
|
81
|
+
pending = undefined;
|
|
82
|
+
}
|
|
83
|
+
return resolved;
|
|
84
|
+
};
|
|
85
|
+
if (isExpired === undefined) {
|
|
86
|
+
return async (options) => {
|
|
87
|
+
if (!hasResult || options?.forceRefresh) {
|
|
88
|
+
resolved = await coalesceProvider();
|
|
89
|
+
}
|
|
90
|
+
return resolved;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
return async (options) => {
|
|
94
|
+
if (!hasResult || options?.forceRefresh) {
|
|
95
|
+
resolved = await coalesceProvider();
|
|
96
|
+
}
|
|
97
|
+
if (isConstant) {
|
|
98
|
+
return resolved;
|
|
99
|
+
}
|
|
100
|
+
if (requiresRefresh && !requiresRefresh(resolved)) {
|
|
101
|
+
isConstant = true;
|
|
102
|
+
return resolved;
|
|
103
|
+
}
|
|
104
|
+
if (isExpired(resolved)) {
|
|
105
|
+
await coalesceProvider();
|
|
106
|
+
return resolved;
|
|
107
|
+
}
|
|
108
|
+
return resolved;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
exports.CredentialsProviderError = CredentialsProviderError;
|
|
113
|
+
exports.ProviderError = ProviderError;
|
|
114
|
+
exports.TokenProviderError = TokenProviderError;
|
|
115
|
+
exports.chain = chain;
|
|
116
|
+
exports.fromStatic = fromStatic;
|
|
117
|
+
exports.memoize = memoize;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/property-provider",
|
|
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 property-provider",
|
|
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
|
+
"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/property-provider",
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
47
|
+
"directory": "packages/property-provider"
|
|
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,169 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var types = require('@smithy/types');
|
|
4
|
+
|
|
5
|
+
const getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
6
|
+
return {
|
|
7
|
+
setHttpHandler(handler) {
|
|
8
|
+
runtimeConfig.httpHandler = handler;
|
|
9
|
+
},
|
|
10
|
+
httpHandler() {
|
|
11
|
+
return runtimeConfig.httpHandler;
|
|
12
|
+
},
|
|
13
|
+
updateHttpClientConfig(key, value) {
|
|
14
|
+
runtimeConfig.httpHandler?.updateHttpClientConfig(key, value);
|
|
15
|
+
},
|
|
16
|
+
httpHandlerConfigs() {
|
|
17
|
+
return runtimeConfig.httpHandler.httpHandlerConfigs();
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
const resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
|
|
22
|
+
return {
|
|
23
|
+
httpHandler: httpHandlerExtensionConfiguration.httpHandler(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
class Field {
|
|
28
|
+
name;
|
|
29
|
+
kind;
|
|
30
|
+
values;
|
|
31
|
+
constructor({ name, kind = types.FieldPosition.HEADER, values = [] }) {
|
|
32
|
+
this.name = name;
|
|
33
|
+
this.kind = kind;
|
|
34
|
+
this.values = values;
|
|
35
|
+
}
|
|
36
|
+
add(value) {
|
|
37
|
+
this.values.push(value);
|
|
38
|
+
}
|
|
39
|
+
set(values) {
|
|
40
|
+
this.values = values;
|
|
41
|
+
}
|
|
42
|
+
remove(value) {
|
|
43
|
+
this.values = this.values.filter((v) => v !== value);
|
|
44
|
+
}
|
|
45
|
+
toString() {
|
|
46
|
+
return this.values.map((v) => (v.includes(",") || v.includes(" ") ? `"${v}"` : v)).join(", ");
|
|
47
|
+
}
|
|
48
|
+
get() {
|
|
49
|
+
return this.values;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
class Fields {
|
|
54
|
+
entries = {};
|
|
55
|
+
encoding;
|
|
56
|
+
constructor({ fields = [], encoding = "utf-8" }) {
|
|
57
|
+
fields.forEach(this.setField.bind(this));
|
|
58
|
+
this.encoding = encoding;
|
|
59
|
+
}
|
|
60
|
+
setField(field) {
|
|
61
|
+
this.entries[field.name.toLowerCase()] = field;
|
|
62
|
+
}
|
|
63
|
+
getField(name) {
|
|
64
|
+
return this.entries[name.toLowerCase()];
|
|
65
|
+
}
|
|
66
|
+
removeField(name) {
|
|
67
|
+
delete this.entries[name.toLowerCase()];
|
|
68
|
+
}
|
|
69
|
+
getByType(kind) {
|
|
70
|
+
return Object.values(this.entries).filter((field) => field.kind === kind);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
class HttpRequest {
|
|
75
|
+
method;
|
|
76
|
+
protocol;
|
|
77
|
+
hostname;
|
|
78
|
+
port;
|
|
79
|
+
path;
|
|
80
|
+
query;
|
|
81
|
+
headers;
|
|
82
|
+
username;
|
|
83
|
+
password;
|
|
84
|
+
fragment;
|
|
85
|
+
body;
|
|
86
|
+
constructor(options) {
|
|
87
|
+
this.method = options.method || "GET";
|
|
88
|
+
this.hostname = options.hostname || "localhost";
|
|
89
|
+
this.port = options.port;
|
|
90
|
+
this.query = options.query || {};
|
|
91
|
+
this.headers = options.headers || {};
|
|
92
|
+
this.body = options.body;
|
|
93
|
+
this.protocol = options.protocol
|
|
94
|
+
? options.protocol.slice(-1) !== ":"
|
|
95
|
+
? `${options.protocol}:`
|
|
96
|
+
: options.protocol
|
|
97
|
+
: "https:";
|
|
98
|
+
this.path = options.path ? (options.path.charAt(0) !== "/" ? `/${options.path}` : options.path) : "/";
|
|
99
|
+
this.username = options.username;
|
|
100
|
+
this.password = options.password;
|
|
101
|
+
this.fragment = options.fragment;
|
|
102
|
+
}
|
|
103
|
+
static clone(request) {
|
|
104
|
+
const cloned = new HttpRequest({
|
|
105
|
+
...request,
|
|
106
|
+
headers: { ...request.headers },
|
|
107
|
+
});
|
|
108
|
+
if (cloned.query) {
|
|
109
|
+
cloned.query = cloneQuery(cloned.query);
|
|
110
|
+
}
|
|
111
|
+
return cloned;
|
|
112
|
+
}
|
|
113
|
+
static isInstance(request) {
|
|
114
|
+
if (!request) {
|
|
115
|
+
return false;
|
|
116
|
+
}
|
|
117
|
+
const req = request;
|
|
118
|
+
return ("method" in req &&
|
|
119
|
+
"protocol" in req &&
|
|
120
|
+
"hostname" in req &&
|
|
121
|
+
"path" in req &&
|
|
122
|
+
typeof req["query"] === "object" &&
|
|
123
|
+
typeof req["headers"] === "object");
|
|
124
|
+
}
|
|
125
|
+
clone() {
|
|
126
|
+
return HttpRequest.clone(this);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function cloneQuery(query) {
|
|
130
|
+
return Object.keys(query).reduce((carry, paramName) => {
|
|
131
|
+
const param = query[paramName];
|
|
132
|
+
return {
|
|
133
|
+
...carry,
|
|
134
|
+
[paramName]: Array.isArray(param) ? [...param] : param,
|
|
135
|
+
};
|
|
136
|
+
}, {});
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class HttpResponse {
|
|
140
|
+
statusCode;
|
|
141
|
+
reason;
|
|
142
|
+
headers;
|
|
143
|
+
body;
|
|
144
|
+
constructor(options) {
|
|
145
|
+
this.statusCode = options.statusCode;
|
|
146
|
+
this.reason = options.reason;
|
|
147
|
+
this.headers = options.headers || {};
|
|
148
|
+
this.body = options.body;
|
|
149
|
+
}
|
|
150
|
+
static isInstance(response) {
|
|
151
|
+
if (!response)
|
|
152
|
+
return false;
|
|
153
|
+
const resp = response;
|
|
154
|
+
return typeof resp.statusCode === "number" && typeof resp.headers === "object";
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
function isValidHostname(hostname) {
|
|
159
|
+
const hostPattern = /^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/;
|
|
160
|
+
return hostPattern.test(hostname);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
exports.Field = Field;
|
|
164
|
+
exports.Fields = Fields;
|
|
165
|
+
exports.HttpRequest = HttpRequest;
|
|
166
|
+
exports.HttpResponse = HttpResponse;
|
|
167
|
+
exports.getHttpHandlerExtensionConfiguration = getHttpHandlerExtensionConfiguration;
|
|
168
|
+
exports.isValidHostname = isValidHostname;
|
|
169
|
+
exports.resolveHttpHandlerRuntimeConfig = resolveHttpHandlerRuntimeConfig;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/protocol-http",
|
|
3
|
+
"version": "5.3.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 protocol-http",
|
|
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 Smithy Team",
|
|
22
|
+
"email": "",
|
|
23
|
+
"url": "https://smithy.io"
|
|
24
|
+
},
|
|
25
|
+
"license": "Apache-2.0",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@smithy/types": "^4.13.1",
|
|
29
|
+
"tslib": "^2.6.2"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=18.0.0"
|
|
33
|
+
},
|
|
34
|
+
"typesVersions": {
|
|
35
|
+
"<4.5": {
|
|
36
|
+
"dist-types/*": [
|
|
37
|
+
"dist-types/ts3.4/*"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist-*/**"
|
|
43
|
+
],
|
|
44
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/protocol-http",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
48
|
+
"directory": "packages/protocol-http"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"concurrently": "7.0.0",
|
|
52
|
+
"downlevel-dts": "0.10.1",
|
|
53
|
+
"premove": "4.0.0",
|
|
54
|
+
"typedoc": "0.23.23"
|
|
55
|
+
},
|
|
56
|
+
"typedoc": {
|
|
57
|
+
"entryPoint": "src/index.ts"
|
|
58
|
+
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"directory": ".release/package"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utilUriEscape = require('@smithy/util-uri-escape');
|
|
4
|
+
|
|
5
|
+
function buildQueryString(query) {
|
|
6
|
+
const parts = [];
|
|
7
|
+
for (let key of Object.keys(query).sort()) {
|
|
8
|
+
const value = query[key];
|
|
9
|
+
key = utilUriEscape.escapeUri(key);
|
|
10
|
+
if (Array.isArray(value)) {
|
|
11
|
+
for (let i = 0, iLen = value.length; i < iLen; i++) {
|
|
12
|
+
parts.push(`${key}=${utilUriEscape.escapeUri(value[i])}`);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
let qsEntry = key;
|
|
17
|
+
if (value || typeof value === "string") {
|
|
18
|
+
qsEntry += `=${utilUriEscape.escapeUri(value)}`;
|
|
19
|
+
}
|
|
20
|
+
parts.push(qsEntry);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return parts.join("&");
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exports.buildQueryString = buildQueryString;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/querystring-builder",
|
|
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 querystring-builder",
|
|
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
|
+
},
|
|
16
|
+
"main": "./dist-cjs/index.js",
|
|
17
|
+
"module": "./dist-es/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"author": {
|
|
20
|
+
"name": "AWS SDK for JavaScript Team",
|
|
21
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
22
|
+
},
|
|
23
|
+
"license": "Apache-2.0",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@smithy/types": "^4.13.1",
|
|
27
|
+
"@smithy/util-uri-escape": "^4.2.2",
|
|
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/querystring-builder",
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
47
|
+
"directory": "packages/querystring-builder"
|
|
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,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function parseQueryString(querystring) {
|
|
4
|
+
const query = {};
|
|
5
|
+
querystring = querystring.replace(/^\?/, "");
|
|
6
|
+
if (querystring) {
|
|
7
|
+
for (const pair of querystring.split("&")) {
|
|
8
|
+
let [key, value = null] = pair.split("=");
|
|
9
|
+
key = decodeURIComponent(key);
|
|
10
|
+
if (value) {
|
|
11
|
+
value = decodeURIComponent(value);
|
|
12
|
+
}
|
|
13
|
+
if (!(key in query)) {
|
|
14
|
+
query[key] = value;
|
|
15
|
+
}
|
|
16
|
+
else if (Array.isArray(query[key])) {
|
|
17
|
+
query[key].push(value);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
query[key] = [query[key], value];
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return query;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
exports.parseQueryString = parseQueryString;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/querystring-parser",
|
|
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 querystring-parser",
|
|
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
|
+
"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/querystring-parser",
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
47
|
+
"directory": "packages/querystring-parser"
|
|
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
|
+
}
|