@openclaw/amazon-bedrock-provider 2026.10.2 → 2026.10.5-beta.2
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/bedrock-options.js +0 -1
- package/dist/discovery.js +57 -128
- package/dist/embedding-provider.js +3 -13
- package/dist/memory-embedding-adapter.js +0 -5
- package/dist/provider-policy-api.js +0 -1
- package/dist/register.sync.runtime.js +3 -27
- package/dist/stream.runtime.js +27 -28
- package/dist/thinking-policy.js +0 -5
- package/node_modules/@aws-sdk/client-bedrock/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock/dist-es/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock/dist-types/Bedrock.d.ts +223 -217
- package/node_modules/@aws-sdk/client-bedrock/dist-types/ts3.4/Bedrock.d.ts +220 -216
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +14 -11
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +11 -5
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +22 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/CHANGELOG.md +19 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +48 -4
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +40 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/signature-v4/CHANGELOG.md +6 -0
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +4 -1
- package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@aws-sdk/client-bedrock/package.json +9 -9
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/BedrockRuntime.d.ts +29 -23
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/BedrockRuntime.d.ts +26 -22
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-websocket/package.json +7 -7
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +14 -11
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +11 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +22 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/CHANGELOG.md +19 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +48 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +40 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/signature-v4/CHANGELOG.md +6 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +4 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +14 -11
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +11 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +22 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/CHANGELOG.md +19 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +48 -4
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +40 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/signature-v4/CHANGELOG.md +6 -0
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/CHANGELOG.md +19 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +48 -4
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +40 -3
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/types/CHANGELOG.md +6 -0
- package/node_modules/@smithy/types/dist-types/metrics.d.ts +8 -7
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +8 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +5 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/package.json +8 -8
|
@@ -298,6 +298,13 @@ export interface AssumeRoleRequest {
|
|
|
298
298
|
* @public
|
|
299
299
|
*/
|
|
300
300
|
ProvidedContexts?: ProvidedContext[] | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* The minimum size, in bytes, of the session token that STS issues for the request. STS increases
|
|
303
|
+
* the session token to at least this size, regardless of its actual content. The value must not
|
|
304
|
+
* exceed 4,096 bytes. When set to 0 or not specified, the session token size is unchanged.
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
MinimumSessionTokenSize?: number | undefined;
|
|
301
308
|
}
|
|
302
309
|
/**
|
|
303
310
|
* <p>Amazon Web Services credentials for API authentication.</p>
|
|
@@ -355,6 +362,8 @@ export interface AssumeRoleResponse {
|
|
|
355
362
|
* <p>A percentage value that indicates the packed size of the session policies and session
|
|
356
363
|
* tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
|
|
357
364
|
* which means the policies and tags exceeded the allowed space.</p>
|
|
365
|
+
*
|
|
366
|
+
* @deprecated (since 2026-06-17) Deprecated. Replaced by SessionTokenUtilization.
|
|
358
367
|
* @public
|
|
359
368
|
*/
|
|
360
369
|
PackedPolicySize?: number | undefined;
|
|
@@ -375,6 +384,17 @@ export interface AssumeRoleResponse {
|
|
|
375
384
|
* @public
|
|
376
385
|
*/
|
|
377
386
|
SourceIdentity?: string | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* The percentage (0-100) of the maximum allowed session token size that the returned session
|
|
389
|
+
* token consumes.
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
SessionTokenUtilization?: number | undefined;
|
|
393
|
+
/**
|
|
394
|
+
* The size, in bytes, of the session token returned in the Credentials for this response.
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
SessionTokenSize?: number | undefined;
|
|
378
398
|
}
|
|
379
399
|
/**
|
|
380
400
|
* @public
|
|
@@ -506,6 +526,13 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
506
526
|
* @public
|
|
507
527
|
*/
|
|
508
528
|
DurationSeconds?: number | undefined;
|
|
529
|
+
/**
|
|
530
|
+
* The minimum size, in bytes, of the session token that STS issues for the request. STS increases
|
|
531
|
+
* the session token to at least this size, regardless of its actual content. The value must not
|
|
532
|
+
* exceed 4,096 bytes. When set to 0 or not specified, the session token size is unchanged.
|
|
533
|
+
* @public
|
|
534
|
+
*/
|
|
535
|
+
MinimumSessionTokenSize?: number | undefined;
|
|
509
536
|
}
|
|
510
537
|
/**
|
|
511
538
|
* <p>Contains the response to a successful <a>AssumeRoleWithWebIdentity</a>
|
|
@@ -546,6 +573,8 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
546
573
|
* <p>A percentage value that indicates the packed size of the session policies and session
|
|
547
574
|
* tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
|
|
548
575
|
* which means the policies and tags exceeded the allowed space.</p>
|
|
576
|
+
*
|
|
577
|
+
* @deprecated (since 2026-06-17) Deprecated. Replaced by SessionTokenUtilization.
|
|
549
578
|
* @public
|
|
550
579
|
*/
|
|
551
580
|
PackedPolicySize?: number | undefined;
|
|
@@ -585,4 +614,15 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
585
614
|
* @public
|
|
586
615
|
*/
|
|
587
616
|
SourceIdentity?: string | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* The percentage (0-100) of the maximum allowed session token size that the returned session
|
|
619
|
+
* token consumes.
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
SessionTokenUtilization?: number | undefined;
|
|
623
|
+
/**
|
|
624
|
+
* The size, in bytes, of the session token returned in the Credentials for this response.
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
SessionTokenSize?: number | undefined;
|
|
588
628
|
}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import { CognitoIdentityClient } from "./CognitoIdentityClient";
|
|
3
6
|
import {
|
|
4
7
|
GetCredentialsForIdentityCommandInput,
|
|
5
8
|
GetCredentialsForIdentityCommandOutput,
|
|
6
9
|
} from "./commands/GetCredentialsForIdentityCommand";
|
|
7
10
|
import { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand";
|
|
11
|
+
export interface CognitoIdentityRequestOptions extends __HttpHandlerOptions {
|
|
12
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
13
|
+
}
|
|
8
14
|
export interface CognitoIdentity {
|
|
9
15
|
getCredentialsForIdentity(
|
|
10
16
|
args: GetCredentialsForIdentityCommandInput,
|
|
11
|
-
options?:
|
|
17
|
+
options?: CognitoIdentityRequestOptions,
|
|
12
18
|
): Promise<GetCredentialsForIdentityCommandOutput>;
|
|
13
19
|
getCredentialsForIdentity(
|
|
14
20
|
args: GetCredentialsForIdentityCommandInput,
|
|
@@ -16,14 +22,17 @@ export interface CognitoIdentity {
|
|
|
16
22
|
): void;
|
|
17
23
|
getCredentialsForIdentity(
|
|
18
24
|
args: GetCredentialsForIdentityCommandInput,
|
|
19
|
-
options:
|
|
25
|
+
options: CognitoIdentityRequestOptions,
|
|
20
26
|
cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void,
|
|
21
27
|
): void;
|
|
22
|
-
getId(
|
|
28
|
+
getId(
|
|
29
|
+
args: GetIdCommandInput,
|
|
30
|
+
options?: CognitoIdentityRequestOptions,
|
|
31
|
+
): Promise<GetIdCommandOutput>;
|
|
23
32
|
getId(args: GetIdCommandInput, cb: (err: any, data?: GetIdCommandOutput) => void): void;
|
|
24
33
|
getId(
|
|
25
34
|
args: GetIdCommandInput,
|
|
26
|
-
options:
|
|
35
|
+
options: CognitoIdentityRequestOptions,
|
|
27
36
|
cb: (err: any, data?: GetIdCommandOutput) => void,
|
|
28
37
|
): void;
|
|
29
38
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
CreateOAuth2TokenCommandInput,
|
|
4
7
|
CreateOAuth2TokenCommandOutput,
|
|
@@ -8,10 +11,13 @@ import {
|
|
|
8
11
|
CreateOAuth2TokenWithIAMCommandOutput,
|
|
9
12
|
} from "./commands/CreateOAuth2TokenWithIAMCommand";
|
|
10
13
|
import { SigninClient } from "./SigninClient";
|
|
14
|
+
export interface SigninRequestOptions extends __HttpHandlerOptions {
|
|
15
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
16
|
+
}
|
|
11
17
|
export interface Signin {
|
|
12
18
|
createOAuth2Token(
|
|
13
19
|
args: CreateOAuth2TokenCommandInput,
|
|
14
|
-
options?:
|
|
20
|
+
options?: SigninRequestOptions,
|
|
15
21
|
): Promise<CreateOAuth2TokenCommandOutput>;
|
|
16
22
|
createOAuth2Token(
|
|
17
23
|
args: CreateOAuth2TokenCommandInput,
|
|
@@ -19,12 +25,12 @@ export interface Signin {
|
|
|
19
25
|
): void;
|
|
20
26
|
createOAuth2Token(
|
|
21
27
|
args: CreateOAuth2TokenCommandInput,
|
|
22
|
-
options:
|
|
28
|
+
options: SigninRequestOptions,
|
|
23
29
|
cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void,
|
|
24
30
|
): void;
|
|
25
31
|
createOAuth2TokenWithIAM(
|
|
26
32
|
args: CreateOAuth2TokenWithIAMCommandInput,
|
|
27
|
-
options?:
|
|
33
|
+
options?: SigninRequestOptions,
|
|
28
34
|
): Promise<CreateOAuth2TokenWithIAMCommandOutput>;
|
|
29
35
|
createOAuth2TokenWithIAM(
|
|
30
36
|
args: CreateOAuth2TokenWithIAMCommandInput,
|
|
@@ -32,7 +38,7 @@ export interface Signin {
|
|
|
32
38
|
): void;
|
|
33
39
|
createOAuth2TokenWithIAM(
|
|
34
40
|
args: CreateOAuth2TokenWithIAMCommandInput,
|
|
35
|
-
options:
|
|
41
|
+
options: SigninRequestOptions,
|
|
36
42
|
cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void,
|
|
37
43
|
): void;
|
|
38
44
|
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
GetRoleCredentialsCommandInput,
|
|
4
7
|
GetRoleCredentialsCommandOutput,
|
|
5
8
|
} from "./commands/GetRoleCredentialsCommand";
|
|
6
9
|
import { SSOClient } from "./SSOClient";
|
|
10
|
+
export interface SSORequestOptions extends __HttpHandlerOptions {
|
|
11
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
12
|
+
}
|
|
7
13
|
export interface SSO {
|
|
8
14
|
getRoleCredentials(
|
|
9
15
|
args: GetRoleCredentialsCommandInput,
|
|
10
|
-
options?:
|
|
16
|
+
options?: SSORequestOptions,
|
|
11
17
|
): Promise<GetRoleCredentialsCommandOutput>;
|
|
12
18
|
getRoleCredentials(
|
|
13
19
|
args: GetRoleCredentialsCommandInput,
|
|
@@ -15,7 +21,7 @@ export interface SSO {
|
|
|
15
21
|
): void;
|
|
16
22
|
getRoleCredentials(
|
|
17
23
|
args: GetRoleCredentialsCommandInput,
|
|
18
|
-
options:
|
|
24
|
+
options: SSORequestOptions,
|
|
19
25
|
cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void,
|
|
20
26
|
): void;
|
|
21
27
|
}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
3
6
|
import { SSOOIDCClient } from "./SSOOIDCClient";
|
|
7
|
+
export interface SSOOIDCRequestOptions extends __HttpHandlerOptions {
|
|
8
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
9
|
+
}
|
|
4
10
|
export interface SSOOIDC {
|
|
5
11
|
createToken(
|
|
6
12
|
args: CreateTokenCommandInput,
|
|
7
|
-
options?:
|
|
13
|
+
options?: SSOOIDCRequestOptions,
|
|
8
14
|
): Promise<CreateTokenCommandOutput>;
|
|
9
15
|
createToken(
|
|
10
16
|
args: CreateTokenCommandInput,
|
|
@@ -12,7 +18,7 @@ export interface SSOOIDC {
|
|
|
12
18
|
): void;
|
|
13
19
|
createToken(
|
|
14
20
|
args: CreateTokenCommandInput,
|
|
15
|
-
options:
|
|
21
|
+
options: SSOOIDCRequestOptions,
|
|
16
22
|
cb: (err: any, data?: CreateTokenCommandOutput) => void,
|
|
17
23
|
): void;
|
|
18
24
|
}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
3
6
|
import {
|
|
4
7
|
AssumeRoleWithWebIdentityCommandInput,
|
|
5
8
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
6
9
|
} from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
7
10
|
import { STSClient } from "./STSClient";
|
|
11
|
+
export interface STSRequestOptions extends __HttpHandlerOptions {
|
|
12
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
13
|
+
}
|
|
8
14
|
export interface STS {
|
|
9
15
|
assumeRole(
|
|
10
16
|
args: AssumeRoleCommandInput,
|
|
11
|
-
options?:
|
|
17
|
+
options?: STSRequestOptions,
|
|
12
18
|
): Promise<AssumeRoleCommandOutput>;
|
|
13
19
|
assumeRole(
|
|
14
20
|
args: AssumeRoleCommandInput,
|
|
@@ -16,12 +22,12 @@ export interface STS {
|
|
|
16
22
|
): void;
|
|
17
23
|
assumeRole(
|
|
18
24
|
args: AssumeRoleCommandInput,
|
|
19
|
-
options:
|
|
25
|
+
options: STSRequestOptions,
|
|
20
26
|
cb: (err: any, data?: AssumeRoleCommandOutput) => void,
|
|
21
27
|
): void;
|
|
22
28
|
assumeRoleWithWebIdentity(
|
|
23
29
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
24
|
-
options?:
|
|
30
|
+
options?: STSRequestOptions,
|
|
25
31
|
): Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
26
32
|
assumeRoleWithWebIdentity(
|
|
27
33
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
@@ -29,7 +35,7 @@ export interface STS {
|
|
|
29
35
|
): void;
|
|
30
36
|
assumeRoleWithWebIdentity(
|
|
31
37
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
32
|
-
options:
|
|
38
|
+
options: STSRequestOptions,
|
|
33
39
|
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void,
|
|
34
40
|
): void;
|
|
35
41
|
}
|
|
@@ -26,6 +26,7 @@ export interface AssumeRoleRequest {
|
|
|
26
26
|
TokenCode?: string | undefined;
|
|
27
27
|
SourceIdentity?: string | undefined;
|
|
28
28
|
ProvidedContexts?: ProvidedContext[] | undefined;
|
|
29
|
+
MinimumSessionTokenSize?: number | undefined;
|
|
29
30
|
}
|
|
30
31
|
export interface Credentials {
|
|
31
32
|
AccessKeyId: string | undefined;
|
|
@@ -38,6 +39,8 @@ export interface AssumeRoleResponse {
|
|
|
38
39
|
AssumedRoleUser?: AssumedRoleUser | undefined;
|
|
39
40
|
PackedPolicySize?: number | undefined;
|
|
40
41
|
SourceIdentity?: string | undefined;
|
|
42
|
+
SessionTokenUtilization?: number | undefined;
|
|
43
|
+
SessionTokenSize?: number | undefined;
|
|
41
44
|
}
|
|
42
45
|
export interface AssumeRoleWithWebIdentityRequest {
|
|
43
46
|
RoleArn: string | undefined;
|
|
@@ -47,6 +50,7 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
47
50
|
PolicyArns?: PolicyDescriptorType[] | undefined;
|
|
48
51
|
Policy?: string | undefined;
|
|
49
52
|
DurationSeconds?: number | undefined;
|
|
53
|
+
MinimumSessionTokenSize?: number | undefined;
|
|
50
54
|
}
|
|
51
55
|
export interface AssumeRoleWithWebIdentityResponse {
|
|
52
56
|
Credentials?: Credentials | undefined;
|
|
@@ -56,4 +60,6 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
56
60
|
Provider?: string | undefined;
|
|
57
61
|
Audience?: string | undefined;
|
|
58
62
|
SourceIdentity?: string | undefined;
|
|
63
|
+
SessionTokenUtilization?: number | undefined;
|
|
64
|
+
SessionTokenSize?: number | undefined;
|
|
59
65
|
}
|
package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.46",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.978.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
105
|
-
"@aws-sdk/types": "^3.974.
|
|
106
|
-
"@smithy/core": "^3.
|
|
107
|
-
"@smithy/fetch-http-handler": "^5.
|
|
108
|
-
"@smithy/node-http-handler": "^4.
|
|
109
|
-
"@smithy/types": "^4.
|
|
103
|
+
"@aws-sdk/core": "^3.978.1",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.47",
|
|
105
|
+
"@aws-sdk/types": "^3.974.6",
|
|
106
|
+
"@smithy/core": "^3.35.0",
|
|
107
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
108
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
109
|
+
"@smithy/types": "^4.19.0",
|
|
110
110
|
"tslib": "^2.6.2"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.47",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@aws-sdk/types": "^3.974.
|
|
46
|
-
"@smithy/signature-v4": "^5.
|
|
47
|
-
"@smithy/types": "^4.
|
|
45
|
+
"@aws-sdk/types": "^3.974.6",
|
|
46
|
+
"@smithy/signature-v4": "^5.7.3",
|
|
47
|
+
"@smithy/types": "^4.19.0",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/token-providers/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1146.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
53
|
-
"@aws-sdk/types": "^3.974.
|
|
54
|
-
"@smithy/core": "^3.
|
|
55
|
-
"@smithy/types": "^4.
|
|
51
|
+
"@aws-sdk/core": "^3.978.1",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.46",
|
|
53
|
+
"@aws-sdk/types": "^3.974.6",
|
|
54
|
+
"@smithy/core": "^3.35.0",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.974.
|
|
3
|
+
"version": "3.974.6",
|
|
4
4
|
"description": "Types for the AWS SDK",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"test": "tsc -p tsconfig.test.json"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@smithy/types": "^4.
|
|
44
|
+
"@smithy/types": "^4.19.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.41",
|
|
4
4
|
"description": "XML utilities for the AWS SDK",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:fuzz": "jazzer tests/xml-parser.fuzz.js corpus --sync -i xml-parser -- -max_total_time=300"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@smithy/types": "^4.
|
|
50
|
+
"@smithy/types": "^4.19.0",
|
|
51
51
|
"tslib": "^2.6.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.35.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4734e1c: fix for SDK ServiceException instanceof detection relating to mangled class names
|
|
8
|
+
- 4f51625: restore a compat name-string fallback in ServiceException instanceof for clients predating shapeId stamping, gated on a class-name length of at least 6
|
|
9
|
+
|
|
10
|
+
## 3.35.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- 596456b: add per-request MetricsRecorder support through `client.send(command, { metricsRecorder })`
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 77e63b9: CBOR spec error handling fixes: the error identifier namespace is no longer incorrectly removed during error lookup. Code property from the body is no longer used as a fallback for error identification. Status code 500 is now classified as server fault.
|
|
19
|
+
- Updated dependencies [596456b]
|
|
20
|
+
- @smithy/types@4.19.0
|
|
21
|
+
|
|
3
22
|
## 3.34.1
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -902,26 +902,11 @@ const loadSmithyRpcV2CborErrorCode = (output, data) => {
|
|
|
902
902
|
if (cleanValue.indexOf(":") >= 0) {
|
|
903
903
|
cleanValue = cleanValue.split(":")[0];
|
|
904
904
|
}
|
|
905
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
906
|
-
cleanValue = cleanValue.split("#")[1];
|
|
907
|
-
}
|
|
908
905
|
return cleanValue;
|
|
909
906
|
};
|
|
910
907
|
if (data["__type"] !== undefined) {
|
|
911
908
|
return sanitizeErrorCode(data["__type"]);
|
|
912
909
|
}
|
|
913
|
-
let codeKey;
|
|
914
|
-
for (const key in data) {
|
|
915
|
-
if (!hasOwn(data, key))
|
|
916
|
-
continue;
|
|
917
|
-
if (key.toLowerCase() === "code") {
|
|
918
|
-
codeKey = key;
|
|
919
|
-
break;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
if (codeKey && data[codeKey] !== undefined) {
|
|
923
|
-
return sanitizeErrorCode(data[codeKey]);
|
|
924
|
-
}
|
|
925
910
|
};
|
|
926
911
|
const checkCborResponse = (response) => {
|
|
927
912
|
if (String(response.headers["smithy-protocol"]).toLowerCase() !== "rpc-v2-cbor") {
|
|
@@ -2278,37 +2263,37 @@ class SmithyRpcV2CborProtocol extends RpcProtocol {
|
|
|
2278
2263
|
return super.deserializeResponse(operationSchema, context, response);
|
|
2279
2264
|
}
|
|
2280
2265
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
2281
|
-
const
|
|
2266
|
+
const errorIdentifier = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
|
|
2267
|
+
const preferredNamespaces = ["*"];
|
|
2268
|
+
const { defaultNamespace } = this.options;
|
|
2269
|
+
preferredNamespaces.unshift(defaultNamespace);
|
|
2270
|
+
const [namespace, errorShapeName] = (() => {
|
|
2271
|
+
if (errorIdentifier.includes("#")) {
|
|
2272
|
+
return errorIdentifier.split("#");
|
|
2273
|
+
}
|
|
2274
|
+
return [undefined, errorIdentifier];
|
|
2275
|
+
})();
|
|
2276
|
+
if (namespace) {
|
|
2277
|
+
preferredNamespaces.unshift(namespace);
|
|
2278
|
+
}
|
|
2282
2279
|
const errorMetadata = {
|
|
2283
2280
|
$metadata: metadata,
|
|
2284
|
-
$fault: response.statusCode
|
|
2281
|
+
$fault: response.statusCode < 500 ? "client" : "server",
|
|
2285
2282
|
};
|
|
2286
|
-
|
|
2287
|
-
if (
|
|
2288
|
-
|
|
2289
|
-
}
|
|
2290
|
-
const registry = this.compositeErrorRegistry;
|
|
2291
|
-
const nsRegistry = TypeRegistry.for(namespace);
|
|
2292
|
-
registry.copyFrom(nsRegistry);
|
|
2293
|
-
let errorSchema;
|
|
2294
|
-
try {
|
|
2295
|
-
errorSchema = registry.getSchema(errorName);
|
|
2283
|
+
const preferredRegistries = [this.compositeErrorRegistry];
|
|
2284
|
+
if (namespace) {
|
|
2285
|
+
preferredRegistries.push(TypeRegistry.for(namespace));
|
|
2296
2286
|
}
|
|
2297
|
-
|
|
2287
|
+
preferredRegistries.push(TypeRegistry.for(defaultNamespace));
|
|
2288
|
+
const [errorSchema, ErrorCtor, errorMode] = this.resolveError(errorShapeName, preferredNamespaces, preferredRegistries);
|
|
2289
|
+
if (errorMode === "native" || errorMode === "synthetic") {
|
|
2298
2290
|
if (dataObject.Message) {
|
|
2299
2291
|
dataObject.message = dataObject.Message;
|
|
2300
2292
|
}
|
|
2301
|
-
const
|
|
2302
|
-
|
|
2303
|
-
const baseExceptionSchema = registry.getBaseException();
|
|
2304
|
-
if (baseExceptionSchema) {
|
|
2305
|
-
const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);
|
|
2306
|
-
throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
|
|
2307
|
-
}
|
|
2308
|
-
throw Object.assign(new Error(errorName), errorMetadata, dataObject);
|
|
2293
|
+
const error = errorMode === "synthetic" ? new ErrorCtor({ name: errorShapeName }) : new Error(errorShapeName);
|
|
2294
|
+
throw Object.assign(error, errorMetadata, dataObject);
|
|
2309
2295
|
}
|
|
2310
2296
|
const ns = NormalizedSchema.of(errorSchema);
|
|
2311
|
-
const ErrorCtor = registry.getErrorCtor(errorSchema);
|
|
2312
2297
|
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
2313
2298
|
const exception = new ErrorCtor({});
|
|
2314
2299
|
const output = {};
|
|
@@ -590,20 +590,27 @@ class Command {
|
|
|
590
590
|
}
|
|
591
591
|
const stack = clientStack.concat(this.middlewareStack);
|
|
592
592
|
const { logger } = configuration;
|
|
593
|
+
const additionalSmithyContext = additionalContext[SMITHY_CONTEXT_KEY];
|
|
593
594
|
const handlerExecutionContext = {
|
|
594
595
|
logger,
|
|
595
596
|
clientName,
|
|
596
597
|
commandName,
|
|
597
598
|
inputFilterSensitiveLog,
|
|
598
599
|
outputFilterSensitiveLog,
|
|
600
|
+
...additionalContext,
|
|
599
601
|
[SMITHY_CONTEXT_KEY]: {
|
|
602
|
+
...additionalSmithyContext,
|
|
600
603
|
commandInstance: this,
|
|
601
604
|
...smithyContext,
|
|
605
|
+
...(options?.metricsRecorder === undefined ? {} : { metricsRecorder: options.metricsRecorder }),
|
|
602
606
|
},
|
|
603
|
-
...additionalContext,
|
|
604
607
|
};
|
|
605
608
|
const { requestHandler } = configuration;
|
|
606
609
|
let requestOptions = options ?? {};
|
|
610
|
+
if (requestOptions.metricsRecorder) {
|
|
611
|
+
requestOptions = { ...requestOptions };
|
|
612
|
+
delete requestOptions.metricsRecorder;
|
|
613
|
+
}
|
|
607
614
|
if (smithyContext.eventStream) {
|
|
608
615
|
requestOptions = {
|
|
609
616
|
isEventStream: true,
|
|
@@ -758,6 +765,7 @@ const createAggregatedClient = (commands, Client, options) => {
|
|
|
758
765
|
};
|
|
759
766
|
|
|
760
767
|
class ServiceException extends Error {
|
|
768
|
+
static shapeId = "smithy.ts.sdk.synthetic.nonamespace.client#ServiceException";
|
|
761
769
|
$fault;
|
|
762
770
|
$response;
|
|
763
771
|
$retryable;
|
|
@@ -786,10 +794,46 @@ class ServiceException extends Error {
|
|
|
786
794
|
return ServiceException.isInstance(instance);
|
|
787
795
|
}
|
|
788
796
|
if (ServiceException.isInstance(instance)) {
|
|
789
|
-
if (
|
|
790
|
-
return
|
|
797
|
+
if (this.prototype.isPrototypeOf(instance)) {
|
|
798
|
+
return true;
|
|
799
|
+
}
|
|
800
|
+
const targetId = Object.prototype.hasOwnProperty.call(this, "shapeId")
|
|
801
|
+
? this.shapeId
|
|
802
|
+
: undefined;
|
|
803
|
+
let candidateHasShapeId = false;
|
|
804
|
+
if (targetId) {
|
|
805
|
+
let proto = Object.getPrototypeOf(candidate);
|
|
806
|
+
while (proto && proto !== Object.prototype) {
|
|
807
|
+
const ctor = proto.constructor;
|
|
808
|
+
const candidateId = ctor !== ServiceException && Object.prototype.hasOwnProperty.call(ctor, "shapeId")
|
|
809
|
+
? ctor?.shapeId
|
|
810
|
+
: undefined;
|
|
811
|
+
if (candidateId) {
|
|
812
|
+
candidateHasShapeId = true;
|
|
813
|
+
if (candidateId === targetId) {
|
|
814
|
+
return true;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
proto = Object.getPrototypeOf(proto);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
if (targetId && candidateHasShapeId) {
|
|
821
|
+
return false;
|
|
822
|
+
}
|
|
823
|
+
const targetName = this.name;
|
|
824
|
+
if (targetName && targetName.length >= 6) {
|
|
825
|
+
if (candidate.name === targetName) {
|
|
826
|
+
return true;
|
|
827
|
+
}
|
|
828
|
+
let proto = Object.getPrototypeOf(candidate);
|
|
829
|
+
while (proto && proto !== Object.prototype) {
|
|
830
|
+
const ctorName = proto.constructor?.name;
|
|
831
|
+
if (ctorName && ctorName !== "Error" && ctorName === targetName) {
|
|
832
|
+
return true;
|
|
833
|
+
}
|
|
834
|
+
proto = Object.getPrototypeOf(proto);
|
|
835
|
+
}
|
|
791
836
|
}
|
|
792
|
-
return this.prototype.isPrototypeOf(instance);
|
|
793
837
|
}
|
|
794
838
|
return false;
|
|
795
839
|
}
|