@slycode/slycode 0.2.11 → 0.2.13
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/state.js +1 -0
- package/dist/messaging/state.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/lib/cli/stop.d.ts.map +1 -1
- package/lib/cli/stop.js +38 -18
- package/lib/cli/stop.js.map +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 → 5LMWBFPioBVfTpJ4F5OT6}/_buildManifest.js +0 -0
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → 5LMWBFPioBVfTpJ4F5OT6}/_clientMiddlewareManifest.json +0 -0
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → 5LMWBFPioBVfTpJ4F5OT6}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utilEndpoints = require('@smithy/util-endpoints');
|
|
4
|
+
var urlParser = require('@smithy/url-parser');
|
|
5
|
+
|
|
6
|
+
const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
|
|
7
|
+
if (allowSubDomains) {
|
|
8
|
+
for (const label of value.split(".")) {
|
|
9
|
+
if (!isVirtualHostableS3Bucket(label)) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
if (!utilEndpoints.isValidHostLabel(value)) {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
if (value.length < 3 || value.length > 63) {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
if (value !== value.toLowerCase()) {
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
if (utilEndpoints.isIpAddress(value)) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
return true;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const ARN_DELIMITER = ":";
|
|
31
|
+
const RESOURCE_DELIMITER = "/";
|
|
32
|
+
const parseArn = (value) => {
|
|
33
|
+
const segments = value.split(ARN_DELIMITER);
|
|
34
|
+
if (segments.length < 6)
|
|
35
|
+
return null;
|
|
36
|
+
const [arn, partition, service, region, accountId, ...resourcePath] = segments;
|
|
37
|
+
if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
|
|
38
|
+
return null;
|
|
39
|
+
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
|
|
40
|
+
return {
|
|
41
|
+
partition,
|
|
42
|
+
service,
|
|
43
|
+
region,
|
|
44
|
+
accountId,
|
|
45
|
+
resourceId,
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
var partitions = [
|
|
50
|
+
{
|
|
51
|
+
id: "aws",
|
|
52
|
+
outputs: {
|
|
53
|
+
dnsSuffix: "amazonaws.com",
|
|
54
|
+
dualStackDnsSuffix: "api.aws",
|
|
55
|
+
implicitGlobalRegion: "us-east-1",
|
|
56
|
+
name: "aws",
|
|
57
|
+
supportsDualStack: true,
|
|
58
|
+
supportsFIPS: true
|
|
59
|
+
},
|
|
60
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
|
|
61
|
+
regions: {
|
|
62
|
+
"af-south-1": {
|
|
63
|
+
description: "Africa (Cape Town)"
|
|
64
|
+
},
|
|
65
|
+
"ap-east-1": {
|
|
66
|
+
description: "Asia Pacific (Hong Kong)"
|
|
67
|
+
},
|
|
68
|
+
"ap-east-2": {
|
|
69
|
+
description: "Asia Pacific (Taipei)"
|
|
70
|
+
},
|
|
71
|
+
"ap-northeast-1": {
|
|
72
|
+
description: "Asia Pacific (Tokyo)"
|
|
73
|
+
},
|
|
74
|
+
"ap-northeast-2": {
|
|
75
|
+
description: "Asia Pacific (Seoul)"
|
|
76
|
+
},
|
|
77
|
+
"ap-northeast-3": {
|
|
78
|
+
description: "Asia Pacific (Osaka)"
|
|
79
|
+
},
|
|
80
|
+
"ap-south-1": {
|
|
81
|
+
description: "Asia Pacific (Mumbai)"
|
|
82
|
+
},
|
|
83
|
+
"ap-south-2": {
|
|
84
|
+
description: "Asia Pacific (Hyderabad)"
|
|
85
|
+
},
|
|
86
|
+
"ap-southeast-1": {
|
|
87
|
+
description: "Asia Pacific (Singapore)"
|
|
88
|
+
},
|
|
89
|
+
"ap-southeast-2": {
|
|
90
|
+
description: "Asia Pacific (Sydney)"
|
|
91
|
+
},
|
|
92
|
+
"ap-southeast-3": {
|
|
93
|
+
description: "Asia Pacific (Jakarta)"
|
|
94
|
+
},
|
|
95
|
+
"ap-southeast-4": {
|
|
96
|
+
description: "Asia Pacific (Melbourne)"
|
|
97
|
+
},
|
|
98
|
+
"ap-southeast-5": {
|
|
99
|
+
description: "Asia Pacific (Malaysia)"
|
|
100
|
+
},
|
|
101
|
+
"ap-southeast-6": {
|
|
102
|
+
description: "Asia Pacific (New Zealand)"
|
|
103
|
+
},
|
|
104
|
+
"ap-southeast-7": {
|
|
105
|
+
description: "Asia Pacific (Thailand)"
|
|
106
|
+
},
|
|
107
|
+
"aws-global": {
|
|
108
|
+
description: "aws global region"
|
|
109
|
+
},
|
|
110
|
+
"ca-central-1": {
|
|
111
|
+
description: "Canada (Central)"
|
|
112
|
+
},
|
|
113
|
+
"ca-west-1": {
|
|
114
|
+
description: "Canada West (Calgary)"
|
|
115
|
+
},
|
|
116
|
+
"eu-central-1": {
|
|
117
|
+
description: "Europe (Frankfurt)"
|
|
118
|
+
},
|
|
119
|
+
"eu-central-2": {
|
|
120
|
+
description: "Europe (Zurich)"
|
|
121
|
+
},
|
|
122
|
+
"eu-north-1": {
|
|
123
|
+
description: "Europe (Stockholm)"
|
|
124
|
+
},
|
|
125
|
+
"eu-south-1": {
|
|
126
|
+
description: "Europe (Milan)"
|
|
127
|
+
},
|
|
128
|
+
"eu-south-2": {
|
|
129
|
+
description: "Europe (Spain)"
|
|
130
|
+
},
|
|
131
|
+
"eu-west-1": {
|
|
132
|
+
description: "Europe (Ireland)"
|
|
133
|
+
},
|
|
134
|
+
"eu-west-2": {
|
|
135
|
+
description: "Europe (London)"
|
|
136
|
+
},
|
|
137
|
+
"eu-west-3": {
|
|
138
|
+
description: "Europe (Paris)"
|
|
139
|
+
},
|
|
140
|
+
"il-central-1": {
|
|
141
|
+
description: "Israel (Tel Aviv)"
|
|
142
|
+
},
|
|
143
|
+
"me-central-1": {
|
|
144
|
+
description: "Middle East (UAE)"
|
|
145
|
+
},
|
|
146
|
+
"me-south-1": {
|
|
147
|
+
description: "Middle East (Bahrain)"
|
|
148
|
+
},
|
|
149
|
+
"mx-central-1": {
|
|
150
|
+
description: "Mexico (Central)"
|
|
151
|
+
},
|
|
152
|
+
"sa-east-1": {
|
|
153
|
+
description: "South America (Sao Paulo)"
|
|
154
|
+
},
|
|
155
|
+
"us-east-1": {
|
|
156
|
+
description: "US East (N. Virginia)"
|
|
157
|
+
},
|
|
158
|
+
"us-east-2": {
|
|
159
|
+
description: "US East (Ohio)"
|
|
160
|
+
},
|
|
161
|
+
"us-west-1": {
|
|
162
|
+
description: "US West (N. California)"
|
|
163
|
+
},
|
|
164
|
+
"us-west-2": {
|
|
165
|
+
description: "US West (Oregon)"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
id: "aws-cn",
|
|
171
|
+
outputs: {
|
|
172
|
+
dnsSuffix: "amazonaws.com.cn",
|
|
173
|
+
dualStackDnsSuffix: "api.amazonwebservices.com.cn",
|
|
174
|
+
implicitGlobalRegion: "cn-northwest-1",
|
|
175
|
+
name: "aws-cn",
|
|
176
|
+
supportsDualStack: true,
|
|
177
|
+
supportsFIPS: true
|
|
178
|
+
},
|
|
179
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
180
|
+
regions: {
|
|
181
|
+
"aws-cn-global": {
|
|
182
|
+
description: "aws-cn global region"
|
|
183
|
+
},
|
|
184
|
+
"cn-north-1": {
|
|
185
|
+
description: "China (Beijing)"
|
|
186
|
+
},
|
|
187
|
+
"cn-northwest-1": {
|
|
188
|
+
description: "China (Ningxia)"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
id: "aws-eusc",
|
|
194
|
+
outputs: {
|
|
195
|
+
dnsSuffix: "amazonaws.eu",
|
|
196
|
+
dualStackDnsSuffix: "api.amazonwebservices.eu",
|
|
197
|
+
implicitGlobalRegion: "eusc-de-east-1",
|
|
198
|
+
name: "aws-eusc",
|
|
199
|
+
supportsDualStack: true,
|
|
200
|
+
supportsFIPS: true
|
|
201
|
+
},
|
|
202
|
+
regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$",
|
|
203
|
+
regions: {
|
|
204
|
+
"eusc-de-east-1": {
|
|
205
|
+
description: "AWS European Sovereign Cloud (Germany)"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
id: "aws-iso",
|
|
211
|
+
outputs: {
|
|
212
|
+
dnsSuffix: "c2s.ic.gov",
|
|
213
|
+
dualStackDnsSuffix: "api.aws.ic.gov",
|
|
214
|
+
implicitGlobalRegion: "us-iso-east-1",
|
|
215
|
+
name: "aws-iso",
|
|
216
|
+
supportsDualStack: true,
|
|
217
|
+
supportsFIPS: true
|
|
218
|
+
},
|
|
219
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
220
|
+
regions: {
|
|
221
|
+
"aws-iso-global": {
|
|
222
|
+
description: "aws-iso global region"
|
|
223
|
+
},
|
|
224
|
+
"us-iso-east-1": {
|
|
225
|
+
description: "US ISO East"
|
|
226
|
+
},
|
|
227
|
+
"us-iso-west-1": {
|
|
228
|
+
description: "US ISO WEST"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
id: "aws-iso-b",
|
|
234
|
+
outputs: {
|
|
235
|
+
dnsSuffix: "sc2s.sgov.gov",
|
|
236
|
+
dualStackDnsSuffix: "api.aws.scloud",
|
|
237
|
+
implicitGlobalRegion: "us-isob-east-1",
|
|
238
|
+
name: "aws-iso-b",
|
|
239
|
+
supportsDualStack: true,
|
|
240
|
+
supportsFIPS: true
|
|
241
|
+
},
|
|
242
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
243
|
+
regions: {
|
|
244
|
+
"aws-iso-b-global": {
|
|
245
|
+
description: "aws-iso-b global region"
|
|
246
|
+
},
|
|
247
|
+
"us-isob-east-1": {
|
|
248
|
+
description: "US ISOB East (Ohio)"
|
|
249
|
+
},
|
|
250
|
+
"us-isob-west-1": {
|
|
251
|
+
description: "US ISOB West"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
id: "aws-iso-e",
|
|
257
|
+
outputs: {
|
|
258
|
+
dnsSuffix: "cloud.adc-e.uk",
|
|
259
|
+
dualStackDnsSuffix: "api.cloud-aws.adc-e.uk",
|
|
260
|
+
implicitGlobalRegion: "eu-isoe-west-1",
|
|
261
|
+
name: "aws-iso-e",
|
|
262
|
+
supportsDualStack: true,
|
|
263
|
+
supportsFIPS: true
|
|
264
|
+
},
|
|
265
|
+
regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$",
|
|
266
|
+
regions: {
|
|
267
|
+
"aws-iso-e-global": {
|
|
268
|
+
description: "aws-iso-e global region"
|
|
269
|
+
},
|
|
270
|
+
"eu-isoe-west-1": {
|
|
271
|
+
description: "EU ISOE West"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
id: "aws-iso-f",
|
|
277
|
+
outputs: {
|
|
278
|
+
dnsSuffix: "csp.hci.ic.gov",
|
|
279
|
+
dualStackDnsSuffix: "api.aws.hci.ic.gov",
|
|
280
|
+
implicitGlobalRegion: "us-isof-south-1",
|
|
281
|
+
name: "aws-iso-f",
|
|
282
|
+
supportsDualStack: true,
|
|
283
|
+
supportsFIPS: true
|
|
284
|
+
},
|
|
285
|
+
regionRegex: "^us\\-isof\\-\\w+\\-\\d+$",
|
|
286
|
+
regions: {
|
|
287
|
+
"aws-iso-f-global": {
|
|
288
|
+
description: "aws-iso-f global region"
|
|
289
|
+
},
|
|
290
|
+
"us-isof-east-1": {
|
|
291
|
+
description: "US ISOF EAST"
|
|
292
|
+
},
|
|
293
|
+
"us-isof-south-1": {
|
|
294
|
+
description: "US ISOF SOUTH"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
id: "aws-us-gov",
|
|
300
|
+
outputs: {
|
|
301
|
+
dnsSuffix: "amazonaws.com",
|
|
302
|
+
dualStackDnsSuffix: "api.aws",
|
|
303
|
+
implicitGlobalRegion: "us-gov-west-1",
|
|
304
|
+
name: "aws-us-gov",
|
|
305
|
+
supportsDualStack: true,
|
|
306
|
+
supportsFIPS: true
|
|
307
|
+
},
|
|
308
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
309
|
+
regions: {
|
|
310
|
+
"aws-us-gov-global": {
|
|
311
|
+
description: "aws-us-gov global region"
|
|
312
|
+
},
|
|
313
|
+
"us-gov-east-1": {
|
|
314
|
+
description: "AWS GovCloud (US-East)"
|
|
315
|
+
},
|
|
316
|
+
"us-gov-west-1": {
|
|
317
|
+
description: "AWS GovCloud (US-West)"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
];
|
|
322
|
+
var version = "1.1";
|
|
323
|
+
var partitionsInfo = {
|
|
324
|
+
partitions: partitions,
|
|
325
|
+
version: version
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
let selectedPartitionsInfo = partitionsInfo;
|
|
329
|
+
let selectedUserAgentPrefix = "";
|
|
330
|
+
const partition = (value) => {
|
|
331
|
+
const { partitions } = selectedPartitionsInfo;
|
|
332
|
+
for (const partition of partitions) {
|
|
333
|
+
const { regions, outputs } = partition;
|
|
334
|
+
for (const [region, regionData] of Object.entries(regions)) {
|
|
335
|
+
if (region === value) {
|
|
336
|
+
return {
|
|
337
|
+
...outputs,
|
|
338
|
+
...regionData,
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
for (const partition of partitions) {
|
|
344
|
+
const { regionRegex, outputs } = partition;
|
|
345
|
+
if (new RegExp(regionRegex).test(value)) {
|
|
346
|
+
return {
|
|
347
|
+
...outputs,
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
|
|
352
|
+
if (!DEFAULT_PARTITION) {
|
|
353
|
+
throw new Error("Provided region was not found in the partition array or regex," +
|
|
354
|
+
" and default partition with id 'aws' doesn't exist.");
|
|
355
|
+
}
|
|
356
|
+
return {
|
|
357
|
+
...DEFAULT_PARTITION.outputs,
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => {
|
|
361
|
+
selectedPartitionsInfo = partitionsInfo;
|
|
362
|
+
selectedUserAgentPrefix = userAgentPrefix;
|
|
363
|
+
};
|
|
364
|
+
const useDefaultPartitionInfo = () => {
|
|
365
|
+
setPartitionInfo(partitionsInfo, "");
|
|
366
|
+
};
|
|
367
|
+
const getUserAgentPrefix = () => selectedUserAgentPrefix;
|
|
368
|
+
|
|
369
|
+
const awsEndpointFunctions = {
|
|
370
|
+
isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
|
|
371
|
+
parseArn: parseArn,
|
|
372
|
+
partition: partition,
|
|
373
|
+
};
|
|
374
|
+
utilEndpoints.customEndpointFunctions.aws = awsEndpointFunctions;
|
|
375
|
+
|
|
376
|
+
const resolveDefaultAwsRegionalEndpointsConfig = (input) => {
|
|
377
|
+
if (typeof input.endpointProvider !== "function") {
|
|
378
|
+
throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
|
|
379
|
+
}
|
|
380
|
+
const { endpoint } = input;
|
|
381
|
+
if (endpoint === undefined) {
|
|
382
|
+
input.endpoint = async () => {
|
|
383
|
+
return toEndpointV1(input.endpointProvider({
|
|
384
|
+
Region: typeof input.region === "function" ? await input.region() : input.region,
|
|
385
|
+
UseDualStack: typeof input.useDualstackEndpoint === "function"
|
|
386
|
+
? await input.useDualstackEndpoint()
|
|
387
|
+
: input.useDualstackEndpoint,
|
|
388
|
+
UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
|
|
389
|
+
Endpoint: undefined,
|
|
390
|
+
}, { logger: input.logger }));
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
return input;
|
|
394
|
+
};
|
|
395
|
+
const toEndpointV1 = (endpoint) => urlParser.parseUrl(endpoint.url);
|
|
396
|
+
|
|
397
|
+
exports.EndpointError = utilEndpoints.EndpointError;
|
|
398
|
+
exports.isIpAddress = utilEndpoints.isIpAddress;
|
|
399
|
+
exports.resolveEndpoint = utilEndpoints.resolveEndpoint;
|
|
400
|
+
exports.awsEndpointFunctions = awsEndpointFunctions;
|
|
401
|
+
exports.getUserAgentPrefix = getUserAgentPrefix;
|
|
402
|
+
exports.partition = partition;
|
|
403
|
+
exports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig;
|
|
404
|
+
exports.setPartitionInfo = setPartitionInfo;
|
|
405
|
+
exports.toEndpointV1 = toEndpointV1;
|
|
406
|
+
exports.useDefaultPartitionInfo = useDefaultPartitionInfo;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/util-endpoints",
|
|
3
|
+
"version": "3.996.5",
|
|
4
|
+
"description": "Utilities to help with endpoint resolution",
|
|
5
|
+
"main": "./dist-cjs/index.js",
|
|
6
|
+
"module": "./dist-es/index.js",
|
|
7
|
+
"types": "./dist-types/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
10
|
+
"build:cjs": "node ../../scripts/compilation/inline util-endpoints",
|
|
11
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
12
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
13
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
14
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
16
|
+
"test": "yarn g:vitest run",
|
|
17
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
18
|
+
"test:watch": "yarn g:vitest watch",
|
|
19
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
20
|
+
},
|
|
21
|
+
"sideEffects": true,
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "AWS SDK for JavaScript Team",
|
|
24
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
25
|
+
},
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@aws-sdk/types": "^3.973.6",
|
|
29
|
+
"@smithy/types": "^4.13.1",
|
|
30
|
+
"@smithy/url-parser": "^4.2.12",
|
|
31
|
+
"@smithy/util-endpoints": "^3.3.3",
|
|
32
|
+
"tslib": "^2.6.2"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20.0.0"
|
|
36
|
+
},
|
|
37
|
+
"typesVersions": {
|
|
38
|
+
"<4.5": {
|
|
39
|
+
"dist-types/*": [
|
|
40
|
+
"dist-types/ts3.4/*"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist-*/**"
|
|
46
|
+
],
|
|
47
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/util-endpoints",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
51
|
+
"directory": "packages/util-endpoints"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@tsconfig/recommended": "1.0.1",
|
|
55
|
+
"concurrently": "7.0.0",
|
|
56
|
+
"downlevel-dts": "0.10.1",
|
|
57
|
+
"premove": "4.0.0",
|
|
58
|
+
"typescript": "~5.8.3"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var node_os = require('node:os');
|
|
4
|
+
var node_process = require('node:process');
|
|
5
|
+
var utilConfigProvider = require('@smithy/util-config-provider');
|
|
6
|
+
var promises = require('node:fs/promises');
|
|
7
|
+
var node_path = require('node:path');
|
|
8
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
9
|
+
|
|
10
|
+
const getRuntimeUserAgentPair = () => {
|
|
11
|
+
const runtimesToCheck = ["deno", "bun", "llrt"];
|
|
12
|
+
for (const runtime of runtimesToCheck) {
|
|
13
|
+
if (node_process.versions[runtime]) {
|
|
14
|
+
return [`md/${runtime}`, node_process.versions[runtime]];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return ["md/nodejs", node_process.versions.node];
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const getNodeModulesParentDirs = (dirname) => {
|
|
21
|
+
const cwd = process.cwd();
|
|
22
|
+
if (!dirname) {
|
|
23
|
+
return [cwd];
|
|
24
|
+
}
|
|
25
|
+
const normalizedPath = node_path.normalize(dirname);
|
|
26
|
+
const parts = normalizedPath.split(node_path.sep);
|
|
27
|
+
const nodeModulesIndex = parts.indexOf("node_modules");
|
|
28
|
+
const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : normalizedPath;
|
|
29
|
+
if (cwd === parentDir) {
|
|
30
|
+
return [cwd];
|
|
31
|
+
}
|
|
32
|
+
return [parentDir, cwd];
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
|
|
36
|
+
const getSanitizedTypeScriptVersion = (version = "") => {
|
|
37
|
+
const match = version.match(SEMVER_REGEX);
|
|
38
|
+
if (!match) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]];
|
|
42
|
+
return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const ALLOWED_PREFIXES = ["^", "~", ">=", "<=", ">", "<"];
|
|
46
|
+
const ALLOWED_DIST_TAGS = ["latest", "beta", "dev", "rc", "insiders", "next"];
|
|
47
|
+
const getSanitizedDevTypeScriptVersion = (version = "") => {
|
|
48
|
+
if (ALLOWED_DIST_TAGS.includes(version)) {
|
|
49
|
+
return version;
|
|
50
|
+
}
|
|
51
|
+
const prefix = ALLOWED_PREFIXES.find((p) => version.startsWith(p)) ?? "";
|
|
52
|
+
const sanitizedTypeScriptVersion = getSanitizedTypeScriptVersion(version.slice(prefix.length));
|
|
53
|
+
if (!sanitizedTypeScriptVersion) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
return `${prefix}${sanitizedTypeScriptVersion}`;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
let tscVersion;
|
|
60
|
+
const TS_PACKAGE_JSON = node_path.join("node_modules", "typescript", "package.json");
|
|
61
|
+
const getTypeScriptUserAgentPair = async () => {
|
|
62
|
+
if (tscVersion === null) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
else if (typeof tscVersion === "string") {
|
|
66
|
+
return ["md/tsc", tscVersion];
|
|
67
|
+
}
|
|
68
|
+
let isTypeScriptDetectionDisabled = false;
|
|
69
|
+
try {
|
|
70
|
+
isTypeScriptDetectionDisabled =
|
|
71
|
+
utilConfigProvider.booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", utilConfigProvider.SelectorType.ENV) || false;
|
|
72
|
+
}
|
|
73
|
+
catch { }
|
|
74
|
+
if (isTypeScriptDetectionDisabled) {
|
|
75
|
+
tscVersion = null;
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
const dirname = typeof __dirname !== "undefined" ? __dirname : undefined;
|
|
79
|
+
const nodeModulesParentDirs = getNodeModulesParentDirs(dirname);
|
|
80
|
+
let versionFromApp;
|
|
81
|
+
for (const nodeModulesParentDir of nodeModulesParentDirs) {
|
|
82
|
+
try {
|
|
83
|
+
const appPackageJsonPath = node_path.join(nodeModulesParentDir, "package.json");
|
|
84
|
+
const packageJson = await promises.readFile(appPackageJsonPath, "utf-8");
|
|
85
|
+
const { dependencies, devDependencies } = JSON.parse(packageJson);
|
|
86
|
+
const version = devDependencies?.typescript ?? dependencies?.typescript;
|
|
87
|
+
if (typeof version !== "string") {
|
|
88
|
+
continue;
|
|
89
|
+
}
|
|
90
|
+
versionFromApp = version;
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
catch {
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (!versionFromApp) {
|
|
97
|
+
tscVersion = null;
|
|
98
|
+
return undefined;
|
|
99
|
+
}
|
|
100
|
+
let versionFromNodeModules;
|
|
101
|
+
for (const nodeModulesParentDir of nodeModulesParentDirs) {
|
|
102
|
+
try {
|
|
103
|
+
const tsPackageJsonPath = node_path.join(nodeModulesParentDir, TS_PACKAGE_JSON);
|
|
104
|
+
const packageJson = await promises.readFile(tsPackageJsonPath, "utf-8");
|
|
105
|
+
const { version } = JSON.parse(packageJson);
|
|
106
|
+
const sanitizedVersion = getSanitizedTypeScriptVersion(version);
|
|
107
|
+
if (typeof sanitizedVersion !== "string") {
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
versionFromNodeModules = sanitizedVersion;
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
catch {
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
if (versionFromNodeModules) {
|
|
117
|
+
tscVersion = versionFromNodeModules;
|
|
118
|
+
return ["md/tsc", tscVersion];
|
|
119
|
+
}
|
|
120
|
+
const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp);
|
|
121
|
+
if (typeof sanitizedVersion !== "string") {
|
|
122
|
+
tscVersion = null;
|
|
123
|
+
return undefined;
|
|
124
|
+
}
|
|
125
|
+
tscVersion = `dev_${sanitizedVersion}`;
|
|
126
|
+
return ["md/tsc", tscVersion];
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
const crtAvailability = {
|
|
130
|
+
isCrtAvailable: false,
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
const isCrtAvailable = () => {
|
|
134
|
+
if (crtAvailability.isCrtAvailable) {
|
|
135
|
+
return ["md/crt-avail"];
|
|
136
|
+
}
|
|
137
|
+
return null;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => {
|
|
141
|
+
const runtimeUserAgentPair = getRuntimeUserAgentPair();
|
|
142
|
+
return async (config) => {
|
|
143
|
+
const sections = [
|
|
144
|
+
["aws-sdk-js", clientVersion],
|
|
145
|
+
["ua", "2.1"],
|
|
146
|
+
[`os/${node_os.platform()}`, node_os.release()],
|
|
147
|
+
["lang/js"],
|
|
148
|
+
runtimeUserAgentPair,
|
|
149
|
+
];
|
|
150
|
+
const typescriptUserAgentPair = await getTypeScriptUserAgentPair();
|
|
151
|
+
if (typescriptUserAgentPair) {
|
|
152
|
+
sections.push(typescriptUserAgentPair);
|
|
153
|
+
}
|
|
154
|
+
const crtAvailable = isCrtAvailable();
|
|
155
|
+
if (crtAvailable) {
|
|
156
|
+
sections.push(crtAvailable);
|
|
157
|
+
}
|
|
158
|
+
if (serviceId) {
|
|
159
|
+
sections.push([`api/${serviceId}`, clientVersion]);
|
|
160
|
+
}
|
|
161
|
+
if (node_process.env.AWS_EXECUTION_ENV) {
|
|
162
|
+
sections.push([`exec-env/${node_process.env.AWS_EXECUTION_ENV}`]);
|
|
163
|
+
}
|
|
164
|
+
const appId = await config?.userAgentAppId?.();
|
|
165
|
+
const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];
|
|
166
|
+
return resolvedUserAgent;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
const defaultUserAgent = createDefaultUserAgentProvider;
|
|
170
|
+
|
|
171
|
+
const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
|
|
172
|
+
const UA_APP_ID_INI_NAME = "sdk_ua_app_id";
|
|
173
|
+
const UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id";
|
|
174
|
+
const NODE_APP_ID_CONFIG_OPTIONS = {
|
|
175
|
+
environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME],
|
|
176
|
+
configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],
|
|
177
|
+
default: middlewareUserAgent.DEFAULT_UA_APP_ID,
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
exports.NODE_APP_ID_CONFIG_OPTIONS = NODE_APP_ID_CONFIG_OPTIONS;
|
|
181
|
+
exports.UA_APP_ID_ENV_NAME = UA_APP_ID_ENV_NAME;
|
|
182
|
+
exports.UA_APP_ID_INI_NAME = UA_APP_ID_INI_NAME;
|
|
183
|
+
exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider;
|
|
184
|
+
exports.crtAvailability = crtAvailability;
|
|
185
|
+
exports.defaultUserAgent = defaultUserAgent;
|