@slycode/slycode 0.2.11 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/messaging/index.js +4 -2
- package/dist/messaging/index.js.map +1 -1
- package/dist/messaging/state.js +1 -0
- package/dist/messaging/state.js.map +1 -1
- package/dist/messaging/stt.d.ts +1 -0
- package/dist/messaging/stt.js +66 -57
- package/dist/messaging/stt.js.map +1 -1
- package/dist/messaging/types.d.ts +1 -0
- package/dist/web/.next/BUILD_ID +1 -1
- package/dist/web/.next/build-manifest.json +2 -2
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/index.js +3057 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/S3ServiceException.js +12 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/errors.js +203 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.js +67 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.shared.js +56 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/schemas/schemas_0.js +3258 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/package.json +127 -0
- package/dist/web/.next/prerender-manifest.json +3 -3
- package/dist/web/.next/server/app/_global-error.html +2 -2
- package/dist/web/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.html +1 -1
- package/dist/web/.next/server/app/_not-found.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
- package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
- package/dist/web/.next/server/chunks/{[root-of-the-server]__a4d171b5._.js → [root-of-the-server]__4297cb97._.js} +3 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
- package/dist/web/.next/server/chunks/{[root-of-the-server]__53ef96b9._.js → [root-of-the-server]__cf14e306._.js} +2 -2
- package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
- package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
- package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
- package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
- package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
- package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
- package/dist/web/.next/server/pages/404.html +1 -1
- package/dist/web/.next/server/pages/500.html +2 -2
- package/dist/web/.next/server/server-reference-manifest.js +1 -1
- package/dist/web/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
- package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
- package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
- package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
- package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
- package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
- package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
- package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
- package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
- package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
- package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
- package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
- package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
- package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
- package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
- package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
- package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
- package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
- package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
- package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
- package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
- package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
- package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
- package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
- package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
- package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
- package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
- package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
- package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
- package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
- package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
- package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
- package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
- package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
- package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
- package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
- package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
- package/dist/web/node_modules/@smithy/core/package.json +146 -0
- package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
- package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
- package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
- package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
- package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
- package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
- package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
- package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
- package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
- package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
- package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
- package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
- package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
- package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
- package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
- package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
- package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
- package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
- package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
- package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
- package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
- package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
- package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
- package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
- package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
- package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
- package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
- package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
- package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
- package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
- package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
- package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
- package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
- package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
- package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
- package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
- package/dist/web/node_modules/@smithy/types/package.json +61 -0
- package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
- package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
- package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
- package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
- package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
- package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
- package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
- package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
- package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
- package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
- package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
- package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
- package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
- package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
- package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
- package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
- package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
- package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
- package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
- package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
- package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
- package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
- package/dist/web/node_modules/tslib/package.json +47 -0
- package/dist/web/node_modules/tslib/tslib.js +484 -0
- package/dist/web/package-lock.json +433 -161
- package/dist/web/package.json +2 -1
- package/dist/web/src/app/api/transcribe/route.ts +84 -74
- package/dist/web/tsconfig.tsbuildinfo +1 -1
- package/lib/cli/stop.d.ts.map +1 -1
- package/lib/cli/stop.js +38 -18
- package/lib/cli/stop.js.map +1 -1
- package/package.json +1 -1
- package/templates/kanban-seed.json +1 -1
- package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__0f9b71fd._.js +0 -5
- package/dist/web/.next/server/chunks/[root-of-the-server]__1dec5018._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__2605d761._.js +0 -9
- package/dist/web/.next/server/chunks/[root-of-the-server]__8ce673c9._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__a43db24d._.js +0 -19
- package/dist/web/.next/server/chunks/[root-of-the-server]__c7ac3578._.js +0 -5
- package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → 5LMWBFPioBVfTpJ4F5OT6}/_buildManifest.js +0 -0
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → 5LMWBFPioBVfTpJ4F5OT6}/_clientMiddlewareManifest.json +0 -0
- /package/dist/web/.next/static/{eGpcv9LfmamGIm1II8SKL → 5LMWBFPioBVfTpJ4F5OT6}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utilRetry = require('@smithy/util-retry');
|
|
4
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
5
|
+
var serviceErrorClassification = require('@smithy/service-error-classification');
|
|
6
|
+
var uuid = require('@smithy/uuid');
|
|
7
|
+
var utilMiddleware = require('@smithy/util-middleware');
|
|
8
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
9
|
+
var isStreamingPayload = require('./isStreamingPayload/isStreamingPayload');
|
|
10
|
+
|
|
11
|
+
const getDefaultRetryQuota = (initialRetryTokens, options) => {
|
|
12
|
+
const MAX_CAPACITY = initialRetryTokens;
|
|
13
|
+
const noRetryIncrement = utilRetry.NO_RETRY_INCREMENT;
|
|
14
|
+
const retryCost = utilRetry.RETRY_COST;
|
|
15
|
+
const timeoutRetryCost = utilRetry.TIMEOUT_RETRY_COST;
|
|
16
|
+
let availableCapacity = initialRetryTokens;
|
|
17
|
+
const getCapacityAmount = (error) => (error.name === "TimeoutError" ? timeoutRetryCost : retryCost);
|
|
18
|
+
const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity;
|
|
19
|
+
const retrieveRetryTokens = (error) => {
|
|
20
|
+
if (!hasRetryTokens(error)) {
|
|
21
|
+
throw new Error("No retry token available");
|
|
22
|
+
}
|
|
23
|
+
const capacityAmount = getCapacityAmount(error);
|
|
24
|
+
availableCapacity -= capacityAmount;
|
|
25
|
+
return capacityAmount;
|
|
26
|
+
};
|
|
27
|
+
const releaseRetryTokens = (capacityReleaseAmount) => {
|
|
28
|
+
availableCapacity += capacityReleaseAmount ?? noRetryIncrement;
|
|
29
|
+
availableCapacity = Math.min(availableCapacity, MAX_CAPACITY);
|
|
30
|
+
};
|
|
31
|
+
return Object.freeze({
|
|
32
|
+
hasRetryTokens,
|
|
33
|
+
retrieveRetryTokens,
|
|
34
|
+
releaseRetryTokens,
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
const defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(utilRetry.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
|
|
39
|
+
|
|
40
|
+
const defaultRetryDecider = (error) => {
|
|
41
|
+
if (!error) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
return serviceErrorClassification.isRetryableByTrait(error) || serviceErrorClassification.isClockSkewError(error) || serviceErrorClassification.isThrottlingError(error) || serviceErrorClassification.isTransientError(error);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const asSdkError = (error) => {
|
|
48
|
+
if (error instanceof Error)
|
|
49
|
+
return error;
|
|
50
|
+
if (error instanceof Object)
|
|
51
|
+
return Object.assign(new Error(), error);
|
|
52
|
+
if (typeof error === "string")
|
|
53
|
+
return new Error(error);
|
|
54
|
+
return new Error(`AWS SDK error wrapper for ${error}`);
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
class StandardRetryStrategy {
|
|
58
|
+
maxAttemptsProvider;
|
|
59
|
+
retryDecider;
|
|
60
|
+
delayDecider;
|
|
61
|
+
retryQuota;
|
|
62
|
+
mode = utilRetry.RETRY_MODES.STANDARD;
|
|
63
|
+
constructor(maxAttemptsProvider, options) {
|
|
64
|
+
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
65
|
+
this.retryDecider = options?.retryDecider ?? defaultRetryDecider;
|
|
66
|
+
this.delayDecider = options?.delayDecider ?? defaultDelayDecider;
|
|
67
|
+
this.retryQuota = options?.retryQuota ?? getDefaultRetryQuota(utilRetry.INITIAL_RETRY_TOKENS);
|
|
68
|
+
}
|
|
69
|
+
shouldRetry(error, attempts, maxAttempts) {
|
|
70
|
+
return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error);
|
|
71
|
+
}
|
|
72
|
+
async getMaxAttempts() {
|
|
73
|
+
let maxAttempts;
|
|
74
|
+
try {
|
|
75
|
+
maxAttempts = await this.maxAttemptsProvider();
|
|
76
|
+
}
|
|
77
|
+
catch (error) {
|
|
78
|
+
maxAttempts = utilRetry.DEFAULT_MAX_ATTEMPTS;
|
|
79
|
+
}
|
|
80
|
+
return maxAttempts;
|
|
81
|
+
}
|
|
82
|
+
async retry(next, args, options) {
|
|
83
|
+
let retryTokenAmount;
|
|
84
|
+
let attempts = 0;
|
|
85
|
+
let totalDelay = 0;
|
|
86
|
+
const maxAttempts = await this.getMaxAttempts();
|
|
87
|
+
const { request } = args;
|
|
88
|
+
if (protocolHttp.HttpRequest.isInstance(request)) {
|
|
89
|
+
request.headers[utilRetry.INVOCATION_ID_HEADER] = uuid.v4();
|
|
90
|
+
}
|
|
91
|
+
while (true) {
|
|
92
|
+
try {
|
|
93
|
+
if (protocolHttp.HttpRequest.isInstance(request)) {
|
|
94
|
+
request.headers[utilRetry.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
|
|
95
|
+
}
|
|
96
|
+
if (options?.beforeRequest) {
|
|
97
|
+
await options.beforeRequest();
|
|
98
|
+
}
|
|
99
|
+
const { response, output } = await next(args);
|
|
100
|
+
if (options?.afterRequest) {
|
|
101
|
+
options.afterRequest(response);
|
|
102
|
+
}
|
|
103
|
+
this.retryQuota.releaseRetryTokens(retryTokenAmount);
|
|
104
|
+
output.$metadata.attempts = attempts + 1;
|
|
105
|
+
output.$metadata.totalRetryDelay = totalDelay;
|
|
106
|
+
return { response, output };
|
|
107
|
+
}
|
|
108
|
+
catch (e) {
|
|
109
|
+
const err = asSdkError(e);
|
|
110
|
+
attempts++;
|
|
111
|
+
if (this.shouldRetry(err, attempts, maxAttempts)) {
|
|
112
|
+
retryTokenAmount = this.retryQuota.retrieveRetryTokens(err);
|
|
113
|
+
const delayFromDecider = this.delayDecider(serviceErrorClassification.isThrottlingError(err) ? utilRetry.THROTTLING_RETRY_DELAY_BASE : utilRetry.DEFAULT_RETRY_DELAY_BASE, attempts);
|
|
114
|
+
const delayFromResponse = getDelayFromRetryAfterHeader(err.$response);
|
|
115
|
+
const delay = Math.max(delayFromResponse || 0, delayFromDecider);
|
|
116
|
+
totalDelay += delay;
|
|
117
|
+
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
if (!err.$metadata) {
|
|
121
|
+
err.$metadata = {};
|
|
122
|
+
}
|
|
123
|
+
err.$metadata.attempts = attempts;
|
|
124
|
+
err.$metadata.totalRetryDelay = totalDelay;
|
|
125
|
+
throw err;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
const getDelayFromRetryAfterHeader = (response) => {
|
|
131
|
+
if (!protocolHttp.HttpResponse.isInstance(response))
|
|
132
|
+
return;
|
|
133
|
+
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
134
|
+
if (!retryAfterHeaderName)
|
|
135
|
+
return;
|
|
136
|
+
const retryAfter = response.headers[retryAfterHeaderName];
|
|
137
|
+
const retryAfterSeconds = Number(retryAfter);
|
|
138
|
+
if (!Number.isNaN(retryAfterSeconds))
|
|
139
|
+
return retryAfterSeconds * 1000;
|
|
140
|
+
const retryAfterDate = new Date(retryAfter);
|
|
141
|
+
return retryAfterDate.getTime() - Date.now();
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
class AdaptiveRetryStrategy extends StandardRetryStrategy {
|
|
145
|
+
rateLimiter;
|
|
146
|
+
constructor(maxAttemptsProvider, options) {
|
|
147
|
+
const { rateLimiter, ...superOptions } = options ?? {};
|
|
148
|
+
super(maxAttemptsProvider, superOptions);
|
|
149
|
+
this.rateLimiter = rateLimiter ?? new utilRetry.DefaultRateLimiter();
|
|
150
|
+
this.mode = utilRetry.RETRY_MODES.ADAPTIVE;
|
|
151
|
+
}
|
|
152
|
+
async retry(next, args) {
|
|
153
|
+
return super.retry(next, args, {
|
|
154
|
+
beforeRequest: async () => {
|
|
155
|
+
return this.rateLimiter.getSendToken();
|
|
156
|
+
},
|
|
157
|
+
afterRequest: (response) => {
|
|
158
|
+
this.rateLimiter.updateClientSendingRate(response);
|
|
159
|
+
},
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
|
165
|
+
const CONFIG_MAX_ATTEMPTS = "max_attempts";
|
|
166
|
+
const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
167
|
+
environmentVariableSelector: (env) => {
|
|
168
|
+
const value = env[ENV_MAX_ATTEMPTS];
|
|
169
|
+
if (!value)
|
|
170
|
+
return undefined;
|
|
171
|
+
const maxAttempt = parseInt(value);
|
|
172
|
+
if (Number.isNaN(maxAttempt)) {
|
|
173
|
+
throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`);
|
|
174
|
+
}
|
|
175
|
+
return maxAttempt;
|
|
176
|
+
},
|
|
177
|
+
configFileSelector: (profile) => {
|
|
178
|
+
const value = profile[CONFIG_MAX_ATTEMPTS];
|
|
179
|
+
if (!value)
|
|
180
|
+
return undefined;
|
|
181
|
+
const maxAttempt = parseInt(value);
|
|
182
|
+
if (Number.isNaN(maxAttempt)) {
|
|
183
|
+
throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`);
|
|
184
|
+
}
|
|
185
|
+
return maxAttempt;
|
|
186
|
+
},
|
|
187
|
+
default: utilRetry.DEFAULT_MAX_ATTEMPTS,
|
|
188
|
+
};
|
|
189
|
+
const resolveRetryConfig = (input) => {
|
|
190
|
+
const { retryStrategy, retryMode } = input;
|
|
191
|
+
const maxAttempts = utilMiddleware.normalizeProvider(input.maxAttempts ?? utilRetry.DEFAULT_MAX_ATTEMPTS);
|
|
192
|
+
let controller = retryStrategy
|
|
193
|
+
? Promise.resolve(retryStrategy)
|
|
194
|
+
: undefined;
|
|
195
|
+
const getDefault = async () => (await utilMiddleware.normalizeProvider(retryMode)()) === utilRetry.RETRY_MODES.ADAPTIVE
|
|
196
|
+
? new utilRetry.AdaptiveRetryStrategy(maxAttempts)
|
|
197
|
+
: new utilRetry.StandardRetryStrategy(maxAttempts);
|
|
198
|
+
return Object.assign(input, {
|
|
199
|
+
maxAttempts,
|
|
200
|
+
retryStrategy: () => (controller ??= getDefault()),
|
|
201
|
+
});
|
|
202
|
+
};
|
|
203
|
+
const ENV_RETRY_MODE = "AWS_RETRY_MODE";
|
|
204
|
+
const CONFIG_RETRY_MODE = "retry_mode";
|
|
205
|
+
const NODE_RETRY_MODE_CONFIG_OPTIONS = {
|
|
206
|
+
environmentVariableSelector: (env) => env[ENV_RETRY_MODE],
|
|
207
|
+
configFileSelector: (profile) => profile[CONFIG_RETRY_MODE],
|
|
208
|
+
default: utilRetry.DEFAULT_RETRY_MODE,
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
const omitRetryHeadersMiddleware = () => (next) => async (args) => {
|
|
212
|
+
const { request } = args;
|
|
213
|
+
if (protocolHttp.HttpRequest.isInstance(request)) {
|
|
214
|
+
delete request.headers[utilRetry.INVOCATION_ID_HEADER];
|
|
215
|
+
delete request.headers[utilRetry.REQUEST_HEADER];
|
|
216
|
+
}
|
|
217
|
+
return next(args);
|
|
218
|
+
};
|
|
219
|
+
const omitRetryHeadersMiddlewareOptions = {
|
|
220
|
+
name: "omitRetryHeadersMiddleware",
|
|
221
|
+
tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"],
|
|
222
|
+
relation: "before",
|
|
223
|
+
toMiddleware: "awsAuthMiddleware",
|
|
224
|
+
override: true,
|
|
225
|
+
};
|
|
226
|
+
const getOmitRetryHeadersPlugin = (options) => ({
|
|
227
|
+
applyToStack: (clientStack) => {
|
|
228
|
+
clientStack.addRelativeTo(omitRetryHeadersMiddleware(), omitRetryHeadersMiddlewareOptions);
|
|
229
|
+
},
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
const retryMiddleware = (options) => (next, context) => async (args) => {
|
|
233
|
+
let retryStrategy = await options.retryStrategy();
|
|
234
|
+
const maxAttempts = await options.maxAttempts();
|
|
235
|
+
if (isRetryStrategyV2(retryStrategy)) {
|
|
236
|
+
retryStrategy = retryStrategy;
|
|
237
|
+
let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]);
|
|
238
|
+
let lastError = new Error();
|
|
239
|
+
let attempts = 0;
|
|
240
|
+
let totalRetryDelay = 0;
|
|
241
|
+
const { request } = args;
|
|
242
|
+
const isRequest = protocolHttp.HttpRequest.isInstance(request);
|
|
243
|
+
if (isRequest) {
|
|
244
|
+
request.headers[utilRetry.INVOCATION_ID_HEADER] = uuid.v4();
|
|
245
|
+
}
|
|
246
|
+
while (true) {
|
|
247
|
+
try {
|
|
248
|
+
if (isRequest) {
|
|
249
|
+
request.headers[utilRetry.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
|
|
250
|
+
}
|
|
251
|
+
const { response, output } = await next(args);
|
|
252
|
+
retryStrategy.recordSuccess(retryToken);
|
|
253
|
+
output.$metadata.attempts = attempts + 1;
|
|
254
|
+
output.$metadata.totalRetryDelay = totalRetryDelay;
|
|
255
|
+
return { response, output };
|
|
256
|
+
}
|
|
257
|
+
catch (e) {
|
|
258
|
+
const retryErrorInfo = getRetryErrorInfo(e);
|
|
259
|
+
lastError = asSdkError(e);
|
|
260
|
+
if (isRequest && isStreamingPayload.isStreamingPayload(request)) {
|
|
261
|
+
(context.logger instanceof smithyClient.NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request.");
|
|
262
|
+
throw lastError;
|
|
263
|
+
}
|
|
264
|
+
try {
|
|
265
|
+
retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
|
|
266
|
+
}
|
|
267
|
+
catch (refreshError) {
|
|
268
|
+
if (!lastError.$metadata) {
|
|
269
|
+
lastError.$metadata = {};
|
|
270
|
+
}
|
|
271
|
+
lastError.$metadata.attempts = attempts + 1;
|
|
272
|
+
lastError.$metadata.totalRetryDelay = totalRetryDelay;
|
|
273
|
+
throw lastError;
|
|
274
|
+
}
|
|
275
|
+
attempts = retryToken.getRetryCount();
|
|
276
|
+
const delay = retryToken.getRetryDelay();
|
|
277
|
+
totalRetryDelay += delay;
|
|
278
|
+
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
else {
|
|
283
|
+
retryStrategy = retryStrategy;
|
|
284
|
+
if (retryStrategy?.mode)
|
|
285
|
+
context.userAgent = [...(context.userAgent || []), ["cfg/retry-mode", retryStrategy.mode]];
|
|
286
|
+
return retryStrategy.retry(next, args);
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" &&
|
|
290
|
+
typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" &&
|
|
291
|
+
typeof retryStrategy.recordSuccess !== "undefined";
|
|
292
|
+
const getRetryErrorInfo = (error) => {
|
|
293
|
+
const errorInfo = {
|
|
294
|
+
error,
|
|
295
|
+
errorType: getRetryErrorType(error),
|
|
296
|
+
};
|
|
297
|
+
const retryAfterHint = getRetryAfterHint(error.$response);
|
|
298
|
+
if (retryAfterHint) {
|
|
299
|
+
errorInfo.retryAfterHint = retryAfterHint;
|
|
300
|
+
}
|
|
301
|
+
return errorInfo;
|
|
302
|
+
};
|
|
303
|
+
const getRetryErrorType = (error) => {
|
|
304
|
+
if (serviceErrorClassification.isThrottlingError(error))
|
|
305
|
+
return "THROTTLING";
|
|
306
|
+
if (serviceErrorClassification.isTransientError(error))
|
|
307
|
+
return "TRANSIENT";
|
|
308
|
+
if (serviceErrorClassification.isServerError(error))
|
|
309
|
+
return "SERVER_ERROR";
|
|
310
|
+
return "CLIENT_ERROR";
|
|
311
|
+
};
|
|
312
|
+
const retryMiddlewareOptions = {
|
|
313
|
+
name: "retryMiddleware",
|
|
314
|
+
tags: ["RETRY"],
|
|
315
|
+
step: "finalizeRequest",
|
|
316
|
+
priority: "high",
|
|
317
|
+
override: true,
|
|
318
|
+
};
|
|
319
|
+
const getRetryPlugin = (options) => ({
|
|
320
|
+
applyToStack: (clientStack) => {
|
|
321
|
+
clientStack.add(retryMiddleware(options), retryMiddlewareOptions);
|
|
322
|
+
},
|
|
323
|
+
});
|
|
324
|
+
const getRetryAfterHint = (response) => {
|
|
325
|
+
if (!protocolHttp.HttpResponse.isInstance(response))
|
|
326
|
+
return;
|
|
327
|
+
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
328
|
+
if (!retryAfterHeaderName)
|
|
329
|
+
return;
|
|
330
|
+
const retryAfter = response.headers[retryAfterHeaderName];
|
|
331
|
+
const retryAfterSeconds = Number(retryAfter);
|
|
332
|
+
if (!Number.isNaN(retryAfterSeconds))
|
|
333
|
+
return new Date(retryAfterSeconds * 1000);
|
|
334
|
+
const retryAfterDate = new Date(retryAfter);
|
|
335
|
+
return retryAfterDate;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy;
|
|
339
|
+
exports.CONFIG_MAX_ATTEMPTS = CONFIG_MAX_ATTEMPTS;
|
|
340
|
+
exports.CONFIG_RETRY_MODE = CONFIG_RETRY_MODE;
|
|
341
|
+
exports.ENV_MAX_ATTEMPTS = ENV_MAX_ATTEMPTS;
|
|
342
|
+
exports.ENV_RETRY_MODE = ENV_RETRY_MODE;
|
|
343
|
+
exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = NODE_MAX_ATTEMPT_CONFIG_OPTIONS;
|
|
344
|
+
exports.NODE_RETRY_MODE_CONFIG_OPTIONS = NODE_RETRY_MODE_CONFIG_OPTIONS;
|
|
345
|
+
exports.StandardRetryStrategy = StandardRetryStrategy;
|
|
346
|
+
exports.defaultDelayDecider = defaultDelayDecider;
|
|
347
|
+
exports.defaultRetryDecider = defaultRetryDecider;
|
|
348
|
+
exports.getOmitRetryHeadersPlugin = getOmitRetryHeadersPlugin;
|
|
349
|
+
exports.getRetryAfterHint = getRetryAfterHint;
|
|
350
|
+
exports.getRetryPlugin = getRetryPlugin;
|
|
351
|
+
exports.omitRetryHeadersMiddleware = omitRetryHeadersMiddleware;
|
|
352
|
+
exports.omitRetryHeadersMiddlewareOptions = omitRetryHeadersMiddlewareOptions;
|
|
353
|
+
exports.resolveRetryConfig = resolveRetryConfig;
|
|
354
|
+
exports.retryMiddleware = retryMiddleware;
|
|
355
|
+
exports.retryMiddlewareOptions = retryMiddlewareOptions;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isStreamingPayload = void 0;
|
|
4
|
+
const stream_1 = require("stream");
|
|
5
|
+
const isStreamingPayload = (request) => request?.body instanceof stream_1.Readable ||
|
|
6
|
+
(typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream);
|
|
7
|
+
exports.isStreamingPayload = isStreamingPayload;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/middleware-retry",
|
|
3
|
+
"version": "4.4.44",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
|
+
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
7
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
8
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
|
+
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
12
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
15
|
+
"test": "yarn g:vitest run",
|
|
16
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
17
|
+
"test:watch": "yarn g:vitest watch",
|
|
18
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
19
|
+
},
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"types": "./dist-types/index.d.ts",
|
|
23
|
+
"browser": {
|
|
24
|
+
"./dist-es/isStreamingPayload/isStreamingPayload": "./dist-es/isStreamingPayload/isStreamingPayload.browser"
|
|
25
|
+
},
|
|
26
|
+
"react-native": {
|
|
27
|
+
"./dist-cjs/isStreamingPayload/isStreamingPayload": "./dist-cjs/isStreamingPayload/isStreamingPayload.browser",
|
|
28
|
+
"./dist-es/isStreamingPayload/isStreamingPayload": "./dist-es/isStreamingPayload/isStreamingPayload.browser"
|
|
29
|
+
},
|
|
30
|
+
"author": {
|
|
31
|
+
"name": "AWS SDK for JavaScript Team",
|
|
32
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
33
|
+
},
|
|
34
|
+
"license": "Apache-2.0",
|
|
35
|
+
"sideEffects": false,
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@smithy/node-config-provider": "^4.3.12",
|
|
38
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
39
|
+
"@smithy/service-error-classification": "^4.2.12",
|
|
40
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
41
|
+
"@smithy/types": "^4.13.1",
|
|
42
|
+
"@smithy/util-middleware": "^4.2.12",
|
|
43
|
+
"@smithy/util-retry": "^4.2.12",
|
|
44
|
+
"@smithy/uuid": "^1.1.2",
|
|
45
|
+
"tslib": "^2.6.2"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@smithy/util-test": "^0.2.8",
|
|
49
|
+
"concurrently": "7.0.0",
|
|
50
|
+
"downlevel-dts": "0.10.1",
|
|
51
|
+
"premove": "4.0.0",
|
|
52
|
+
"typedoc": "0.23.23"
|
|
53
|
+
},
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=18.0.0"
|
|
56
|
+
},
|
|
57
|
+
"typesVersions": {
|
|
58
|
+
"<4.5": {
|
|
59
|
+
"dist-types/*": [
|
|
60
|
+
"dist-types/ts3.4/*"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"dist-*/**"
|
|
66
|
+
],
|
|
67
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-retry",
|
|
68
|
+
"repository": {
|
|
69
|
+
"type": "git",
|
|
70
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
71
|
+
"directory": "packages/middleware-retry"
|
|
72
|
+
},
|
|
73
|
+
"typedoc": {
|
|
74
|
+
"entryPoint": "src/index.ts"
|
|
75
|
+
},
|
|
76
|
+
"publishConfig": {
|
|
77
|
+
"directory": ".release/package"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
4
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
5
|
+
|
|
6
|
+
const deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => {
|
|
7
|
+
const { response } = await next(args);
|
|
8
|
+
try {
|
|
9
|
+
const parsed = await deserializer(response, options);
|
|
10
|
+
return {
|
|
11
|
+
response,
|
|
12
|
+
output: parsed,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
catch (error) {
|
|
16
|
+
Object.defineProperty(error, "$response", {
|
|
17
|
+
value: response,
|
|
18
|
+
enumerable: false,
|
|
19
|
+
writable: false,
|
|
20
|
+
configurable: false,
|
|
21
|
+
});
|
|
22
|
+
if (!("$metadata" in error)) {
|
|
23
|
+
const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
|
|
24
|
+
try {
|
|
25
|
+
error.message += "\n " + hint;
|
|
26
|
+
}
|
|
27
|
+
catch (e) {
|
|
28
|
+
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
29
|
+
console.warn(hint);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
context.logger?.warn?.(hint);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
if (typeof error.$responseBodyText !== "undefined") {
|
|
36
|
+
if (error.$response) {
|
|
37
|
+
error.$response.body = error.$responseBodyText;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
try {
|
|
41
|
+
if (protocolHttp.HttpResponse.isInstance(response)) {
|
|
42
|
+
const { headers = {} } = response;
|
|
43
|
+
const headerEntries = Object.entries(headers);
|
|
44
|
+
error.$metadata = {
|
|
45
|
+
httpStatusCode: response.statusCode,
|
|
46
|
+
requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries),
|
|
47
|
+
extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries),
|
|
48
|
+
cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
catch (e) {
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
throw error;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
const findHeader = (pattern, headers) => {
|
|
59
|
+
return (headers.find(([k]) => {
|
|
60
|
+
return k.match(pattern);
|
|
61
|
+
}) || [void 0, void 0])[1];
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
const serializerMiddleware = (options, serializer) => (next, context) => async (args) => {
|
|
65
|
+
const endpointConfig = options;
|
|
66
|
+
const endpoint = context.endpointV2
|
|
67
|
+
? async () => endpoints.toEndpointV1(context.endpointV2)
|
|
68
|
+
: endpointConfig.endpoint;
|
|
69
|
+
if (!endpoint) {
|
|
70
|
+
throw new Error("No valid endpoint provider available.");
|
|
71
|
+
}
|
|
72
|
+
const request = await serializer(args.input, { ...options, endpoint });
|
|
73
|
+
return next({
|
|
74
|
+
...args,
|
|
75
|
+
request,
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
const deserializerMiddlewareOption = {
|
|
80
|
+
name: "deserializerMiddleware",
|
|
81
|
+
step: "deserialize",
|
|
82
|
+
tags: ["DESERIALIZER"],
|
|
83
|
+
override: true,
|
|
84
|
+
};
|
|
85
|
+
const serializerMiddlewareOption = {
|
|
86
|
+
name: "serializerMiddleware",
|
|
87
|
+
step: "serialize",
|
|
88
|
+
tags: ["SERIALIZER"],
|
|
89
|
+
override: true,
|
|
90
|
+
};
|
|
91
|
+
function getSerdePlugin(config, serializer, deserializer) {
|
|
92
|
+
return {
|
|
93
|
+
applyToStack: (commandStack) => {
|
|
94
|
+
commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption);
|
|
95
|
+
commandStack.add(serializerMiddleware(config, serializer), serializerMiddlewareOption);
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
exports.deserializerMiddleware = deserializerMiddleware;
|
|
101
|
+
exports.deserializerMiddlewareOption = deserializerMiddlewareOption;
|
|
102
|
+
exports.getSerdePlugin = getSerdePlugin;
|
|
103
|
+
exports.serializerMiddleware = serializerMiddleware;
|
|
104
|
+
exports.serializerMiddlewareOption = serializerMiddlewareOption;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smithy/middleware-serde",
|
|
3
|
+
"version": "4.2.15",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
|
+
"build:cjs": "node ../../scripts/inline middleware-serde",
|
|
7
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
8
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
9
|
+
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
12
|
+
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
|
+
"test": "yarn g:vitest run",
|
|
15
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
16
|
+
"test:watch": "yarn g:vitest watch",
|
|
17
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
18
|
+
},
|
|
19
|
+
"main": "./dist-cjs/index.js",
|
|
20
|
+
"module": "./dist-es/index.js",
|
|
21
|
+
"types": "./dist-types/index.d.ts",
|
|
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/core": "^3.23.12",
|
|
30
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
31
|
+
"@smithy/types": "^4.13.1",
|
|
32
|
+
"tslib": "^2.6.2"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=18.0.0"
|
|
36
|
+
},
|
|
37
|
+
"typesVersions": {
|
|
38
|
+
"<4.5": {
|
|
39
|
+
"dist-types/*": [
|
|
40
|
+
"dist-types/ts3.4/*"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist-*/**"
|
|
46
|
+
],
|
|
47
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/middleware-serde",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
51
|
+
"directory": "packages/middleware-serde"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@smithy/util-test": "^0.2.8",
|
|
55
|
+
"concurrently": "7.0.0",
|
|
56
|
+
"downlevel-dts": "0.10.1",
|
|
57
|
+
"premove": "4.0.0",
|
|
58
|
+
"typedoc": "0.23.23"
|
|
59
|
+
},
|
|
60
|
+
"typedoc": {
|
|
61
|
+
"entryPoint": "src/index.ts"
|
|
62
|
+
},
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"directory": ".release/package"
|
|
65
|
+
}
|
|
66
|
+
}
|