@slycode/slycode 0.2.11 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/messaging/index.js +4 -2
- package/dist/messaging/index.js.map +1 -1
- package/dist/messaging/stt.d.ts +1 -0
- package/dist/messaging/stt.js +66 -57
- package/dist/messaging/stt.js.map +1 -1
- package/dist/messaging/types.d.ts +1 -0
- package/dist/web/.next/BUILD_ID +1 -1
- package/dist/web/.next/build-manifest.json +2 -2
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/index.js +3057 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/S3ServiceException.js +12 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/errors.js +203 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.js +67 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.shared.js +56 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/schemas/schemas_0.js +3258 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/package.json +127 -0
- package/dist/web/.next/prerender-manifest.json +3 -3
- package/dist/web/.next/server/app/_global-error.html +2 -2
- package/dist/web/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.html +1 -1
- package/dist/web/.next/server/app/_not-found.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
- package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
- package/dist/web/.next/server/chunks/{[root-of-the-server]__a4d171b5._.js → [root-of-the-server]__4297cb97._.js} +3 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
- package/dist/web/.next/server/chunks/{[root-of-the-server]__53ef96b9._.js → [root-of-the-server]__cf14e306._.js} +2 -2
- package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
- package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
- package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
- package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
- package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
- package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
- package/dist/web/.next/server/pages/404.html +1 -1
- package/dist/web/.next/server/pages/500.html +2 -2
- package/dist/web/.next/server/server-reference-manifest.js +1 -1
- package/dist/web/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
- package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
- package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
- package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
- package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
- package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
- package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
- package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
- package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
- package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
- package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
- package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
- package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
- package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
- package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
- package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
- package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
- package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
- package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
- package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
- package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
- package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
- package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
- package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
- package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
- package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
- package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
- package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
- package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
- package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
- package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
- package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
- package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
- package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
- package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
- package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
- package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
- package/dist/web/node_modules/@smithy/core/package.json +146 -0
- package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
- package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
- package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
- package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
- package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
- package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
- package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
- package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
- package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
- package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
- package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
- package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
- package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
- package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
- package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
- package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
- package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
- package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
- package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
- package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
- package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
- package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
- package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
- package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
- package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
- package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
- package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
- package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
- package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
- package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
- package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
- package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
- package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
- package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
- package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
- package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
- package/dist/web/node_modules/@smithy/types/package.json +61 -0
- package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
- package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
- package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
- package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
- package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
- package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
- package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
- package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
- package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
- package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
- package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
- package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
- package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
- package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
- package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
- package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
- package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
- package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
- package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
- package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
- package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
- package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
- package/dist/web/node_modules/tslib/package.json +47 -0
- package/dist/web/node_modules/tslib/tslib.js +484 -0
- package/dist/web/package-lock.json +433 -161
- package/dist/web/package.json +2 -1
- package/dist/web/src/app/api/transcribe/route.ts +84 -74
- package/dist/web/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/templates/kanban-seed.json +1 -1
- package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__0f9b71fd._.js +0 -5
- package/dist/web/.next/server/chunks/[root-of-the-server]__1dec5018._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__2605d761._.js +0 -9
- package/dist/web/.next/server/chunks/[root-of-the-server]__8ce673c9._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__a43db24d._.js +0 -19
- package/dist/web/.next/server/chunks/[root-of-the-server]__c7ac3578._.js +0 -5
- package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_buildManifest.js +0 -0
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_clientMiddlewareManifest.json +0 -0
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → rlJUIaeDUP-JDj2nvHySS}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
+
const core_2 = require("@smithy/core");
|
|
7
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
|
+
const url_parser_1 = require("@smithy/url-parser");
|
|
9
|
+
const util_base64_1 = require("@smithy/util-base64");
|
|
10
|
+
const util_utf8_1 = require("@smithy/util-utf8");
|
|
11
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
12
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
13
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
14
|
+
const getRuntimeConfig = (config) => {
|
|
15
|
+
return {
|
|
16
|
+
apiVersion: "2011-06-15",
|
|
17
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
18
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
19
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
20
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
21
|
+
extensions: config?.extensions ?? [],
|
|
22
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,
|
|
23
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
24
|
+
{
|
|
25
|
+
schemeId: "aws.auth#sigv4",
|
|
26
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
27
|
+
signer: new core_1.AwsSdkSigV4Signer(),
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
schemeId: "smithy.api#noAuth",
|
|
31
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
32
|
+
signer: new core_2.NoAuthSigner(),
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
36
|
+
protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
|
|
37
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
38
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
39
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
40
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
41
|
+
version: "2011-06-15",
|
|
42
|
+
serviceTarget: "AWSSecurityTokenServiceV20110615",
|
|
43
|
+
},
|
|
44
|
+
serviceId: config?.serviceId ?? "STS",
|
|
45
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
46
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
47
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
|
8
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
9
|
+
const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
|
|
10
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
|
+
return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
|
|
12
|
+
};
|
|
13
|
+
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssumeRoleWithWebIdentity$ = exports.AssumeRole$ = exports.Tag$ = exports.ProvidedContext$ = exports.PolicyDescriptorType$ = exports.Credentials$ = exports.AssumeRoleWithWebIdentityResponse$ = exports.AssumeRoleWithWebIdentityRequest$ = exports.AssumeRoleResponse$ = exports.AssumeRoleRequest$ = exports.AssumedRoleUser$ = exports.errorTypeRegistries = exports.RegionDisabledException$ = exports.PackedPolicyTooLargeException$ = exports.MalformedPolicyDocumentException$ = exports.InvalidIdentityTokenException$ = exports.IDPRejectedClaimException$ = exports.IDPCommunicationErrorException$ = exports.ExpiredTokenException$ = exports.STSServiceException$ = void 0;
|
|
4
|
+
const _A = "Arn";
|
|
5
|
+
const _AKI = "AccessKeyId";
|
|
6
|
+
const _AR = "AssumeRole";
|
|
7
|
+
const _ARI = "AssumedRoleId";
|
|
8
|
+
const _ARR = "AssumeRoleRequest";
|
|
9
|
+
const _ARRs = "AssumeRoleResponse";
|
|
10
|
+
const _ARU = "AssumedRoleUser";
|
|
11
|
+
const _ARWWI = "AssumeRoleWithWebIdentity";
|
|
12
|
+
const _ARWWIR = "AssumeRoleWithWebIdentityRequest";
|
|
13
|
+
const _ARWWIRs = "AssumeRoleWithWebIdentityResponse";
|
|
14
|
+
const _Au = "Audience";
|
|
15
|
+
const _C = "Credentials";
|
|
16
|
+
const _CA = "ContextAssertion";
|
|
17
|
+
const _DS = "DurationSeconds";
|
|
18
|
+
const _E = "Expiration";
|
|
19
|
+
const _EI = "ExternalId";
|
|
20
|
+
const _ETE = "ExpiredTokenException";
|
|
21
|
+
const _IDPCEE = "IDPCommunicationErrorException";
|
|
22
|
+
const _IDPRCE = "IDPRejectedClaimException";
|
|
23
|
+
const _IITE = "InvalidIdentityTokenException";
|
|
24
|
+
const _K = "Key";
|
|
25
|
+
const _MPDE = "MalformedPolicyDocumentException";
|
|
26
|
+
const _P = "Policy";
|
|
27
|
+
const _PA = "PolicyArns";
|
|
28
|
+
const _PAr = "ProviderArn";
|
|
29
|
+
const _PC = "ProvidedContexts";
|
|
30
|
+
const _PCLT = "ProvidedContextsListType";
|
|
31
|
+
const _PCr = "ProvidedContext";
|
|
32
|
+
const _PDT = "PolicyDescriptorType";
|
|
33
|
+
const _PI = "ProviderId";
|
|
34
|
+
const _PPS = "PackedPolicySize";
|
|
35
|
+
const _PPTLE = "PackedPolicyTooLargeException";
|
|
36
|
+
const _Pr = "Provider";
|
|
37
|
+
const _RA = "RoleArn";
|
|
38
|
+
const _RDE = "RegionDisabledException";
|
|
39
|
+
const _RSN = "RoleSessionName";
|
|
40
|
+
const _SAK = "SecretAccessKey";
|
|
41
|
+
const _SFWIT = "SubjectFromWebIdentityToken";
|
|
42
|
+
const _SI = "SourceIdentity";
|
|
43
|
+
const _SN = "SerialNumber";
|
|
44
|
+
const _ST = "SessionToken";
|
|
45
|
+
const _T = "Tags";
|
|
46
|
+
const _TC = "TokenCode";
|
|
47
|
+
const _TTK = "TransitiveTagKeys";
|
|
48
|
+
const _Ta = "Tag";
|
|
49
|
+
const _V = "Value";
|
|
50
|
+
const _WIT = "WebIdentityToken";
|
|
51
|
+
const _a = "arn";
|
|
52
|
+
const _aKST = "accessKeySecretType";
|
|
53
|
+
const _aQE = "awsQueryError";
|
|
54
|
+
const _c = "client";
|
|
55
|
+
const _cTT = "clientTokenType";
|
|
56
|
+
const _e = "error";
|
|
57
|
+
const _hE = "httpError";
|
|
58
|
+
const _m = "message";
|
|
59
|
+
const _pDLT = "policyDescriptorListType";
|
|
60
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
61
|
+
const _tLT = "tagListType";
|
|
62
|
+
const n0 = "com.amazonaws.sts";
|
|
63
|
+
const schema_1 = require("@smithy/core/schema");
|
|
64
|
+
const errors_1 = require("../models/errors");
|
|
65
|
+
const STSServiceException_1 = require("../models/STSServiceException");
|
|
66
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
67
|
+
exports.STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
68
|
+
_s_registry.registerError(exports.STSServiceException$, STSServiceException_1.STSServiceException);
|
|
69
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
70
|
+
exports.ExpiredTokenException$ = [
|
|
71
|
+
-3,
|
|
72
|
+
n0,
|
|
73
|
+
_ETE,
|
|
74
|
+
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
75
|
+
[_m],
|
|
76
|
+
[0],
|
|
77
|
+
];
|
|
78
|
+
n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException);
|
|
79
|
+
exports.IDPCommunicationErrorException$ = [
|
|
80
|
+
-3,
|
|
81
|
+
n0,
|
|
82
|
+
_IDPCEE,
|
|
83
|
+
{ [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 },
|
|
84
|
+
[_m],
|
|
85
|
+
[0],
|
|
86
|
+
];
|
|
87
|
+
n0_registry.registerError(exports.IDPCommunicationErrorException$, errors_1.IDPCommunicationErrorException);
|
|
88
|
+
exports.IDPRejectedClaimException$ = [
|
|
89
|
+
-3,
|
|
90
|
+
n0,
|
|
91
|
+
_IDPRCE,
|
|
92
|
+
{ [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 },
|
|
93
|
+
[_m],
|
|
94
|
+
[0],
|
|
95
|
+
];
|
|
96
|
+
n0_registry.registerError(exports.IDPRejectedClaimException$, errors_1.IDPRejectedClaimException);
|
|
97
|
+
exports.InvalidIdentityTokenException$ = [
|
|
98
|
+
-3,
|
|
99
|
+
n0,
|
|
100
|
+
_IITE,
|
|
101
|
+
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
|
|
102
|
+
[_m],
|
|
103
|
+
[0],
|
|
104
|
+
];
|
|
105
|
+
n0_registry.registerError(exports.InvalidIdentityTokenException$, errors_1.InvalidIdentityTokenException);
|
|
106
|
+
exports.MalformedPolicyDocumentException$ = [
|
|
107
|
+
-3,
|
|
108
|
+
n0,
|
|
109
|
+
_MPDE,
|
|
110
|
+
{ [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },
|
|
111
|
+
[_m],
|
|
112
|
+
[0],
|
|
113
|
+
];
|
|
114
|
+
n0_registry.registerError(exports.MalformedPolicyDocumentException$, errors_1.MalformedPolicyDocumentException);
|
|
115
|
+
exports.PackedPolicyTooLargeException$ = [
|
|
116
|
+
-3,
|
|
117
|
+
n0,
|
|
118
|
+
_PPTLE,
|
|
119
|
+
{ [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 },
|
|
120
|
+
[_m],
|
|
121
|
+
[0],
|
|
122
|
+
];
|
|
123
|
+
n0_registry.registerError(exports.PackedPolicyTooLargeException$, errors_1.PackedPolicyTooLargeException);
|
|
124
|
+
exports.RegionDisabledException$ = [
|
|
125
|
+
-3,
|
|
126
|
+
n0,
|
|
127
|
+
_RDE,
|
|
128
|
+
{ [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 },
|
|
129
|
+
[_m],
|
|
130
|
+
[0],
|
|
131
|
+
];
|
|
132
|
+
n0_registry.registerError(exports.RegionDisabledException$, errors_1.RegionDisabledException);
|
|
133
|
+
exports.errorTypeRegistries = [_s_registry, n0_registry];
|
|
134
|
+
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
135
|
+
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
136
|
+
exports.AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0], 2];
|
|
137
|
+
exports.AssumeRoleRequest$ = [
|
|
138
|
+
3,
|
|
139
|
+
n0,
|
|
140
|
+
_ARR,
|
|
141
|
+
0,
|
|
142
|
+
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
143
|
+
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
144
|
+
2,
|
|
145
|
+
];
|
|
146
|
+
exports.AssumeRoleResponse$ = [
|
|
147
|
+
3,
|
|
148
|
+
n0,
|
|
149
|
+
_ARRs,
|
|
150
|
+
0,
|
|
151
|
+
[_C, _ARU, _PPS, _SI],
|
|
152
|
+
[[() => exports.Credentials$, 0], () => exports.AssumedRoleUser$, 1, 0],
|
|
153
|
+
];
|
|
154
|
+
exports.AssumeRoleWithWebIdentityRequest$ = [
|
|
155
|
+
3,
|
|
156
|
+
n0,
|
|
157
|
+
_ARWWIR,
|
|
158
|
+
0,
|
|
159
|
+
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
160
|
+
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
161
|
+
3,
|
|
162
|
+
];
|
|
163
|
+
exports.AssumeRoleWithWebIdentityResponse$ = [
|
|
164
|
+
3,
|
|
165
|
+
n0,
|
|
166
|
+
_ARWWIRs,
|
|
167
|
+
0,
|
|
168
|
+
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
169
|
+
[[() => exports.Credentials$, 0], 0, () => exports.AssumedRoleUser$, 1, 0, 0, 0],
|
|
170
|
+
];
|
|
171
|
+
exports.Credentials$ = [
|
|
172
|
+
3,
|
|
173
|
+
n0,
|
|
174
|
+
_C,
|
|
175
|
+
0,
|
|
176
|
+
[_AKI, _SAK, _ST, _E],
|
|
177
|
+
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
178
|
+
4,
|
|
179
|
+
];
|
|
180
|
+
exports.PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]];
|
|
181
|
+
exports.ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
|
|
182
|
+
exports.Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2];
|
|
183
|
+
var policyDescriptorListType = [1, n0, _pDLT, 0, () => exports.PolicyDescriptorType$];
|
|
184
|
+
var ProvidedContextsListType = [1, n0, _PCLT, 0, () => exports.ProvidedContext$];
|
|
185
|
+
var tagKeyListType = 64 | 0;
|
|
186
|
+
var tagListType = [1, n0, _tLT, 0, () => exports.Tag$];
|
|
187
|
+
exports.AssumeRole$ = [9, n0, _AR, 0, () => exports.AssumeRoleRequest$, () => exports.AssumeRoleResponse$];
|
|
188
|
+
exports.AssumeRoleWithWebIdentity$ = [
|
|
189
|
+
9,
|
|
190
|
+
n0,
|
|
191
|
+
_ARWWI,
|
|
192
|
+
0,
|
|
193
|
+
() => exports.AssumeRoleWithWebIdentityRequest$,
|
|
194
|
+
() => exports.AssumeRoleWithWebIdentityResponse$,
|
|
195
|
+
];
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/nested-clients",
|
|
3
|
+
"version": "3.996.12",
|
|
4
|
+
"description": "Nested clients for AWS SDK packages.",
|
|
5
|
+
"main": "./dist-cjs/index.js",
|
|
6
|
+
"module": "./dist-es/index.js",
|
|
7
|
+
"types": "./dist-types/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
10
|
+
"build:cjs": "node ../../scripts/compilation/inline nested-clients",
|
|
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
|
+
"lint": "node ../../scripts/validation/submodules-linter.js --pkg nested-clients",
|
|
17
|
+
"test": "yarn g:vitest run",
|
|
18
|
+
"test:watch": "yarn g:vitest watch"
|
|
19
|
+
},
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=20.0.0"
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"author": {
|
|
25
|
+
"name": "AWS SDK for JavaScript Team",
|
|
26
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
27
|
+
},
|
|
28
|
+
"license": "Apache-2.0",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
+
"@aws-sdk/core": "^3.973.22",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
34
|
+
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "^3.972.23",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "^3.972.8",
|
|
38
|
+
"@aws-sdk/types": "^3.973.6",
|
|
39
|
+
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "^3.973.9",
|
|
42
|
+
"@smithy/config-resolver": "^4.4.11",
|
|
43
|
+
"@smithy/core": "^3.23.12",
|
|
44
|
+
"@smithy/fetch-http-handler": "^5.3.15",
|
|
45
|
+
"@smithy/hash-node": "^4.2.12",
|
|
46
|
+
"@smithy/invalid-dependency": "^4.2.12",
|
|
47
|
+
"@smithy/middleware-content-length": "^4.2.12",
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.4.26",
|
|
49
|
+
"@smithy/middleware-retry": "^4.4.43",
|
|
50
|
+
"@smithy/middleware-serde": "^4.2.15",
|
|
51
|
+
"@smithy/middleware-stack": "^4.2.12",
|
|
52
|
+
"@smithy/node-config-provider": "^4.3.12",
|
|
53
|
+
"@smithy/node-http-handler": "^4.5.0",
|
|
54
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
55
|
+
"@smithy/smithy-client": "^4.12.6",
|
|
56
|
+
"@smithy/types": "^4.13.1",
|
|
57
|
+
"@smithy/url-parser": "^4.2.12",
|
|
58
|
+
"@smithy/util-base64": "^4.3.2",
|
|
59
|
+
"@smithy/util-body-length-browser": "^4.2.2",
|
|
60
|
+
"@smithy/util-body-length-node": "^4.2.3",
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.42",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.45",
|
|
63
|
+
"@smithy/util-endpoints": "^3.3.3",
|
|
64
|
+
"@smithy/util-middleware": "^4.2.12",
|
|
65
|
+
"@smithy/util-retry": "^4.2.12",
|
|
66
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
67
|
+
"tslib": "^2.6.2"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"concurrently": "7.0.0",
|
|
71
|
+
"downlevel-dts": "0.10.1",
|
|
72
|
+
"premove": "4.0.0",
|
|
73
|
+
"typescript": "~5.8.3"
|
|
74
|
+
},
|
|
75
|
+
"typesVersions": {
|
|
76
|
+
"<4.5": {
|
|
77
|
+
"dist-types/*": [
|
|
78
|
+
"dist-types/ts3.4/*"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"files": [
|
|
83
|
+
"./cognito-identity.d.ts",
|
|
84
|
+
"./cognito-identity.js",
|
|
85
|
+
"./signin.d.ts",
|
|
86
|
+
"./signin.js",
|
|
87
|
+
"./sso-oidc.d.ts",
|
|
88
|
+
"./sso-oidc.js",
|
|
89
|
+
"./sso.d.ts",
|
|
90
|
+
"./sso.js",
|
|
91
|
+
"./sts.d.ts",
|
|
92
|
+
"./sts.js",
|
|
93
|
+
"dist-*/**"
|
|
94
|
+
],
|
|
95
|
+
"browser": {
|
|
96
|
+
"./dist-es/submodules/cognito-identity/runtimeConfig": "./dist-es/submodules/cognito-identity/runtimeConfig.browser",
|
|
97
|
+
"./dist-es/submodules/signin/runtimeConfig": "./dist-es/submodules/signin/runtimeConfig.browser",
|
|
98
|
+
"./dist-es/submodules/sso-oidc/runtimeConfig": "./dist-es/submodules/sso-oidc/runtimeConfig.browser",
|
|
99
|
+
"./dist-es/submodules/sso/runtimeConfig": "./dist-es/submodules/sso/runtimeConfig.browser",
|
|
100
|
+
"./dist-es/submodules/sts/runtimeConfig": "./dist-es/submodules/sts/runtimeConfig.browser"
|
|
101
|
+
},
|
|
102
|
+
"react-native": {},
|
|
103
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
104
|
+
"repository": {
|
|
105
|
+
"type": "git",
|
|
106
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
107
|
+
"directory": "packages/nested-clients"
|
|
108
|
+
},
|
|
109
|
+
"exports": {
|
|
110
|
+
"./package.json": "./package.json",
|
|
111
|
+
"./sso-oidc": {
|
|
112
|
+
"types": "./dist-types/submodules/sso-oidc/index.d.ts",
|
|
113
|
+
"module": "./dist-es/submodules/sso-oidc/index.js",
|
|
114
|
+
"node": "./dist-cjs/submodules/sso-oidc/index.js",
|
|
115
|
+
"import": "./dist-es/submodules/sso-oidc/index.js",
|
|
116
|
+
"require": "./dist-cjs/submodules/sso-oidc/index.js"
|
|
117
|
+
},
|
|
118
|
+
"./sts": {
|
|
119
|
+
"types": "./dist-types/submodules/sts/index.d.ts",
|
|
120
|
+
"module": "./dist-es/submodules/sts/index.js",
|
|
121
|
+
"node": "./dist-cjs/submodules/sts/index.js",
|
|
122
|
+
"import": "./dist-es/submodules/sts/index.js",
|
|
123
|
+
"require": "./dist-cjs/submodules/sts/index.js"
|
|
124
|
+
},
|
|
125
|
+
"./signin": {
|
|
126
|
+
"types": "./dist-types/submodules/signin/index.d.ts",
|
|
127
|
+
"module": "./dist-es/submodules/signin/index.js",
|
|
128
|
+
"node": "./dist-cjs/submodules/signin/index.js",
|
|
129
|
+
"import": "./dist-es/submodules/signin/index.js",
|
|
130
|
+
"require": "./dist-cjs/submodules/signin/index.js"
|
|
131
|
+
},
|
|
132
|
+
"./cognito-identity": {
|
|
133
|
+
"types": "./dist-types/submodules/cognito-identity/index.d.ts",
|
|
134
|
+
"module": "./dist-es/submodules/cognito-identity/index.js",
|
|
135
|
+
"node": "./dist-cjs/submodules/cognito-identity/index.js",
|
|
136
|
+
"import": "./dist-es/submodules/cognito-identity/index.js",
|
|
137
|
+
"require": "./dist-cjs/submodules/cognito-identity/index.js"
|
|
138
|
+
},
|
|
139
|
+
"./sso": {
|
|
140
|
+
"types": "./dist-types/submodules/sso/index.d.ts",
|
|
141
|
+
"module": "./dist-es/submodules/sso/index.js",
|
|
142
|
+
"node": "./dist-cjs/submodules/sso/index.js",
|
|
143
|
+
"import": "./dist-es/submodules/sso/index.js",
|
|
144
|
+
"require": "./dist-cjs/submodules/sso/index.js"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var stsRegionDefaultResolver = require('./regionConfig/stsRegionDefaultResolver');
|
|
4
|
+
var configResolver = require('@smithy/config-resolver');
|
|
5
|
+
|
|
6
|
+
const getAwsRegionExtensionConfiguration = (runtimeConfig) => {
|
|
7
|
+
return {
|
|
8
|
+
setRegion(region) {
|
|
9
|
+
runtimeConfig.region = region;
|
|
10
|
+
},
|
|
11
|
+
region() {
|
|
12
|
+
return runtimeConfig.region;
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => {
|
|
17
|
+
return {
|
|
18
|
+
region: awsRegionExtensionConfiguration.region(),
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.NODE_REGION_CONFIG_FILE_OPTIONS = configResolver.NODE_REGION_CONFIG_FILE_OPTIONS;
|
|
23
|
+
exports.NODE_REGION_CONFIG_OPTIONS = configResolver.NODE_REGION_CONFIG_OPTIONS;
|
|
24
|
+
exports.REGION_ENV_NAME = configResolver.REGION_ENV_NAME;
|
|
25
|
+
exports.REGION_INI_NAME = configResolver.REGION_INI_NAME;
|
|
26
|
+
exports.resolveRegionConfig = configResolver.resolveRegionConfig;
|
|
27
|
+
exports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration;
|
|
28
|
+
exports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration;
|
|
29
|
+
Object.prototype.hasOwnProperty.call(stsRegionDefaultResolver, '__proto__') &&
|
|
30
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
31
|
+
Object.defineProperty(exports, '__proto__', {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
value: stsRegionDefaultResolver['__proto__']
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
Object.keys(stsRegionDefaultResolver).forEach(function (k) {
|
|
37
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = stsRegionDefaultResolver[k];
|
|
38
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.warning = void 0;
|
|
4
|
+
exports.stsRegionDefaultResolver = stsRegionDefaultResolver;
|
|
5
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
6
|
+
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
7
|
+
function stsRegionDefaultResolver(loaderConfig = {}) {
|
|
8
|
+
return (0, node_config_provider_1.loadConfig)({
|
|
9
|
+
...config_resolver_1.NODE_REGION_CONFIG_OPTIONS,
|
|
10
|
+
async default() {
|
|
11
|
+
if (!exports.warning.silence) {
|
|
12
|
+
console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");
|
|
13
|
+
}
|
|
14
|
+
return "us-east-1";
|
|
15
|
+
},
|
|
16
|
+
}, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig });
|
|
17
|
+
}
|
|
18
|
+
exports.warning = {
|
|
19
|
+
silence: false,
|
|
20
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
+
"version": "3.972.8",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
|
+
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
7
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
9
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
12
|
+
"extract:docs": "api-extractor run --local",
|
|
13
|
+
"test": "yarn g:vitest run",
|
|
14
|
+
"test:watch": "yarn g:vitest watch"
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist-cjs/index.js",
|
|
17
|
+
"module": "./dist-es/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "AWS SDK for JavaScript Team",
|
|
22
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
23
|
+
},
|
|
24
|
+
"license": "Apache-2.0",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@aws-sdk/types": "^3.973.6",
|
|
27
|
+
"@smithy/config-resolver": "^4.4.11",
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.12",
|
|
29
|
+
"@smithy/types": "^4.13.1",
|
|
30
|
+
"tslib": "^2.6.2"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@tsconfig/recommended": "1.0.1",
|
|
34
|
+
"concurrently": "7.0.0",
|
|
35
|
+
"downlevel-dts": "0.10.1",
|
|
36
|
+
"premove": "4.0.0",
|
|
37
|
+
"typescript": "~5.8.3"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=20.0.0"
|
|
41
|
+
},
|
|
42
|
+
"typesVersions": {
|
|
43
|
+
"<4.5": {
|
|
44
|
+
"dist-types/*": [
|
|
45
|
+
"dist-types/ts3.4/*"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"dist-*/**"
|
|
51
|
+
],
|
|
52
|
+
"homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages-internal/region-config-resolver",
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
56
|
+
"directory": "packages-internal/region-config-resolver"
|
|
57
|
+
},
|
|
58
|
+
"browser": {
|
|
59
|
+
"./dist-es/regionConfig/stsRegionDefaultResolver": "./dist-es/regionConfig/stsRegionDefaultResolver.browser"
|
|
60
|
+
},
|
|
61
|
+
"react-native": {}
|
|
62
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareSdkS3 = require('@aws-sdk/middleware-sdk-s3');
|
|
4
|
+
var signatureV4 = require('@smithy/signature-v4');
|
|
5
|
+
|
|
6
|
+
const signatureV4CrtContainer = {
|
|
7
|
+
CrtSignerV4: null,
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
class SignatureV4MultiRegion {
|
|
11
|
+
sigv4aSigner;
|
|
12
|
+
sigv4Signer;
|
|
13
|
+
signerOptions;
|
|
14
|
+
static sigv4aDependency() {
|
|
15
|
+
if (typeof signatureV4CrtContainer.CrtSignerV4 === "function") {
|
|
16
|
+
return "crt";
|
|
17
|
+
}
|
|
18
|
+
else if (typeof signatureV4.signatureV4aContainer.SignatureV4a === "function") {
|
|
19
|
+
return "js";
|
|
20
|
+
}
|
|
21
|
+
return "none";
|
|
22
|
+
}
|
|
23
|
+
constructor(options) {
|
|
24
|
+
this.sigv4Signer = new middlewareSdkS3.SignatureV4S3Express(options);
|
|
25
|
+
this.signerOptions = options;
|
|
26
|
+
}
|
|
27
|
+
async sign(requestToSign, options = {}) {
|
|
28
|
+
if (options.signingRegion === "*") {
|
|
29
|
+
return this.getSigv4aSigner().sign(requestToSign, options);
|
|
30
|
+
}
|
|
31
|
+
return this.sigv4Signer.sign(requestToSign, options);
|
|
32
|
+
}
|
|
33
|
+
async signWithCredentials(requestToSign, credentials, options = {}) {
|
|
34
|
+
if (options.signingRegion === "*") {
|
|
35
|
+
const signer = this.getSigv4aSigner();
|
|
36
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
37
|
+
if (CrtSignerV4 && signer instanceof CrtSignerV4) {
|
|
38
|
+
return signer.signWithCredentials(requestToSign, credentials, options);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
throw new Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` +
|
|
42
|
+
`Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. ` +
|
|
43
|
+
`You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] ` +
|
|
44
|
+
`or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. ` +
|
|
45
|
+
`For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options);
|
|
49
|
+
}
|
|
50
|
+
async presign(originalRequest, options = {}) {
|
|
51
|
+
if (options.signingRegion === "*") {
|
|
52
|
+
const signer = this.getSigv4aSigner();
|
|
53
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
54
|
+
if (CrtSignerV4 && signer instanceof CrtSignerV4) {
|
|
55
|
+
return signer.presign(originalRequest, options);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
throw new Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` +
|
|
59
|
+
`Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. ` +
|
|
60
|
+
`You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] ` +
|
|
61
|
+
`or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. ` +
|
|
62
|
+
`For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return this.sigv4Signer.presign(originalRequest, options);
|
|
66
|
+
}
|
|
67
|
+
async presignWithCredentials(originalRequest, credentials, options = {}) {
|
|
68
|
+
if (options.signingRegion === "*") {
|
|
69
|
+
throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");
|
|
70
|
+
}
|
|
71
|
+
return this.sigv4Signer.presignWithCredentials(originalRequest, credentials, options);
|
|
72
|
+
}
|
|
73
|
+
getSigv4aSigner() {
|
|
74
|
+
if (!this.sigv4aSigner) {
|
|
75
|
+
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
76
|
+
const JsSigV4aSigner = signatureV4.signatureV4aContainer.SignatureV4a;
|
|
77
|
+
if (this.signerOptions.runtime === "node") {
|
|
78
|
+
if (!CrtSignerV4 && !JsSigV4aSigner) {
|
|
79
|
+
throw new Error("Neither CRT nor JS SigV4a implementation is available. " +
|
|
80
|
+
"Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. " +
|
|
81
|
+
"For more information please go to " +
|
|
82
|
+
"https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");
|
|
83
|
+
}
|
|
84
|
+
if (CrtSignerV4 && typeof CrtSignerV4 === "function") {
|
|
85
|
+
this.sigv4aSigner = new CrtSignerV4({
|
|
86
|
+
...this.signerOptions,
|
|
87
|
+
signingAlgorithm: 1,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
else if (JsSigV4aSigner && typeof JsSigV4aSigner === "function") {
|
|
91
|
+
this.sigv4aSigner = new JsSigV4aSigner({
|
|
92
|
+
...this.signerOptions,
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
throw new Error("Available SigV4a implementation is not a valid constructor. " +
|
|
97
|
+
"Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a." +
|
|
98
|
+
"For more information please go to " +
|
|
99
|
+
"https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
if (!JsSigV4aSigner || typeof JsSigV4aSigner !== "function") {
|
|
104
|
+
throw new Error("JS SigV4a implementation is not available or not a valid constructor. " +
|
|
105
|
+
"Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. " +
|
|
106
|
+
"You must also register the package by calling [require('@aws-sdk/signature-v4a');] " +
|
|
107
|
+
"or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. " +
|
|
108
|
+
"For more information please go to " +
|
|
109
|
+
"https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");
|
|
110
|
+
}
|
|
111
|
+
this.sigv4aSigner = new JsSigV4aSigner({
|
|
112
|
+
...this.signerOptions,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return this.sigv4aSigner;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
exports.SignatureV4MultiRegion = SignatureV4MultiRegion;
|
|
121
|
+
exports.signatureV4CrtContainer = signatureV4CrtContainer;
|