@openclaw/amazon-bedrock-provider 2026.9.4 → 2026.9.6
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/assets/activity.svg +30 -0
- package/assets/icon.png +0 -0
- package/dist/stream.runtime.js +38 -8
- package/dist/thinking-policy.js +5 -4
- package/node_modules/@aws-sdk/client-bedrock/dist-cjs/index.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock/dist-es/models/enums.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock/dist-types/commands/GetAccountDataRetentionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-bedrock/dist-types/commands/PutAccountDataRetentionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock/dist-types/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +11 -10
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +11 -10
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +25 -8
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/errors.d.ts +5 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/errors.js +5 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/package.json +11 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/fetch-http-handler/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/fetch-http-handler/package.json +3 -3
- package/node_modules/@aws-sdk/client-bedrock/package.json +4 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-websocket/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +11 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +11 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +25 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/errors.d.ts +5 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/errors.js +5 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/package.json +11 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/package.json +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +11 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +11 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +25 -8
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/errors.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/errors.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/package.json +11 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/fetch-http-handler/CHANGELOG.md +11 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/fetch-http-handler/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@smithy/node-http-handler/CHANGELOG.md +14 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/CHANGELOG.md +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +11 -10
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +11 -10
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +25 -8
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/errors.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/errors.js +5 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/package.json +11 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/CHANGELOG.md +16 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +11 -10
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +11 -10
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +25 -8
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/errors.d.ts +5 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/errors.js +5 -0
- package/node_modules/@smithy/shared-ini-file-loader/node_modules/@smithy/core/package.json +11 -2
- package/node_modules/@smithy/types/CHANGELOG.md +6 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/openclaw.plugin.json +15 -1
- package/package.json +13 -10
|
@@ -1352,6 +1352,8 @@ const getAwsChunkedEncodingStream$1 = (readableStream, options) => {
|
|
|
1352
1352
|
checksumLocationName !== undefined &&
|
|
1353
1353
|
streamHasher !== undefined;
|
|
1354
1354
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
|
|
1355
|
+
Promise.resolve(digest).catch(() => {
|
|
1356
|
+
});
|
|
1355
1357
|
const reader = readableStream.getReader();
|
|
1356
1358
|
return new ReadableStream({
|
|
1357
1359
|
async pull(controller) {
|
|
@@ -1384,8 +1386,12 @@ function getAwsChunkedEncodingStream(stream, options) {
|
|
|
1384
1386
|
checksumLocationName !== undefined &&
|
|
1385
1387
|
streamHasher !== undefined;
|
|
1386
1388
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined;
|
|
1389
|
+
Promise.resolve(digest).catch(() => {
|
|
1390
|
+
});
|
|
1387
1391
|
const awsChunkedEncodingStream = new Readable({
|
|
1388
|
-
read
|
|
1392
|
+
read() {
|
|
1393
|
+
readable.resume();
|
|
1394
|
+
},
|
|
1389
1395
|
});
|
|
1390
1396
|
readable.on("data", (data) => {
|
|
1391
1397
|
const length = bodyLengthChecker(data) || 0;
|
|
@@ -1394,16 +1400,27 @@ function getAwsChunkedEncodingStream(stream, options) {
|
|
|
1394
1400
|
}
|
|
1395
1401
|
awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`);
|
|
1396
1402
|
awsChunkedEncodingStream.push(data);
|
|
1397
|
-
awsChunkedEncodingStream.push("\r\n")
|
|
1403
|
+
if (!awsChunkedEncodingStream.push("\r\n")) {
|
|
1404
|
+
readable.pause();
|
|
1405
|
+
}
|
|
1398
1406
|
});
|
|
1407
|
+
readable.on("error", (err) => {
|
|
1408
|
+
awsChunkedEncodingStream.destroy(err);
|
|
1409
|
+
});
|
|
1410
|
+
readable.pause();
|
|
1399
1411
|
readable.on("end", async () => {
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1412
|
+
try {
|
|
1413
|
+
awsChunkedEncodingStream.push(`0\r\n`);
|
|
1414
|
+
if (checksumRequired) {
|
|
1415
|
+
const checksum = base64Encoder(await digest);
|
|
1416
|
+
awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r\n`);
|
|
1417
|
+
awsChunkedEncodingStream.push(`\r\n`);
|
|
1418
|
+
}
|
|
1419
|
+
awsChunkedEncodingStream.push(null);
|
|
1420
|
+
}
|
|
1421
|
+
catch (err) {
|
|
1422
|
+
awsChunkedEncodingStream.destroy(err);
|
|
1405
1423
|
}
|
|
1406
|
-
awsChunkedEncodingStream.push(null);
|
|
1407
1424
|
});
|
|
1408
1425
|
return awsChunkedEncodingStream;
|
|
1409
1426
|
}
|
|
@@ -1170,6 +1170,8 @@ const getAwsChunkedEncodingStream = (readableStream, options) => {
|
|
|
1170
1170
|
checksumLocationName !== undefined &&
|
|
1171
1171
|
streamHasher !== undefined;
|
|
1172
1172
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
|
|
1173
|
+
Promise.resolve(digest).catch(() => {
|
|
1174
|
+
});
|
|
1173
1175
|
const reader = readableStream.getReader();
|
|
1174
1176
|
return new ReadableStream({
|
|
1175
1177
|
async pull(controller) {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export class SmithyError extends Error {
|
|
2
|
+
name = "SmithyError";
|
|
3
|
+
$source = errors.$source;
|
|
4
|
+
}
|
|
5
|
+
export class SmithyTypeError extends TypeError {
|
|
6
|
+
name = "SmithyTypeError";
|
|
7
|
+
$source = errors.$source;
|
|
8
|
+
}
|
|
9
|
+
export class SmithyRangeError extends RangeError {
|
|
10
|
+
name = "SmithyRangeError";
|
|
11
|
+
$source = errors.$source;
|
|
12
|
+
}
|
|
13
|
+
export const errors = {
|
|
14
|
+
$source: "smithy",
|
|
15
|
+
Error: SmithyError,
|
|
16
|
+
TypeError: SmithyTypeError,
|
|
17
|
+
RangeError: SmithyRangeError,
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { errors } from "./errors";
|
|
@@ -19,16 +19,17 @@ export const isBrowserNetworkError = (error) => {
|
|
|
19
19
|
export const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||
|
|
20
20
|
THROTTLING_ERROR_CODES.includes(error.name) ||
|
|
21
21
|
error.$retryable?.throttling == true;
|
|
22
|
-
export const isTransientError = (error, depth = 0) =>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
export const isTransientError = (error, depth = 0) => error?.name !== "AbortError" &&
|
|
23
|
+
(isRetryableByTrait(error) ||
|
|
24
|
+
isClockSkewCorrectedError(error) ||
|
|
25
|
+
(error.name === "InvalidSignatureException" && error.message?.includes("Signature expired")) ||
|
|
26
|
+
TRANSIENT_ERROR_CODES.includes(error.name) ||
|
|
27
|
+
NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||
|
|
28
|
+
NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
|
|
29
|
+
TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||
|
|
30
|
+
isBrowserNetworkError(error) ||
|
|
31
|
+
isNodeJsHttp2TransientError(error) ||
|
|
32
|
+
(error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1)));
|
|
32
33
|
export const isServerError = (error) => {
|
|
33
34
|
if (error.$metadata?.httpStatusCode !== undefined) {
|
|
34
35
|
const statusCode = error.$metadata.httpStatusCode;
|
|
@@ -6,6 +6,8 @@ export const getAwsChunkedEncodingStream = (readableStream, options) => {
|
|
|
6
6
|
checksumLocationName !== undefined &&
|
|
7
7
|
streamHasher !== undefined;
|
|
8
8
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
|
|
9
|
+
Promise.resolve(digest).catch(() => {
|
|
10
|
+
});
|
|
9
11
|
const reader = readableStream.getReader();
|
|
10
12
|
return new ReadableStream({
|
|
11
13
|
async pull(controller) {
|
|
@@ -13,8 +13,12 @@ export function getAwsChunkedEncodingStream(stream, options) {
|
|
|
13
13
|
checksumLocationName !== undefined &&
|
|
14
14
|
streamHasher !== undefined;
|
|
15
15
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined;
|
|
16
|
+
Promise.resolve(digest).catch(() => {
|
|
17
|
+
});
|
|
16
18
|
const awsChunkedEncodingStream = new Readable({
|
|
17
|
-
read
|
|
19
|
+
read() {
|
|
20
|
+
readable.resume();
|
|
21
|
+
},
|
|
18
22
|
});
|
|
19
23
|
readable.on("data", (data) => {
|
|
20
24
|
const length = bodyLengthChecker(data) || 0;
|
|
@@ -23,16 +27,27 @@ export function getAwsChunkedEncodingStream(stream, options) {
|
|
|
23
27
|
}
|
|
24
28
|
awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`);
|
|
25
29
|
awsChunkedEncodingStream.push(data);
|
|
26
|
-
awsChunkedEncodingStream.push("\r\n")
|
|
30
|
+
if (!awsChunkedEncodingStream.push("\r\n")) {
|
|
31
|
+
readable.pause();
|
|
32
|
+
}
|
|
27
33
|
});
|
|
34
|
+
readable.on("error", (err) => {
|
|
35
|
+
awsChunkedEncodingStream.destroy(err);
|
|
36
|
+
});
|
|
37
|
+
readable.pause();
|
|
28
38
|
readable.on("end", async () => {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
try {
|
|
40
|
+
awsChunkedEncodingStream.push(`0\r\n`);
|
|
41
|
+
if (checksumRequired) {
|
|
42
|
+
const checksum = base64Encoder(await digest);
|
|
43
|
+
awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r\n`);
|
|
44
|
+
awsChunkedEncodingStream.push(`\r\n`);
|
|
45
|
+
}
|
|
46
|
+
awsChunkedEncodingStream.push(null);
|
|
47
|
+
}
|
|
48
|
+
catch (err) {
|
|
49
|
+
awsChunkedEncodingStream.destroy(err);
|
|
34
50
|
}
|
|
35
|
-
awsChunkedEncodingStream.push(null);
|
|
36
51
|
});
|
|
37
52
|
return awsChunkedEncodingStream;
|
|
38
53
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A general SDK error that does not fall into a more specific category.
|
|
3
|
+
*
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class SmithyError extends Error {
|
|
7
|
+
name: string;
|
|
8
|
+
readonly $source: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A value had the wrong type or could not be interpreted as the expected type.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export declare class SmithyTypeError extends TypeError {
|
|
16
|
+
name: string;
|
|
17
|
+
readonly $source: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A value was the correct type but fell outside its allowed range or bounds.
|
|
21
|
+
*
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare class SmithyRangeError extends RangeError {
|
|
25
|
+
name: string;
|
|
26
|
+
readonly $source: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type ErrorConstructor<E extends Error = Error> = new (message?: string) => E;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface ErrorContainer {
|
|
36
|
+
readonly $source: string;
|
|
37
|
+
readonly Error: ErrorConstructor<SmithyError>;
|
|
38
|
+
readonly TypeError: ErrorConstructor<SmithyTypeError>;
|
|
39
|
+
readonly RangeError: ErrorConstructor<SmithyRangeError>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export declare const errors: ErrorContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { errors, type SmithyError, type SmithyRangeError, type SmithyTypeError } from "./errors";
|
|
@@ -19,6 +19,10 @@ export declare const isThrottlingError: (error: SdkError) => boolean;
|
|
|
19
19
|
* included here because there is an error scenario with unknown root
|
|
20
20
|
* cause where the NodeHttpHandler does not decorate the Error with
|
|
21
21
|
* the name "TimeoutError" to be checked by the TRANSIENT_ERROR_CODES condition.
|
|
22
|
+
*
|
|
23
|
+
* Errors named "AbortError" are considered terminal. AbortSignal.timeout()
|
|
24
|
+
* produces an underlying cause which would otherwise be considered retryable as
|
|
25
|
+
* a TimeoutError.
|
|
22
26
|
*/
|
|
23
27
|
export declare const isTransientError: (error: SdkError, depth?: number) => boolean;
|
|
24
28
|
export declare const isServerError: (error: SdkError) => boolean;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A general SDK error that does not fall into a more specific category.
|
|
3
|
+
*
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class SmithyError extends Error {
|
|
7
|
+
name: string;
|
|
8
|
+
readonly $source: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A value had the wrong type or could not be interpreted as the expected type.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export declare class SmithyTypeError extends TypeError {
|
|
16
|
+
name: string;
|
|
17
|
+
readonly $source: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A value was the correct type but fell outside its allowed range or bounds.
|
|
21
|
+
*
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare class SmithyRangeError extends RangeError {
|
|
25
|
+
name: string;
|
|
26
|
+
readonly $source: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type ErrorConstructor<E extends Error = Error> = new (message?: string) => E;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface ErrorContainer {
|
|
36
|
+
readonly $source: string;
|
|
37
|
+
readonly Error: ErrorConstructor<SmithyError>;
|
|
38
|
+
readonly TypeError: ErrorConstructor<SmithyTypeError>;
|
|
39
|
+
readonly RangeError: ErrorConstructor<SmithyRangeError>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export declare const errors: ErrorContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { errors, SmithyError, SmithyRangeError, SmithyTypeError } from "./errors";
|
|
@@ -19,6 +19,10 @@ export declare const isThrottlingError: (error: SdkError) => boolean;
|
|
|
19
19
|
* included here because there is an error scenario with unknown root
|
|
20
20
|
* cause where the NodeHttpHandler does not decorate the Error with
|
|
21
21
|
* the name "TimeoutError" to be checked by the TRANSIENT_ERROR_CODES condition.
|
|
22
|
+
*
|
|
23
|
+
* Errors named "AbortError" are considered terminal. AbortSignal.timeout()
|
|
24
|
+
* produces an underlying cause which would otherwise be considered retryable as
|
|
25
|
+
* a TimeoutError.
|
|
22
26
|
*/
|
|
23
27
|
export declare const isTransientError: (error: SdkError, depth?: number) => boolean;
|
|
24
28
|
export declare const isServerError: (error: SdkError) => boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.34.1",
|
|
4
4
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
"./config.js",
|
|
25
25
|
"./endpoints.d.ts",
|
|
26
26
|
"./endpoints.js",
|
|
27
|
+
"./errors.d.ts",
|
|
28
|
+
"./errors.js",
|
|
27
29
|
"./event-streams.d.ts",
|
|
28
30
|
"./event-streams.js",
|
|
29
31
|
"./protocols.d.ts",
|
|
@@ -212,6 +214,13 @@
|
|
|
212
214
|
"node": "./dist-cjs/submodules/transport/index.js",
|
|
213
215
|
"import": "./dist-es/submodules/transport/index.js",
|
|
214
216
|
"require": "./dist-cjs/submodules/transport/index.js"
|
|
217
|
+
},
|
|
218
|
+
"./errors": {
|
|
219
|
+
"types": "./dist-types/submodules/errors/index.d.ts",
|
|
220
|
+
"module": "./dist-es/submodules/errors/index.js",
|
|
221
|
+
"node": "./dist-cjs/submodules/errors/index.js",
|
|
222
|
+
"import": "./dist-es/submodules/errors/index.js",
|
|
223
|
+
"require": "./dist-cjs/submodules/errors/index.js"
|
|
215
224
|
}
|
|
216
225
|
},
|
|
217
226
|
"scripts": {
|
|
@@ -232,7 +241,7 @@
|
|
|
232
241
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
233
242
|
},
|
|
234
243
|
"dependencies": {
|
|
235
|
-
"@smithy/types": "^4.
|
|
244
|
+
"@smithy/types": "^4.18.0",
|
|
236
245
|
"tslib": "^2.6.2"
|
|
237
246
|
},
|
|
238
247
|
"devDependencies": {
|
|
@@ -51,6 +51,7 @@ class FetchHttpHandler {
|
|
|
51
51
|
const requestTimeoutInMs = requestTimeout$1 ?? this.config.requestTimeout;
|
|
52
52
|
const keepAlive = this.config.keepAlive === true;
|
|
53
53
|
const credentials = this.config.credentials;
|
|
54
|
+
const fetchFn = this.config.customFetch ?? fetch;
|
|
54
55
|
if (abortSignal?.aborted) {
|
|
55
56
|
const abortError = buildAbortError(abortSignal);
|
|
56
57
|
return Promise.reject(abortError);
|
|
@@ -96,7 +97,7 @@ class FetchHttpHandler {
|
|
|
96
97
|
let removeSignalEventListener = () => { };
|
|
97
98
|
const fetchRequest = createRequest(url, requestOptions);
|
|
98
99
|
const raceOfPromises = [
|
|
99
|
-
|
|
100
|
+
fetchFn(fetchRequest).then((response) => {
|
|
100
101
|
const fetchHeaders = response.headers;
|
|
101
102
|
const transformedHeaders = {};
|
|
102
103
|
for (const pair of fetchHeaders.entries()) {
|
|
@@ -34,6 +34,7 @@ export class FetchHttpHandler {
|
|
|
34
34
|
const requestTimeoutInMs = requestTimeout ?? this.config.requestTimeout;
|
|
35
35
|
const keepAlive = this.config.keepAlive === true;
|
|
36
36
|
const credentials = this.config.credentials;
|
|
37
|
+
const fetchFn = this.config.customFetch ?? fetch;
|
|
37
38
|
if (abortSignal?.aborted) {
|
|
38
39
|
const abortError = buildAbortError(abortSignal);
|
|
39
40
|
return Promise.reject(abortError);
|
|
@@ -79,7 +80,7 @@ export class FetchHttpHandler {
|
|
|
79
80
|
let removeSignalEventListener = () => { };
|
|
80
81
|
const fetchRequest = createRequest(url, requestOptions);
|
|
81
82
|
const raceOfPromises = [
|
|
82
|
-
|
|
83
|
+
fetchFn(fetchRequest).then((response) => {
|
|
83
84
|
const fetchHeaders = response.headers;
|
|
84
85
|
const transformedHeaders = {};
|
|
85
86
|
for (const pair of fetchHeaders.entries()) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.0",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@smithy/core": "^3.33.
|
|
44
|
-
"@smithy/types": "^4.
|
|
43
|
+
"@smithy/core": "^3.33.3",
|
|
44
|
+
"@smithy/types": "^4.18.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1131.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-runtime",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@aws-sdk/core": "^3.
|
|
58
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
+
"@aws-sdk/core": "^3.978.0",
|
|
58
|
+
"@aws-sdk/credential-provider-node": "^3.972.83",
|
|
59
59
|
"@aws-sdk/eventstream-handler-node": "^3.972.34",
|
|
60
60
|
"@aws-sdk/middleware-eventstream": "^3.972.29",
|
|
61
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
62
|
-
"@aws-sdk/token-providers": "3.
|
|
61
|
+
"@aws-sdk/middleware-websocket": "^3.972.53",
|
|
62
|
+
"@aws-sdk/token-providers": "3.1131.0",
|
|
63
63
|
"@aws-sdk/types": "^3.974.5",
|
|
64
64
|
"@smithy/core": "^3.33.3",
|
|
65
65
|
"@smithy/fetch-http-handler": "^5.7.2",
|
|
@@ -51,7 +51,12 @@ function formatUrl(request) {
|
|
|
51
51
|
return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
function hasOwn(container, key) {
|
|
55
|
+
return Object.prototype.hasOwnProperty.call(container, key);
|
|
56
|
+
}
|
|
57
|
+
|
|
54
58
|
exports.build = build;
|
|
55
59
|
exports.formatUrl = formatUrl;
|
|
60
|
+
exports.hasOwn = hasOwn;
|
|
56
61
|
exports.parse = parse;
|
|
57
62
|
exports.validate = validate;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function hasOwn(container: object, key: string): boolean;
|
package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.978.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.71",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/core": "^3.
|
|
46
|
+
"@aws-sdk/core": "^3.978.0",
|
|
47
47
|
"@aws-sdk/types": "^3.974.5",
|
|
48
48
|
"@smithy/core": "^3.33.3",
|
|
49
49
|
"@smithy/types": "^4.17.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.73",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@aws-sdk/core": "^3.
|
|
56
|
+
"@aws-sdk/core": "^3.978.0",
|
|
57
57
|
"@aws-sdk/types": "^3.974.5",
|
|
58
58
|
"@smithy/core": "^3.33.3",
|
|
59
59
|
"@smithy/fetch-http-handler": "^5.7.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.16",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.
|
|
49
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
50
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
51
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
52
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
53
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
54
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
55
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
48
|
+
"@aws-sdk/core": "^3.978.0",
|
|
49
|
+
"@aws-sdk/credential-provider-env": "^3.972.71",
|
|
50
|
+
"@aws-sdk/credential-provider-http": "^3.972.73",
|
|
51
|
+
"@aws-sdk/credential-provider-login": "^3.972.78",
|
|
52
|
+
"@aws-sdk/credential-provider-process": "^3.972.71",
|
|
53
|
+
"@aws-sdk/credential-provider-sso": "^3.973.15",
|
|
54
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.77",
|
|
55
|
+
"@aws-sdk/nested-clients": "^3.997.45",
|
|
56
56
|
"@aws-sdk/types": "^3.974.5",
|
|
57
57
|
"@smithy/core": "^3.33.3",
|
|
58
58
|
"@smithy/credential-provider-imds": "^4.4.16",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.78",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"test:watch": "yarn g:vitest watch"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@aws-sdk/core": "^3.
|
|
49
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
48
|
+
"@aws-sdk/core": "^3.978.0",
|
|
49
|
+
"@aws-sdk/nested-clients": "^3.997.45",
|
|
50
50
|
"@aws-sdk/types": "^3.974.5",
|
|
51
51
|
"@smithy/core": "^3.33.3",
|
|
52
52
|
"@smithy/types": "^4.17.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.71",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/core": "^3.
|
|
46
|
+
"@aws-sdk/core": "^3.978.0",
|
|
47
47
|
"@aws-sdk/types": "^3.974.5",
|
|
48
48
|
"@smithy/core": "^3.33.3",
|
|
49
49
|
"@smithy/types": "^4.17.2",
|