@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,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const state = {
|
|
4
|
+
warningEmitted: false,
|
|
5
|
+
};
|
|
6
|
+
const emitWarningIfUnsupportedVersion = (version) => {
|
|
7
|
+
if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 20) {
|
|
8
|
+
state.warningEmitted = true;
|
|
9
|
+
process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
10
|
+
no longer support Node.js ${version} in January 2026.
|
|
11
|
+
|
|
12
|
+
To continue receiving updates to AWS services, bug fixes, and security
|
|
13
|
+
updates please upgrade to a supported Node.js LTS version.
|
|
14
|
+
|
|
15
|
+
More information can be found at: https://a.co/c895JFp`);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
function setCredentialFeature(credentials, feature, value) {
|
|
20
|
+
if (!credentials.$source) {
|
|
21
|
+
credentials.$source = {};
|
|
22
|
+
}
|
|
23
|
+
credentials.$source[feature] = value;
|
|
24
|
+
return credentials;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function setFeature(context, feature, value) {
|
|
28
|
+
if (!context.__aws_sdk_context) {
|
|
29
|
+
context.__aws_sdk_context = {
|
|
30
|
+
features: {},
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
else if (!context.__aws_sdk_context.features) {
|
|
34
|
+
context.__aws_sdk_context.features = {};
|
|
35
|
+
}
|
|
36
|
+
context.__aws_sdk_context.features[feature] = value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function setTokenFeature(token, feature, value) {
|
|
40
|
+
if (!token.$source) {
|
|
41
|
+
token.$source = {};
|
|
42
|
+
}
|
|
43
|
+
token.$source[feature] = value;
|
|
44
|
+
return token;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
|
|
48
|
+
exports.setCredentialFeature = setCredentialFeature;
|
|
49
|
+
exports.setFeature = setFeature;
|
|
50
|
+
exports.setTokenFeature = setTokenFeature;
|
|
51
|
+
exports.state = state;
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
4
|
+
var core = require('@smithy/core');
|
|
5
|
+
var propertyProvider = require('@smithy/property-provider');
|
|
6
|
+
var client = require('@aws-sdk/core/client');
|
|
7
|
+
var signatureV4 = require('@smithy/signature-v4');
|
|
8
|
+
|
|
9
|
+
const getDateHeader = (response) => protocolHttp.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined;
|
|
10
|
+
|
|
11
|
+
const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);
|
|
12
|
+
|
|
13
|
+
const isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000;
|
|
14
|
+
|
|
15
|
+
const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {
|
|
16
|
+
const clockTimeInMs = Date.parse(clockTime);
|
|
17
|
+
if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
|
|
18
|
+
return clockTimeInMs - Date.now();
|
|
19
|
+
}
|
|
20
|
+
return currentSystemClockOffset;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const throwSigningPropertyError = (name, property) => {
|
|
24
|
+
if (!property) {
|
|
25
|
+
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
|
26
|
+
}
|
|
27
|
+
return property;
|
|
28
|
+
};
|
|
29
|
+
const validateSigningProperties = async (signingProperties) => {
|
|
30
|
+
const context = throwSigningPropertyError("context", signingProperties.context);
|
|
31
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
32
|
+
const authScheme = context.endpointV2?.properties?.authSchemes?.[0];
|
|
33
|
+
const signerFunction = throwSigningPropertyError("signer", config.signer);
|
|
34
|
+
const signer = await signerFunction(authScheme);
|
|
35
|
+
const signingRegion = signingProperties?.signingRegion;
|
|
36
|
+
const signingRegionSet = signingProperties?.signingRegionSet;
|
|
37
|
+
const signingName = signingProperties?.signingName;
|
|
38
|
+
return {
|
|
39
|
+
config,
|
|
40
|
+
signer,
|
|
41
|
+
signingRegion,
|
|
42
|
+
signingRegionSet,
|
|
43
|
+
signingName,
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
class AwsSdkSigV4Signer {
|
|
47
|
+
async sign(httpRequest, identity, signingProperties) {
|
|
48
|
+
if (!protocolHttp.HttpRequest.isInstance(httpRequest)) {
|
|
49
|
+
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
50
|
+
}
|
|
51
|
+
const validatedProps = await validateSigningProperties(signingProperties);
|
|
52
|
+
const { config, signer } = validatedProps;
|
|
53
|
+
let { signingRegion, signingName } = validatedProps;
|
|
54
|
+
const handlerExecutionContext = signingProperties.context;
|
|
55
|
+
if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {
|
|
56
|
+
const [first, second] = handlerExecutionContext.authSchemes;
|
|
57
|
+
if (first?.name === "sigv4a" && second?.name === "sigv4") {
|
|
58
|
+
signingRegion = second?.signingRegion ?? signingRegion;
|
|
59
|
+
signingName = second?.signingName ?? signingName;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
const signedRequest = await signer.sign(httpRequest, {
|
|
63
|
+
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
64
|
+
signingRegion: signingRegion,
|
|
65
|
+
signingService: signingName,
|
|
66
|
+
});
|
|
67
|
+
return signedRequest;
|
|
68
|
+
}
|
|
69
|
+
errorHandler(signingProperties) {
|
|
70
|
+
return (error) => {
|
|
71
|
+
const serverTime = error.ServerTime ?? getDateHeader(error.$response);
|
|
72
|
+
if (serverTime) {
|
|
73
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
74
|
+
const initialSystemClockOffset = config.systemClockOffset;
|
|
75
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);
|
|
76
|
+
const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;
|
|
77
|
+
if (clockSkewCorrected && error.$metadata) {
|
|
78
|
+
error.$metadata.clockSkewCorrected = true;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
throw error;
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
successHandler(httpResponse, signingProperties) {
|
|
85
|
+
const dateHeader = getDateHeader(httpResponse);
|
|
86
|
+
if (dateHeader) {
|
|
87
|
+
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
88
|
+
config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
const AWSSDKSigV4Signer = AwsSdkSigV4Signer;
|
|
93
|
+
|
|
94
|
+
class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
|
|
95
|
+
async sign(httpRequest, identity, signingProperties) {
|
|
96
|
+
if (!protocolHttp.HttpRequest.isInstance(httpRequest)) {
|
|
97
|
+
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
98
|
+
}
|
|
99
|
+
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(signingProperties);
|
|
100
|
+
const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
|
|
101
|
+
const multiRegionOverride = (configResolvedSigningRegionSet ??
|
|
102
|
+
signingRegionSet ?? [signingRegion]).join(",");
|
|
103
|
+
const signedRequest = await signer.sign(httpRequest, {
|
|
104
|
+
signingDate: getSkewCorrectedDate(config.systemClockOffset),
|
|
105
|
+
signingRegion: multiRegionOverride,
|
|
106
|
+
signingService: signingName,
|
|
107
|
+
});
|
|
108
|
+
return signedRequest;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : [];
|
|
113
|
+
|
|
114
|
+
const getBearerTokenEnvKey = (signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\s-]/g, "_").toUpperCase()}`;
|
|
115
|
+
|
|
116
|
+
const NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE";
|
|
117
|
+
const NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference";
|
|
118
|
+
const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
119
|
+
environmentVariableSelector: (env, options) => {
|
|
120
|
+
if (options?.signingName) {
|
|
121
|
+
const bearerTokenKey = getBearerTokenEnvKey(options.signingName);
|
|
122
|
+
if (bearerTokenKey in env)
|
|
123
|
+
return ["httpBearerAuth"];
|
|
124
|
+
}
|
|
125
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env))
|
|
126
|
+
return undefined;
|
|
127
|
+
return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);
|
|
128
|
+
},
|
|
129
|
+
configFileSelector: (profile) => {
|
|
130
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile))
|
|
131
|
+
return undefined;
|
|
132
|
+
return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);
|
|
133
|
+
},
|
|
134
|
+
default: [],
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
const resolveAwsSdkSigV4AConfig = (config) => {
|
|
138
|
+
config.sigv4aSigningRegionSet = core.normalizeProvider(config.sigv4aSigningRegionSet);
|
|
139
|
+
return config;
|
|
140
|
+
};
|
|
141
|
+
const NODE_SIGV4A_CONFIG_OPTIONS = {
|
|
142
|
+
environmentVariableSelector(env) {
|
|
143
|
+
if (env.AWS_SIGV4A_SIGNING_REGION_SET) {
|
|
144
|
+
return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim());
|
|
145
|
+
}
|
|
146
|
+
throw new propertyProvider.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", {
|
|
147
|
+
tryNextLink: true,
|
|
148
|
+
});
|
|
149
|
+
},
|
|
150
|
+
configFileSelector(profile) {
|
|
151
|
+
if (profile.sigv4a_signing_region_set) {
|
|
152
|
+
return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim());
|
|
153
|
+
}
|
|
154
|
+
throw new propertyProvider.ProviderError("sigv4a_signing_region_set not set in profile.", {
|
|
155
|
+
tryNextLink: true,
|
|
156
|
+
});
|
|
157
|
+
},
|
|
158
|
+
default: undefined,
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
const resolveAwsSdkSigV4Config = (config) => {
|
|
162
|
+
let inputCredentials = config.credentials;
|
|
163
|
+
let isUserSupplied = !!config.credentials;
|
|
164
|
+
let resolvedCredentials = undefined;
|
|
165
|
+
Object.defineProperty(config, "credentials", {
|
|
166
|
+
set(credentials) {
|
|
167
|
+
if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {
|
|
168
|
+
isUserSupplied = true;
|
|
169
|
+
}
|
|
170
|
+
inputCredentials = credentials;
|
|
171
|
+
const memoizedProvider = normalizeCredentialProvider(config, {
|
|
172
|
+
credentials: inputCredentials,
|
|
173
|
+
credentialDefaultProvider: config.credentialDefaultProvider,
|
|
174
|
+
});
|
|
175
|
+
const boundProvider = bindCallerConfig(config, memoizedProvider);
|
|
176
|
+
if (isUserSupplied && !boundProvider.attributed) {
|
|
177
|
+
const isCredentialObject = typeof inputCredentials === "object" && inputCredentials !== null;
|
|
178
|
+
resolvedCredentials = async (options) => {
|
|
179
|
+
const creds = await boundProvider(options);
|
|
180
|
+
const attributedCreds = creds;
|
|
181
|
+
if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) {
|
|
182
|
+
return client.setCredentialFeature(attributedCreds, "CREDENTIALS_CODE", "e");
|
|
183
|
+
}
|
|
184
|
+
return attributedCreds;
|
|
185
|
+
};
|
|
186
|
+
resolvedCredentials.memoized = boundProvider.memoized;
|
|
187
|
+
resolvedCredentials.configBound = boundProvider.configBound;
|
|
188
|
+
resolvedCredentials.attributed = true;
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
resolvedCredentials = boundProvider;
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
get() {
|
|
195
|
+
return resolvedCredentials;
|
|
196
|
+
},
|
|
197
|
+
enumerable: true,
|
|
198
|
+
configurable: true,
|
|
199
|
+
});
|
|
200
|
+
config.credentials = inputCredentials;
|
|
201
|
+
const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config;
|
|
202
|
+
let signer;
|
|
203
|
+
if (config.signer) {
|
|
204
|
+
signer = core.normalizeProvider(config.signer);
|
|
205
|
+
}
|
|
206
|
+
else if (config.regionInfoProvider) {
|
|
207
|
+
signer = () => core.normalizeProvider(config.region)()
|
|
208
|
+
.then(async (region) => [
|
|
209
|
+
(await config.regionInfoProvider(region, {
|
|
210
|
+
useFipsEndpoint: await config.useFipsEndpoint(),
|
|
211
|
+
useDualstackEndpoint: await config.useDualstackEndpoint(),
|
|
212
|
+
})) || {},
|
|
213
|
+
region,
|
|
214
|
+
])
|
|
215
|
+
.then(([regionInfo, region]) => {
|
|
216
|
+
const { signingRegion, signingService } = regionInfo;
|
|
217
|
+
config.signingRegion = config.signingRegion || signingRegion || region;
|
|
218
|
+
config.signingName = config.signingName || signingService || config.serviceId;
|
|
219
|
+
const params = {
|
|
220
|
+
...config,
|
|
221
|
+
credentials: config.credentials,
|
|
222
|
+
region: config.signingRegion,
|
|
223
|
+
service: config.signingName,
|
|
224
|
+
sha256,
|
|
225
|
+
uriEscapePath: signingEscapePath,
|
|
226
|
+
};
|
|
227
|
+
const SignerCtor = config.signerConstructor || signatureV4.SignatureV4;
|
|
228
|
+
return new SignerCtor(params);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
signer = async (authScheme) => {
|
|
233
|
+
authScheme = Object.assign({}, {
|
|
234
|
+
name: "sigv4",
|
|
235
|
+
signingName: config.signingName || config.defaultSigningName,
|
|
236
|
+
signingRegion: await core.normalizeProvider(config.region)(),
|
|
237
|
+
properties: {},
|
|
238
|
+
}, authScheme);
|
|
239
|
+
const signingRegion = authScheme.signingRegion;
|
|
240
|
+
const signingService = authScheme.signingName;
|
|
241
|
+
config.signingRegion = config.signingRegion || signingRegion;
|
|
242
|
+
config.signingName = config.signingName || signingService || config.serviceId;
|
|
243
|
+
const params = {
|
|
244
|
+
...config,
|
|
245
|
+
credentials: config.credentials,
|
|
246
|
+
region: config.signingRegion,
|
|
247
|
+
service: config.signingName,
|
|
248
|
+
sha256,
|
|
249
|
+
uriEscapePath: signingEscapePath,
|
|
250
|
+
};
|
|
251
|
+
const SignerCtor = config.signerConstructor || signatureV4.SignatureV4;
|
|
252
|
+
return new SignerCtor(params);
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
const resolvedConfig = Object.assign(config, {
|
|
256
|
+
systemClockOffset,
|
|
257
|
+
signingEscapePath,
|
|
258
|
+
signer,
|
|
259
|
+
});
|
|
260
|
+
return resolvedConfig;
|
|
261
|
+
};
|
|
262
|
+
const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;
|
|
263
|
+
function normalizeCredentialProvider(config, { credentials, credentialDefaultProvider, }) {
|
|
264
|
+
let credentialsProvider;
|
|
265
|
+
if (credentials) {
|
|
266
|
+
if (!credentials?.memoized) {
|
|
267
|
+
credentialsProvider = core.memoizeIdentityProvider(credentials, core.isIdentityExpired, core.doesIdentityRequireRefresh);
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
credentialsProvider = credentials;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
else {
|
|
274
|
+
if (credentialDefaultProvider) {
|
|
275
|
+
credentialsProvider = core.normalizeProvider(credentialDefaultProvider(Object.assign({}, config, {
|
|
276
|
+
parentClientConfig: config,
|
|
277
|
+
})));
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
credentialsProvider = async () => {
|
|
281
|
+
throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.");
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
credentialsProvider.memoized = true;
|
|
286
|
+
return credentialsProvider;
|
|
287
|
+
}
|
|
288
|
+
function bindCallerConfig(config, credentialsProvider) {
|
|
289
|
+
if (credentialsProvider.configBound) {
|
|
290
|
+
return credentialsProvider;
|
|
291
|
+
}
|
|
292
|
+
const fn = async (options) => credentialsProvider({ ...options, callerClientConfig: config });
|
|
293
|
+
fn.memoized = credentialsProvider.memoized;
|
|
294
|
+
fn.configBound = true;
|
|
295
|
+
return fn;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
exports.AWSSDKSigV4Signer = AWSSDKSigV4Signer;
|
|
299
|
+
exports.AwsSdkSigV4ASigner = AwsSdkSigV4ASigner;
|
|
300
|
+
exports.AwsSdkSigV4Signer = AwsSdkSigV4Signer;
|
|
301
|
+
exports.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = NODE_AUTH_SCHEME_PREFERENCE_OPTIONS;
|
|
302
|
+
exports.NODE_SIGV4A_CONFIG_OPTIONS = NODE_SIGV4A_CONFIG_OPTIONS;
|
|
303
|
+
exports.getBearerTokenEnvKey = getBearerTokenEnvKey;
|
|
304
|
+
exports.resolveAWSSDKSigV4Config = resolveAWSSDKSigV4Config;
|
|
305
|
+
exports.resolveAwsSdkSigV4AConfig = resolveAwsSdkSigV4AConfig;
|
|
306
|
+
exports.resolveAwsSdkSigV4Config = resolveAwsSdkSigV4Config;
|
|
307
|
+
exports.validateSigningProperties = validateSigningProperties;
|