@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,556 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utilHexEncoding = require('@smithy/util-hex-encoding');
|
|
4
|
+
var utilUtf8 = require('@smithy/util-utf8');
|
|
5
|
+
var isArrayBuffer = require('@smithy/is-array-buffer');
|
|
6
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
7
|
+
var utilMiddleware = require('@smithy/util-middleware');
|
|
8
|
+
var utilUriEscape = require('@smithy/util-uri-escape');
|
|
9
|
+
|
|
10
|
+
const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
11
|
+
const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
12
|
+
const AMZ_DATE_QUERY_PARAM = "X-Amz-Date";
|
|
13
|
+
const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders";
|
|
14
|
+
const EXPIRES_QUERY_PARAM = "X-Amz-Expires";
|
|
15
|
+
const SIGNATURE_QUERY_PARAM = "X-Amz-Signature";
|
|
16
|
+
const TOKEN_QUERY_PARAM = "X-Amz-Security-Token";
|
|
17
|
+
const REGION_SET_PARAM = "X-Amz-Region-Set";
|
|
18
|
+
const AUTH_HEADER = "authorization";
|
|
19
|
+
const AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase();
|
|
20
|
+
const DATE_HEADER = "date";
|
|
21
|
+
const GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER];
|
|
22
|
+
const SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase();
|
|
23
|
+
const SHA256_HEADER = "x-amz-content-sha256";
|
|
24
|
+
const TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase();
|
|
25
|
+
const HOST_HEADER = "host";
|
|
26
|
+
const ALWAYS_UNSIGNABLE_HEADERS = {
|
|
27
|
+
authorization: true,
|
|
28
|
+
"cache-control": true,
|
|
29
|
+
connection: true,
|
|
30
|
+
expect: true,
|
|
31
|
+
from: true,
|
|
32
|
+
"keep-alive": true,
|
|
33
|
+
"max-forwards": true,
|
|
34
|
+
pragma: true,
|
|
35
|
+
referer: true,
|
|
36
|
+
te: true,
|
|
37
|
+
trailer: true,
|
|
38
|
+
"transfer-encoding": true,
|
|
39
|
+
upgrade: true,
|
|
40
|
+
"user-agent": true,
|
|
41
|
+
"x-amzn-trace-id": true,
|
|
42
|
+
};
|
|
43
|
+
const PROXY_HEADER_PATTERN = /^proxy-/;
|
|
44
|
+
const SEC_HEADER_PATTERN = /^sec-/;
|
|
45
|
+
const UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i];
|
|
46
|
+
const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256";
|
|
47
|
+
const ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256";
|
|
48
|
+
const EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD";
|
|
49
|
+
const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD";
|
|
50
|
+
const MAX_CACHE_SIZE = 50;
|
|
51
|
+
const KEY_TYPE_IDENTIFIER = "aws4_request";
|
|
52
|
+
const MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
|
|
53
|
+
|
|
54
|
+
const signingKeyCache = {};
|
|
55
|
+
const cacheQueue = [];
|
|
56
|
+
const createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`;
|
|
57
|
+
const getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => {
|
|
58
|
+
const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId);
|
|
59
|
+
const cacheKey = `${shortDate}:${region}:${service}:${utilHexEncoding.toHex(credsHash)}:${credentials.sessionToken}`;
|
|
60
|
+
if (cacheKey in signingKeyCache) {
|
|
61
|
+
return signingKeyCache[cacheKey];
|
|
62
|
+
}
|
|
63
|
+
cacheQueue.push(cacheKey);
|
|
64
|
+
while (cacheQueue.length > MAX_CACHE_SIZE) {
|
|
65
|
+
delete signingKeyCache[cacheQueue.shift()];
|
|
66
|
+
}
|
|
67
|
+
let key = `AWS4${credentials.secretAccessKey}`;
|
|
68
|
+
for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER]) {
|
|
69
|
+
key = await hmac(sha256Constructor, key, signable);
|
|
70
|
+
}
|
|
71
|
+
return (signingKeyCache[cacheKey] = key);
|
|
72
|
+
};
|
|
73
|
+
const clearCredentialCache = () => {
|
|
74
|
+
cacheQueue.length = 0;
|
|
75
|
+
Object.keys(signingKeyCache).forEach((cacheKey) => {
|
|
76
|
+
delete signingKeyCache[cacheKey];
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
const hmac = (ctor, secret, data) => {
|
|
80
|
+
const hash = new ctor(secret);
|
|
81
|
+
hash.update(utilUtf8.toUint8Array(data));
|
|
82
|
+
return hash.digest();
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
86
|
+
const canonical = {};
|
|
87
|
+
for (const headerName of Object.keys(headers).sort()) {
|
|
88
|
+
if (headers[headerName] == undefined) {
|
|
89
|
+
continue;
|
|
90
|
+
}
|
|
91
|
+
const canonicalHeaderName = headerName.toLowerCase();
|
|
92
|
+
if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS ||
|
|
93
|
+
unsignableHeaders?.has(canonicalHeaderName) ||
|
|
94
|
+
PROXY_HEADER_PATTERN.test(canonicalHeaderName) ||
|
|
95
|
+
SEC_HEADER_PATTERN.test(canonicalHeaderName)) {
|
|
96
|
+
if (!signableHeaders || (signableHeaders && !signableHeaders.has(canonicalHeaderName))) {
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " ");
|
|
101
|
+
}
|
|
102
|
+
return canonical;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
106
|
+
for (const headerName of Object.keys(headers)) {
|
|
107
|
+
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
108
|
+
return headers[headerName];
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
if (body == undefined) {
|
|
112
|
+
return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
|
|
113
|
+
}
|
|
114
|
+
else if (typeof body === "string" || ArrayBuffer.isView(body) || isArrayBuffer.isArrayBuffer(body)) {
|
|
115
|
+
const hashCtor = new hashConstructor();
|
|
116
|
+
hashCtor.update(utilUtf8.toUint8Array(body));
|
|
117
|
+
return utilHexEncoding.toHex(await hashCtor.digest());
|
|
118
|
+
}
|
|
119
|
+
return UNSIGNED_PAYLOAD;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
class HeaderFormatter {
|
|
123
|
+
format(headers) {
|
|
124
|
+
const chunks = [];
|
|
125
|
+
for (const headerName of Object.keys(headers)) {
|
|
126
|
+
const bytes = utilUtf8.fromUtf8(headerName);
|
|
127
|
+
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
128
|
+
}
|
|
129
|
+
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
130
|
+
let position = 0;
|
|
131
|
+
for (const chunk of chunks) {
|
|
132
|
+
out.set(chunk, position);
|
|
133
|
+
position += chunk.byteLength;
|
|
134
|
+
}
|
|
135
|
+
return out;
|
|
136
|
+
}
|
|
137
|
+
formatHeaderValue(header) {
|
|
138
|
+
switch (header.type) {
|
|
139
|
+
case "boolean":
|
|
140
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
141
|
+
case "byte":
|
|
142
|
+
return Uint8Array.from([2, header.value]);
|
|
143
|
+
case "short":
|
|
144
|
+
const shortView = new DataView(new ArrayBuffer(3));
|
|
145
|
+
shortView.setUint8(0, 3);
|
|
146
|
+
shortView.setInt16(1, header.value, false);
|
|
147
|
+
return new Uint8Array(shortView.buffer);
|
|
148
|
+
case "integer":
|
|
149
|
+
const intView = new DataView(new ArrayBuffer(5));
|
|
150
|
+
intView.setUint8(0, 4);
|
|
151
|
+
intView.setInt32(1, header.value, false);
|
|
152
|
+
return new Uint8Array(intView.buffer);
|
|
153
|
+
case "long":
|
|
154
|
+
const longBytes = new Uint8Array(9);
|
|
155
|
+
longBytes[0] = 5;
|
|
156
|
+
longBytes.set(header.value.bytes, 1);
|
|
157
|
+
return longBytes;
|
|
158
|
+
case "binary":
|
|
159
|
+
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
160
|
+
binView.setUint8(0, 6);
|
|
161
|
+
binView.setUint16(1, header.value.byteLength, false);
|
|
162
|
+
const binBytes = new Uint8Array(binView.buffer);
|
|
163
|
+
binBytes.set(header.value, 3);
|
|
164
|
+
return binBytes;
|
|
165
|
+
case "string":
|
|
166
|
+
const utf8Bytes = utilUtf8.fromUtf8(header.value);
|
|
167
|
+
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
168
|
+
strView.setUint8(0, 7);
|
|
169
|
+
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
170
|
+
const strBytes = new Uint8Array(strView.buffer);
|
|
171
|
+
strBytes.set(utf8Bytes, 3);
|
|
172
|
+
return strBytes;
|
|
173
|
+
case "timestamp":
|
|
174
|
+
const tsBytes = new Uint8Array(9);
|
|
175
|
+
tsBytes[0] = 8;
|
|
176
|
+
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
177
|
+
return tsBytes;
|
|
178
|
+
case "uuid":
|
|
179
|
+
if (!UUID_PATTERN.test(header.value)) {
|
|
180
|
+
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
181
|
+
}
|
|
182
|
+
const uuidBytes = new Uint8Array(17);
|
|
183
|
+
uuidBytes[0] = 9;
|
|
184
|
+
uuidBytes.set(utilHexEncoding.fromHex(header.value.replace(/\-/g, "")), 1);
|
|
185
|
+
return uuidBytes;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
190
|
+
class Int64 {
|
|
191
|
+
bytes;
|
|
192
|
+
constructor(bytes) {
|
|
193
|
+
this.bytes = bytes;
|
|
194
|
+
if (bytes.byteLength !== 8) {
|
|
195
|
+
throw new Error("Int64 buffers must be exactly 8 bytes");
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
static fromNumber(number) {
|
|
199
|
+
if (number > 9_223_372_036_854_775_807 || number < -9223372036854776e3) {
|
|
200
|
+
throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
|
|
201
|
+
}
|
|
202
|
+
const bytes = new Uint8Array(8);
|
|
203
|
+
for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {
|
|
204
|
+
bytes[i] = remaining;
|
|
205
|
+
}
|
|
206
|
+
if (number < 0) {
|
|
207
|
+
negate(bytes);
|
|
208
|
+
}
|
|
209
|
+
return new Int64(bytes);
|
|
210
|
+
}
|
|
211
|
+
valueOf() {
|
|
212
|
+
const bytes = this.bytes.slice(0);
|
|
213
|
+
const negative = bytes[0] & 0b10000000;
|
|
214
|
+
if (negative) {
|
|
215
|
+
negate(bytes);
|
|
216
|
+
}
|
|
217
|
+
return parseInt(utilHexEncoding.toHex(bytes), 16) * (negative ? -1 : 1);
|
|
218
|
+
}
|
|
219
|
+
toString() {
|
|
220
|
+
return String(this.valueOf());
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
function negate(bytes) {
|
|
224
|
+
for (let i = 0; i < 8; i++) {
|
|
225
|
+
bytes[i] ^= 0xff;
|
|
226
|
+
}
|
|
227
|
+
for (let i = 7; i > -1; i--) {
|
|
228
|
+
bytes[i]++;
|
|
229
|
+
if (bytes[i] !== 0)
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
const hasHeader = (soughtHeader, headers) => {
|
|
235
|
+
soughtHeader = soughtHeader.toLowerCase();
|
|
236
|
+
for (const headerName of Object.keys(headers)) {
|
|
237
|
+
if (soughtHeader === headerName.toLowerCase()) {
|
|
238
|
+
return true;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
return false;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
const moveHeadersToQuery = (request, options = {}) => {
|
|
245
|
+
const { headers, query = {} } = protocolHttp.HttpRequest.clone(request);
|
|
246
|
+
for (const name of Object.keys(headers)) {
|
|
247
|
+
const lname = name.toLowerCase();
|
|
248
|
+
if ((lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) ||
|
|
249
|
+
options.hoistableHeaders?.has(lname)) {
|
|
250
|
+
query[name] = headers[name];
|
|
251
|
+
delete headers[name];
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
return {
|
|
255
|
+
...request,
|
|
256
|
+
headers,
|
|
257
|
+
query,
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
const prepareRequest = (request) => {
|
|
262
|
+
request = protocolHttp.HttpRequest.clone(request);
|
|
263
|
+
for (const headerName of Object.keys(request.headers)) {
|
|
264
|
+
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
|
|
265
|
+
delete request.headers[headerName];
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return request;
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
const getCanonicalQuery = ({ query = {} }) => {
|
|
272
|
+
const keys = [];
|
|
273
|
+
const serialized = {};
|
|
274
|
+
for (const key of Object.keys(query)) {
|
|
275
|
+
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
276
|
+
continue;
|
|
277
|
+
}
|
|
278
|
+
const encodedKey = utilUriEscape.escapeUri(key);
|
|
279
|
+
keys.push(encodedKey);
|
|
280
|
+
const value = query[key];
|
|
281
|
+
if (typeof value === "string") {
|
|
282
|
+
serialized[encodedKey] = `${encodedKey}=${utilUriEscape.escapeUri(value)}`;
|
|
283
|
+
}
|
|
284
|
+
else if (Array.isArray(value)) {
|
|
285
|
+
serialized[encodedKey] = value
|
|
286
|
+
.slice(0)
|
|
287
|
+
.reduce((encoded, value) => encoded.concat([`${encodedKey}=${utilUriEscape.escapeUri(value)}`]), [])
|
|
288
|
+
.sort()
|
|
289
|
+
.join("&");
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
return keys
|
|
293
|
+
.sort()
|
|
294
|
+
.map((key) => serialized[key])
|
|
295
|
+
.filter((serialized) => serialized)
|
|
296
|
+
.join("&");
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
const iso8601 = (time) => toDate(time)
|
|
300
|
+
.toISOString()
|
|
301
|
+
.replace(/\.\d{3}Z$/, "Z");
|
|
302
|
+
const toDate = (time) => {
|
|
303
|
+
if (typeof time === "number") {
|
|
304
|
+
return new Date(time * 1000);
|
|
305
|
+
}
|
|
306
|
+
if (typeof time === "string") {
|
|
307
|
+
if (Number(time)) {
|
|
308
|
+
return new Date(Number(time) * 1000);
|
|
309
|
+
}
|
|
310
|
+
return new Date(time);
|
|
311
|
+
}
|
|
312
|
+
return time;
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
class SignatureV4Base {
|
|
316
|
+
service;
|
|
317
|
+
regionProvider;
|
|
318
|
+
credentialProvider;
|
|
319
|
+
sha256;
|
|
320
|
+
uriEscapePath;
|
|
321
|
+
applyChecksum;
|
|
322
|
+
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) {
|
|
323
|
+
this.service = service;
|
|
324
|
+
this.sha256 = sha256;
|
|
325
|
+
this.uriEscapePath = uriEscapePath;
|
|
326
|
+
this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true;
|
|
327
|
+
this.regionProvider = utilMiddleware.normalizeProvider(region);
|
|
328
|
+
this.credentialProvider = utilMiddleware.normalizeProvider(credentials);
|
|
329
|
+
}
|
|
330
|
+
createCanonicalRequest(request, canonicalHeaders, payloadHash) {
|
|
331
|
+
const sortedHeaders = Object.keys(canonicalHeaders).sort();
|
|
332
|
+
return `${request.method}
|
|
333
|
+
${this.getCanonicalPath(request)}
|
|
334
|
+
${getCanonicalQuery(request)}
|
|
335
|
+
${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\n")}
|
|
336
|
+
|
|
337
|
+
${sortedHeaders.join(";")}
|
|
338
|
+
${payloadHash}`;
|
|
339
|
+
}
|
|
340
|
+
async createStringToSign(longDate, credentialScope, canonicalRequest, algorithmIdentifier) {
|
|
341
|
+
const hash = new this.sha256();
|
|
342
|
+
hash.update(utilUtf8.toUint8Array(canonicalRequest));
|
|
343
|
+
const hashedRequest = await hash.digest();
|
|
344
|
+
return `${algorithmIdentifier}
|
|
345
|
+
${longDate}
|
|
346
|
+
${credentialScope}
|
|
347
|
+
${utilHexEncoding.toHex(hashedRequest)}`;
|
|
348
|
+
}
|
|
349
|
+
getCanonicalPath({ path }) {
|
|
350
|
+
if (this.uriEscapePath) {
|
|
351
|
+
const normalizedPathSegments = [];
|
|
352
|
+
for (const pathSegment of path.split("/")) {
|
|
353
|
+
if (pathSegment?.length === 0)
|
|
354
|
+
continue;
|
|
355
|
+
if (pathSegment === ".")
|
|
356
|
+
continue;
|
|
357
|
+
if (pathSegment === "..") {
|
|
358
|
+
normalizedPathSegments.pop();
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
normalizedPathSegments.push(pathSegment);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`;
|
|
365
|
+
const doubleEncoded = utilUriEscape.escapeUri(normalizedPath);
|
|
366
|
+
return doubleEncoded.replace(/%2F/g, "/");
|
|
367
|
+
}
|
|
368
|
+
return path;
|
|
369
|
+
}
|
|
370
|
+
validateResolvedCredentials(credentials) {
|
|
371
|
+
if (typeof credentials !== "object" ||
|
|
372
|
+
typeof credentials.accessKeyId !== "string" ||
|
|
373
|
+
typeof credentials.secretAccessKey !== "string") {
|
|
374
|
+
throw new Error("Resolved credential object is not valid");
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
formatDate(now) {
|
|
378
|
+
const longDate = iso8601(now).replace(/[\-:]/g, "");
|
|
379
|
+
return {
|
|
380
|
+
longDate,
|
|
381
|
+
shortDate: longDate.slice(0, 8),
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
getCanonicalHeaderList(headers) {
|
|
385
|
+
return Object.keys(headers).sort().join(";");
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
class SignatureV4 extends SignatureV4Base {
|
|
390
|
+
headerFormatter = new HeaderFormatter();
|
|
391
|
+
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) {
|
|
392
|
+
super({
|
|
393
|
+
applyChecksum,
|
|
394
|
+
credentials,
|
|
395
|
+
region,
|
|
396
|
+
service,
|
|
397
|
+
sha256,
|
|
398
|
+
uriEscapePath,
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
async presign(originalRequest, options = {}) {
|
|
402
|
+
const { signingDate = new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, hoistableHeaders, signingRegion, signingService, } = options;
|
|
403
|
+
const credentials = await this.credentialProvider();
|
|
404
|
+
this.validateResolvedCredentials(credentials);
|
|
405
|
+
const region = signingRegion ?? (await this.regionProvider());
|
|
406
|
+
const { longDate, shortDate } = this.formatDate(signingDate);
|
|
407
|
+
if (expiresIn > MAX_PRESIGNED_TTL) {
|
|
408
|
+
return Promise.reject("Signature version 4 presigned URLs" + " must have an expiration date less than one week in" + " the future");
|
|
409
|
+
}
|
|
410
|
+
const scope = createScope(shortDate, region, signingService ?? this.service);
|
|
411
|
+
const request = moveHeadersToQuery(prepareRequest(originalRequest), { unhoistableHeaders, hoistableHeaders });
|
|
412
|
+
if (credentials.sessionToken) {
|
|
413
|
+
request.query[TOKEN_QUERY_PARAM] = credentials.sessionToken;
|
|
414
|
+
}
|
|
415
|
+
request.query[ALGORITHM_QUERY_PARAM] = ALGORITHM_IDENTIFIER;
|
|
416
|
+
request.query[CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`;
|
|
417
|
+
request.query[AMZ_DATE_QUERY_PARAM] = longDate;
|
|
418
|
+
request.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10);
|
|
419
|
+
const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders);
|
|
420
|
+
request.query[SIGNED_HEADERS_QUERY_PARAM] = this.getCanonicalHeaderList(canonicalHeaders);
|
|
421
|
+
request.query[SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await getPayloadHash(originalRequest, this.sha256)));
|
|
422
|
+
return request;
|
|
423
|
+
}
|
|
424
|
+
async sign(toSign, options) {
|
|
425
|
+
if (typeof toSign === "string") {
|
|
426
|
+
return this.signString(toSign, options);
|
|
427
|
+
}
|
|
428
|
+
else if (toSign.headers && toSign.payload) {
|
|
429
|
+
return this.signEvent(toSign, options);
|
|
430
|
+
}
|
|
431
|
+
else if (toSign.message) {
|
|
432
|
+
return this.signMessage(toSign, options);
|
|
433
|
+
}
|
|
434
|
+
else {
|
|
435
|
+
return this.signRequest(toSign, options);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService }) {
|
|
439
|
+
const region = signingRegion ?? (await this.regionProvider());
|
|
440
|
+
const { shortDate, longDate } = this.formatDate(signingDate);
|
|
441
|
+
const scope = createScope(shortDate, region, signingService ?? this.service);
|
|
442
|
+
const hashedPayload = await getPayloadHash({ headers: {}, body: payload }, this.sha256);
|
|
443
|
+
const hash = new this.sha256();
|
|
444
|
+
hash.update(headers);
|
|
445
|
+
const hashedHeaders = utilHexEncoding.toHex(await hash.digest());
|
|
446
|
+
const stringToSign = [
|
|
447
|
+
EVENT_ALGORITHM_IDENTIFIER,
|
|
448
|
+
longDate,
|
|
449
|
+
scope,
|
|
450
|
+
priorSignature,
|
|
451
|
+
hashedHeaders,
|
|
452
|
+
hashedPayload,
|
|
453
|
+
].join("\n");
|
|
454
|
+
return this.signString(stringToSign, { signingDate, signingRegion: region, signingService });
|
|
455
|
+
}
|
|
456
|
+
async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService }) {
|
|
457
|
+
const promise = this.signEvent({
|
|
458
|
+
headers: this.headerFormatter.format(signableMessage.message.headers),
|
|
459
|
+
payload: signableMessage.message.body,
|
|
460
|
+
}, {
|
|
461
|
+
signingDate,
|
|
462
|
+
signingRegion,
|
|
463
|
+
signingService,
|
|
464
|
+
priorSignature: signableMessage.priorSignature,
|
|
465
|
+
});
|
|
466
|
+
return promise.then((signature) => {
|
|
467
|
+
return { message: signableMessage.message, signature };
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService } = {}) {
|
|
471
|
+
const credentials = await this.credentialProvider();
|
|
472
|
+
this.validateResolvedCredentials(credentials);
|
|
473
|
+
const region = signingRegion ?? (await this.regionProvider());
|
|
474
|
+
const { shortDate } = this.formatDate(signingDate);
|
|
475
|
+
const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));
|
|
476
|
+
hash.update(utilUtf8.toUint8Array(stringToSign));
|
|
477
|
+
return utilHexEncoding.toHex(await hash.digest());
|
|
478
|
+
}
|
|
479
|
+
async signRequest(requestToSign, { signingDate = new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService, } = {}) {
|
|
480
|
+
const credentials = await this.credentialProvider();
|
|
481
|
+
this.validateResolvedCredentials(credentials);
|
|
482
|
+
const region = signingRegion ?? (await this.regionProvider());
|
|
483
|
+
const request = prepareRequest(requestToSign);
|
|
484
|
+
const { longDate, shortDate } = this.formatDate(signingDate);
|
|
485
|
+
const scope = createScope(shortDate, region, signingService ?? this.service);
|
|
486
|
+
request.headers[AMZ_DATE_HEADER] = longDate;
|
|
487
|
+
if (credentials.sessionToken) {
|
|
488
|
+
request.headers[TOKEN_HEADER] = credentials.sessionToken;
|
|
489
|
+
}
|
|
490
|
+
const payloadHash = await getPayloadHash(request, this.sha256);
|
|
491
|
+
if (!hasHeader(SHA256_HEADER, request.headers) && this.applyChecksum) {
|
|
492
|
+
request.headers[SHA256_HEADER] = payloadHash;
|
|
493
|
+
}
|
|
494
|
+
const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders);
|
|
495
|
+
const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, payloadHash));
|
|
496
|
+
request.headers[AUTH_HEADER] =
|
|
497
|
+
`${ALGORITHM_IDENTIFIER} ` +
|
|
498
|
+
`Credential=${credentials.accessKeyId}/${scope}, ` +
|
|
499
|
+
`SignedHeaders=${this.getCanonicalHeaderList(canonicalHeaders)}, ` +
|
|
500
|
+
`Signature=${signature}`;
|
|
501
|
+
return request;
|
|
502
|
+
}
|
|
503
|
+
async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {
|
|
504
|
+
const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest, ALGORITHM_IDENTIFIER);
|
|
505
|
+
const hash = new this.sha256(await keyPromise);
|
|
506
|
+
hash.update(utilUtf8.toUint8Array(stringToSign));
|
|
507
|
+
return utilHexEncoding.toHex(await hash.digest());
|
|
508
|
+
}
|
|
509
|
+
getSigningKey(credentials, region, shortDate, service) {
|
|
510
|
+
return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
const signatureV4aContainer = {
|
|
515
|
+
SignatureV4a: null,
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
exports.ALGORITHM_IDENTIFIER = ALGORITHM_IDENTIFIER;
|
|
519
|
+
exports.ALGORITHM_IDENTIFIER_V4A = ALGORITHM_IDENTIFIER_V4A;
|
|
520
|
+
exports.ALGORITHM_QUERY_PARAM = ALGORITHM_QUERY_PARAM;
|
|
521
|
+
exports.ALWAYS_UNSIGNABLE_HEADERS = ALWAYS_UNSIGNABLE_HEADERS;
|
|
522
|
+
exports.AMZ_DATE_HEADER = AMZ_DATE_HEADER;
|
|
523
|
+
exports.AMZ_DATE_QUERY_PARAM = AMZ_DATE_QUERY_PARAM;
|
|
524
|
+
exports.AUTH_HEADER = AUTH_HEADER;
|
|
525
|
+
exports.CREDENTIAL_QUERY_PARAM = CREDENTIAL_QUERY_PARAM;
|
|
526
|
+
exports.DATE_HEADER = DATE_HEADER;
|
|
527
|
+
exports.EVENT_ALGORITHM_IDENTIFIER = EVENT_ALGORITHM_IDENTIFIER;
|
|
528
|
+
exports.EXPIRES_QUERY_PARAM = EXPIRES_QUERY_PARAM;
|
|
529
|
+
exports.GENERATED_HEADERS = GENERATED_HEADERS;
|
|
530
|
+
exports.HOST_HEADER = HOST_HEADER;
|
|
531
|
+
exports.KEY_TYPE_IDENTIFIER = KEY_TYPE_IDENTIFIER;
|
|
532
|
+
exports.MAX_CACHE_SIZE = MAX_CACHE_SIZE;
|
|
533
|
+
exports.MAX_PRESIGNED_TTL = MAX_PRESIGNED_TTL;
|
|
534
|
+
exports.PROXY_HEADER_PATTERN = PROXY_HEADER_PATTERN;
|
|
535
|
+
exports.REGION_SET_PARAM = REGION_SET_PARAM;
|
|
536
|
+
exports.SEC_HEADER_PATTERN = SEC_HEADER_PATTERN;
|
|
537
|
+
exports.SHA256_HEADER = SHA256_HEADER;
|
|
538
|
+
exports.SIGNATURE_HEADER = SIGNATURE_HEADER;
|
|
539
|
+
exports.SIGNATURE_QUERY_PARAM = SIGNATURE_QUERY_PARAM;
|
|
540
|
+
exports.SIGNED_HEADERS_QUERY_PARAM = SIGNED_HEADERS_QUERY_PARAM;
|
|
541
|
+
exports.SignatureV4 = SignatureV4;
|
|
542
|
+
exports.SignatureV4Base = SignatureV4Base;
|
|
543
|
+
exports.TOKEN_HEADER = TOKEN_HEADER;
|
|
544
|
+
exports.TOKEN_QUERY_PARAM = TOKEN_QUERY_PARAM;
|
|
545
|
+
exports.UNSIGNABLE_PATTERNS = UNSIGNABLE_PATTERNS;
|
|
546
|
+
exports.UNSIGNED_PAYLOAD = UNSIGNED_PAYLOAD;
|
|
547
|
+
exports.clearCredentialCache = clearCredentialCache;
|
|
548
|
+
exports.createScope = createScope;
|
|
549
|
+
exports.getCanonicalHeaders = getCanonicalHeaders;
|
|
550
|
+
exports.getCanonicalQuery = getCanonicalQuery;
|
|
551
|
+
exports.getPayloadHash = getPayloadHash;
|
|
552
|
+
exports.getSigningKey = getSigningKey;
|
|
553
|
+
exports.hasHeader = hasHeader;
|
|
554
|
+
exports.moveHeadersToQuery = moveHeadersToQuery;
|
|
555
|
+
exports.prepareRequest = prepareRequest;
|
|
556
|
+
exports.signatureV4aContainer = signatureV4aContainer;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/signature-v4",
|
|
3
|
+
"version": "5.3.12",
|
|
4
|
+
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
|
+
"main": "./dist-cjs/index.js",
|
|
6
|
+
"module": "./dist-es/index.js",
|
|
7
|
+
"types": "./dist-types/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
10
|
+
"build:cjs": "node ../../scripts/inline signature-v4",
|
|
11
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
12
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
13
|
+
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
14
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
15
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
16
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
17
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
18
|
+
"extract:docs": "api-extractor run --local",
|
|
19
|
+
"test": "yarn g:vitest run",
|
|
20
|
+
"test:watch": "yarn g:vitest watch"
|
|
21
|
+
},
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "AWS SDK for JavaScript Team",
|
|
24
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
25
|
+
},
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@smithy/is-array-buffer": "^4.2.2",
|
|
30
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
31
|
+
"@smithy/types": "^4.13.1",
|
|
32
|
+
"@smithy/util-hex-encoding": "^4.2.2",
|
|
33
|
+
"@smithy/util-middleware": "^4.2.12",
|
|
34
|
+
"@smithy/util-uri-escape": "^4.2.2",
|
|
35
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
36
|
+
"tslib": "^2.6.2"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
40
|
+
"concurrently": "7.0.0",
|
|
41
|
+
"downlevel-dts": "0.10.1",
|
|
42
|
+
"premove": "4.0.0",
|
|
43
|
+
"typedoc": "0.23.23"
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=18.0.0"
|
|
47
|
+
},
|
|
48
|
+
"typesVersions": {
|
|
49
|
+
"<4.5": {
|
|
50
|
+
"dist-types/*": [
|
|
51
|
+
"dist-types/ts3.4/*"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"dist-*/**"
|
|
57
|
+
],
|
|
58
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
62
|
+
"directory": "packages/signature-v4"
|
|
63
|
+
},
|
|
64
|
+
"typedoc": {
|
|
65
|
+
"entryPoint": "src/index.ts"
|
|
66
|
+
},
|
|
67
|
+
"publishConfig": {
|
|
68
|
+
"directory": ".release/package"
|
|
69
|
+
}
|
|
70
|
+
}
|