@psnext/slingcli 2.5.20260705-1 → 2.5.20260710-1
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/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +55 -141
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/configuration.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.js +48 -19
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.browser.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/defaultUserAgent.js +0 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +19 -20
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/middleware-recursion-detection/configuration.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/shared.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +22 -20
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +16 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +23 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +24 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +31 -20
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/index.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/index.d.ts +10 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +16 -10
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +16 -10
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/index.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +2 -8
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +7 -2
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts +6 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/index.d.ts +2 -4
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/index.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js +3 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/index.d.ts +5 -16
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/index.d.ts +5 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +7 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +7 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/index.d.ts +4 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts +7 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-eventstream/dist-es/index.js +4 -4
- package/node_modules/@aws-sdk/middleware-eventstream/dist-types/index.d.ts +5 -4
- package/node_modules/@aws-sdk/middleware-eventstream/dist-types/ts3.4/index.d.ts +14 -4
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-websocket/dist-es/index.js +4 -4
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/index.d.ts +6 -4
- package/node_modules/@aws-sdk/middleware-websocket/dist-types/ts3.4/index.d.ts +9 -4
- package/node_modules/@aws-sdk/middleware-websocket/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -1
- package/node_modules/@aws-sdk/types/dist-es/identity/index.js +1 -5
- package/node_modules/@aws-sdk/types/dist-es/index.js +4 -34
- package/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -1
- package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +7 -7
- package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -5
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +42 -34
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +2 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +17 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +225 -34
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +2 -11
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +17 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +3 -173
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.models.js +72 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/huggingface.models.js +18 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.js +72 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +36 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +295 -79
- package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +86 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js +18 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.d.ts +271 -602
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +271 -602
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.d.ts +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.d.ts +176 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +176 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.d.ts +511 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +511 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.d.ts +271 -602
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +271 -602
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.d.ts +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.d.ts +176 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +176 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.d.ts +511 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +511 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.d.ts +271 -602
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +307 -655
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.d.ts +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +27 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.d.ts +176 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +183 -118
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.d.ts +511 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +533 -9
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/package.json +4 -4
- package/node_modules/@protobufjs/utf8/CHANGELOG.md +8 -0
- package/node_modules/@protobufjs/utf8/index.js +29 -18
- package/node_modules/@protobufjs/utf8/package.json +2 -2
- package/node_modules/@protobufjs/utf8/tests/index.js +5 -0
- package/node_modules/@smithy/core/dist-es/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +11 -11
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js +1 -7
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +13 -13
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +14 -14
- package/node_modules/@smithy/core/dist-types/index.d.ts +7 -5
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/middleware-http-signing/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/waiter.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +12 -11
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/types/index.d.ts +7 -7
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +13 -13
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +14 -14
- package/node_modules/@smithy/core/dist-types/submodules/transport/httpRequest.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +2 -1
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/index.js +3 -4
- package/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +5 -4
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -4
- package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +5 -4
- package/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@smithy/types/dist-es/auth/index.js +2 -6
- package/node_modules/@smithy/types/dist-es/connection/index.js +1 -3
- package/node_modules/@smithy/types/dist-es/endpoints/index.js +1 -5
- package/node_modules/@smithy/types/dist-es/extensions/index.js +1 -2
- package/node_modules/@smithy/types/dist-es/identity/index.js +1 -4
- package/node_modules/@smithy/types/dist-es/index.js +7 -43
- package/node_modules/@smithy/types/dist-es/metrics.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/auth/index.d.ts +7 -6
- package/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +6 -4
- package/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/index.d.ts +51 -43
- package/node_modules/@smithy/types/dist-types/metrics.d.ts +93 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/fs/promises.d.ts +16 -6
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/gaxios/build/cjs/src/gaxios.js +1 -1
- package/node_modules/gaxios/build/cjs/src/gaxios.js.map +1 -1
- package/node_modules/gaxios/build/cjs/test/test.getch.js +66 -0
- package/node_modules/gaxios/build/cjs/test/test.getch.js.map +1 -1
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/gaxios/build/esm/src/gaxios.js +1 -1
- package/node_modules/gaxios/build/esm/src/gaxios.js.map +1 -1
- package/node_modules/gaxios/build/esm/test/test.getch.js +66 -0
- package/node_modules/gaxios/build/esm/test/test.getch.js.map +1 -1
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
- package/node_modules/gaxios/package.json +4 -4
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/browser/index.js +11 -4
- package/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/index.js +11 -4
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/node/index.js +11 -4
- package/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -1
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/esm/browser/index.js +11 -4
- package/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -1
- package/node_modules/lru-cache/dist/esm/browser/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/browser/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/esm/index.js +11 -4
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -1
- package/node_modules/lru-cache/dist/esm/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/index.min.js.map +3 -3
- package/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -1
- package/node_modules/lru-cache/dist/esm/node/index.js +11 -4
- package/node_modules/lru-cache/dist/esm/node/index.js.map +1 -1
- package/node_modules/lru-cache/dist/esm/node/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/node/index.min.js.map +3 -3
- package/node_modules/lru-cache/package.json +1 -1
- package/package.json +2 -2
- package/sling-default-packages.json +2 -1
- package/slingshot/index.js +126 -126
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getNodeModulesParentDirs.js +0 -15
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.js +0 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.js +0 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.js +0 -75
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getNodeModulesParentDirs.d.ts +0 -10
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.d.ts +0 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.d.ts +0 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.d.ts +0 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getNodeModulesParentDirs.d.ts +0 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.d.ts +0 -4
|
@@ -1,43 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export * from "./crypto";
|
|
9
|
-
export * from "./encode";
|
|
10
|
-
export * from "./endpoint";
|
|
11
|
-
export * from "./endpoints";
|
|
12
|
-
export * from "./eventStream";
|
|
13
|
-
export * from "./extensions";
|
|
14
|
-
export * from "./feature-ids";
|
|
15
|
-
export * from "./http";
|
|
16
|
-
export * from "./http/httpHandlerInitialization";
|
|
17
|
-
export * from "./identity";
|
|
18
|
-
export * from "./logger";
|
|
19
|
-
export * from "./middleware";
|
|
20
|
-
export * from "./pagination";
|
|
21
|
-
export * from "./profile";
|
|
22
|
-
export * from "./response";
|
|
23
|
-
export * from "./retry";
|
|
24
|
-
export * from "./schema/schema";
|
|
25
|
-
export * from "./schema/traits";
|
|
26
|
-
export * from "./schema/schema-deprecated";
|
|
27
|
-
export * from "./schema/sentinels";
|
|
28
|
-
export * from "./schema/static-schemas";
|
|
29
|
-
export * from "./serde";
|
|
30
|
-
export * from "./shapes";
|
|
31
|
-
export * from "./signature";
|
|
32
|
-
export * from "./stream";
|
|
33
|
-
export * from "./streaming-payload/streaming-blob-common-types";
|
|
34
|
-
export * from "./streaming-payload/streaming-blob-payload-input-types";
|
|
35
|
-
export * from "./streaming-payload/streaming-blob-payload-output-types";
|
|
36
|
-
export * from "./transfer";
|
|
37
|
-
export * from "./transform/client-payload-blob-type-narrow";
|
|
38
|
-
export * from "./transform/mutable";
|
|
39
|
-
export * from "./transform/no-undefined";
|
|
40
|
-
export * from "./transform/type-transform";
|
|
41
|
-
export * from "./uri";
|
|
42
|
-
export * from "./util";
|
|
43
|
-
export * from "./waiter";
|
|
1
|
+
export { HttpApiKeyAuthLocation, HttpAuthLocation } from "./auth";
|
|
2
|
+
export { EndpointURLScheme } from "./endpoint";
|
|
3
|
+
export { AlgorithmId, getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "./extensions";
|
|
4
|
+
export { FieldPosition } from "./http";
|
|
5
|
+
export { SMITHY_CONTEXT_KEY } from "./middleware";
|
|
6
|
+
export { IniSectionType } from "./profile";
|
|
7
|
+
export { RequestHandlerProtocol } from "./transfer";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import type { AbortHandler } from "./abort-handler";
|
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
|
-
export { AbortHandler };
|
|
5
|
+
export type { AbortHandler };
|
|
6
6
|
/**
|
|
7
7
|
* Holders of an AbortSignal object may query if the associated operation has
|
|
8
8
|
* been aborted and register an onabort handler.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
1
|
+
export { HttpAuthLocation } from "./auth";
|
|
2
|
+
export type { AuthScheme, HttpAuthDefinition } from "./auth";
|
|
3
|
+
export { HttpApiKeyAuthLocation } from "./HttpApiKeyAuth";
|
|
4
|
+
export type { HttpAuthOption, HttpAuthScheme, HttpAuthSchemeId, SelectedHttpAuthScheme } from "./HttpAuthScheme";
|
|
5
|
+
export type { HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, } from "./HttpAuthSchemeProvider";
|
|
6
|
+
export type { ErrorHandler, HttpSigner, SuccessHandler } from "./HttpSigner";
|
|
7
|
+
export type { IdentityProviderConfig } from "./IdentityProviderConfig";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type { ConnectConfiguration } from "./config";
|
|
2
|
+
export type { ConnectionManager, ConnectionManagerConfiguration } from "./manager";
|
|
3
|
+
export type { CacheKey, ConnectionPool } from "./pool";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export type { EndpointObject, EndpointObjectHeaders, EndpointObjectProperties, EndpointRuleObject, } from "./EndpointRuleObject";
|
|
2
|
+
export type { ErrorRuleObject } from "./ErrorRuleObject";
|
|
3
|
+
export type { DeprecatedObject, ParameterObject, RuleSetObject } from "./RuleSetObject";
|
|
4
|
+
export type { ConditionObject, EndpointParams, EndpointResolverOptions, EvaluateOptions, Expression, FunctionArgv, FunctionObject, FunctionReturn, ReferenceObject, ReferenceRecord, } from "./shared";
|
|
5
|
+
export type { RuleSetRules, TreeRuleObject } from "./TreeRuleObject";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "./defaultClientConfiguration";
|
|
2
|
+
export type { DefaultClientConfiguration } from "./defaultClientConfiguration";
|
|
3
|
+
export type { DefaultExtensionConfiguration } from "./defaultExtensionConfiguration";
|
|
4
|
+
export { AlgorithmId } from "./checksum";
|
|
5
|
+
export type { ChecksumAlgorithm, ChecksumConfiguration } from "./checksum";
|
|
6
|
+
export type { RetryStrategyConfiguration } from "./retry";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export type { ApiKeyIdentity, ApiKeyIdentityProvider } from "./apiKeyIdentity";
|
|
2
|
+
export type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "./awsCredentialIdentity";
|
|
3
|
+
export type { Identity, IdentityProvider } from "./identity";
|
|
4
|
+
export type { TokenIdentity, TokenIdentityProvider } from "./tokenIdentity";
|
|
@@ -1,44 +1,52 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
1
|
+
export type { AbortController, AbortHandler, AbortSignal } from "./abort";
|
|
2
|
+
export { HttpApiKeyAuthLocation, HttpAuthLocation } from "./auth";
|
|
3
|
+
export type { AuthScheme, ErrorHandler, HttpAuthDefinition, HttpAuthOption, HttpAuthScheme, HttpAuthSchemeId, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, HttpSigner, IdentityProviderConfig, SelectedHttpAuthScheme, SuccessHandler, } from "./auth";
|
|
4
|
+
export type { BlobPayloadInputTypes, BlobTypes, BrowserRuntimeBlobTypes, NodeJsRuntimeBlobTypes, } from "./blob/blob-payload-input-types";
|
|
5
|
+
export type { Checksum, ChecksumConstructor } from "./checksum";
|
|
6
|
+
export type { CheckOptionalClientConfig, Client, InvokeFunction, InvokeMethod, InvokeMethodOptionalArgs, } from "./client";
|
|
7
|
+
export type { Command, CommandIO, GetOutputType } from "./command";
|
|
8
|
+
export type { CacheKey, ConnectConfiguration, ConnectionManager, ConnectionManagerConfiguration, ConnectionPool, } from "./connection";
|
|
9
|
+
export type { Hash, HashConstructor, SourceData, StreamHasher, randomValues } from "./crypto";
|
|
10
|
+
export type { AvailableMessage, AvailableMessages, MessageDecoder, MessageEncoder } from "./encode";
|
|
11
|
+
export { EndpointURLScheme } from "./endpoint";
|
|
12
|
+
export type { EndpointARN, EndpointObjectProperty, EndpointParameters, EndpointPartition, EndpointURL, EndpointV2, } from "./endpoint";
|
|
13
|
+
export type { ConditionObject, DeprecatedObject, EndpointObject, EndpointObjectHeaders, EndpointObjectProperties, EndpointParams, EndpointResolverOptions, EndpointRuleObject, ErrorRuleObject, EvaluateOptions, Expression, FunctionArgv, FunctionObject, FunctionReturn, ParameterObject, ReferenceObject, ReferenceRecord, RuleSetObject, RuleSetRules, TreeRuleObject, } from "./endpoints";
|
|
12
14
|
export type { EndpointParameterInstructions, BuiltInParamInstruction, ClientContextParamInstruction, StaticContextParamInstruction, ContextParamInstruction, OperationContextParamInstruction, } from "./endpoints/EndpointParameterInstructions";
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
15
|
+
export type { BinaryHeaderValue, BooleanHeaderValue, ByteHeaderValue, EventStreamMarshaller, EventStreamMarshallerDeserFn, EventStreamMarshallerSerFn, EventStreamPayloadHandler, EventStreamPayloadHandlerProvider, EventStreamRequestSigner, EventStreamSerdeContext, EventStreamSerdeProvider, EventStreamSignerProvider, HeaderValue, Int64, IntegerHeaderValue, LongHeaderValue, Message, MessageHeaderValue, MessageHeaders, ShortHeaderValue, StringHeaderValue, TimestampHeaderValue, UuidHeaderValue, } from "./eventStream";
|
|
16
|
+
export { AlgorithmId, getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "./extensions";
|
|
17
|
+
export type { ChecksumAlgorithm, ChecksumConfiguration, DefaultClientConfiguration, DefaultExtensionConfiguration, RetryStrategyConfiguration, } from "./extensions";
|
|
18
|
+
export type { SmithyFeatures } from "./feature-ids";
|
|
19
|
+
export { FieldPosition } from "./http";
|
|
20
|
+
export type { Endpoint, FieldOptions, HeaderBag, HttpHandlerOptions, HttpMessage, HttpRequest, HttpResponse, QueryParameterBag, } from "./http";
|
|
21
|
+
export type { FetchHttpHandlerOptions, NodeHttpHandlerOptions, RequestHandlerParams, } from "./http/httpHandlerInitialization";
|
|
22
|
+
export type { ApiKeyIdentity, ApiKeyIdentityProvider, AwsCredentialIdentity, AwsCredentialIdentityProvider, Identity, IdentityProvider, TokenIdentity, TokenIdentityProvider, } from "./identity";
|
|
23
|
+
export type { Logger } from "./logger";
|
|
24
|
+
export { SMITHY_CONTEXT_KEY } from "./middleware";
|
|
25
|
+
export type { AbsoluteLocation, BuildHandler, BuildHandlerArguments, BuildHandlerOptions, BuildHandlerOutput, BuildMiddleware, DeserializeHandler, DeserializeHandlerArguments, DeserializeHandlerOptions, DeserializeHandlerOutput, DeserializeMiddleware, FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, FinalizeRequestHandlerOptions, FinalizeRequestMiddleware, Handler, HandlerExecutionContext, HandlerOptions, InitializeHandler, InitializeHandlerArguments, InitializeHandlerOptions, InitializeHandlerOutput, InitializeMiddleware, MiddlewareStack, MiddlewareType, Pluggable, Priority, Relation, RelativeLocation, RelativeMiddlewareOptions, SerializeHandler, SerializeHandlerArguments, SerializeHandlerOptions, SerializeHandlerOutput, SerializeMiddleware, Step, Terminalware, } from "./middleware";
|
|
26
|
+
export type { PaginationConfiguration, Paginator } from "./pagination";
|
|
27
|
+
export { IniSectionType } from "./profile";
|
|
28
|
+
export type { IniSection, ParsedIniData, Profile, SharedConfigFiles } from "./profile";
|
|
29
|
+
export type { MetadataBearer, ResponseMetadata } from "./response";
|
|
30
|
+
export type { ExponentialBackoffJitterType, ExponentialBackoffStrategyOptions, RetryBackoffStrategy, RetryErrorInfo, RetryErrorType, RetryStrategyOptions, RetryStrategyV2, RetryToken, StandardRetryBackoffStrategy, StandardRetryToken, } from "./retry";
|
|
31
|
+
export type { $ClientProtocol, $ClientProtocolCtor, $Codec, $MemberSchema, $OperationSchema, $Schema, $SchemaRef, $ShapeDeserializer, $ShapeSerializer, BlobSchemas, CodecSettings, ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SchemaTraitsObject, SimpleSchema, TimestampSchemas, UnitSchema, } from "./schema/schema";
|
|
32
|
+
export type { HttpLabelBitMask, HttpPayloadBitMask, HttpQueryParamsBitMask, HttpResponseCodeBitMask, IdempotencyTokenBitMask, IdempotentBitMask, SensitiveBitMask, TraitBitVector, } from "./schema/traits";
|
|
33
|
+
export type { ClientProtocol, ClientProtocolCtor, Codec, ListSchema, MapSchema, MemberSchema, OperationSchema, Schema, SchemaRef, ShapeDeserializer, ShapeSerializer, StructureSchema, TraitsSchema, } from "./schema/schema-deprecated";
|
|
34
|
+
export type { BigDecimalSchema, BigIntegerSchema, BlobSchema, BooleanSchema, DocumentSchema, ListSchemaModifier, MapSchemaModifier, NumericSchema, StreamingBlobSchema, StringSchema, TimestampDateTimeSchema, TimestampDefaultSchema, TimestampEpochSecondsSchema, TimestampHttpDateSchema, } from "./schema/sentinels";
|
|
35
|
+
export type { ShapeName, ShapeNamespace, StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSchema, StaticSchemaIdError, StaticSchemaIdList, StaticSchemaIdMap, StaticSchemaIdOperation, StaticSchemaIdSimple, StaticSchemaIdStruct, StaticSchemaIdUnion, StaticSimpleSchema, StaticStructureSchema, StaticUnionSchema, } from "./schema/static-schemas";
|
|
36
|
+
export type { EndpointBearer, RequestSerializer, ResponseDeserializer, SdkStream, SdkStreamMixin, SdkStreamMixinInjector, SdkStreamSerdeContext, SerdeContext, SerdeFunctions, StreamCollector, WithSdkStreamMixin, } from "./serde";
|
|
37
|
+
export type { DocumentType, RetryableTrait, SdkError, SmithyException } from "./shapes";
|
|
38
|
+
export type { DateInput, EventSigner, EventSigningArguments, EventStreamRequestScopedCredentials, FormattedEvent, MessageSigner, MessageSigningArguments, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner, } from "./signature";
|
|
39
|
+
export type { GetAwsChunkedEncodingStream, GetAwsChunkedEncodingStreamOptions } from "./stream";
|
|
40
|
+
export type { BrowserRuntimeStreamingBlobTypes, NodeJsRuntimeStreamingBlobTypes, StreamingBlobTypes, } from "./streaming-payload/streaming-blob-common-types";
|
|
41
|
+
export type { BrowserRuntimeStreamingBlobPayloadInputTypes, NodeJsRuntimeStreamingBlobPayloadInputTypes, StreamingBlobPayloadInputTypes, } from "./streaming-payload/streaming-blob-payload-input-types";
|
|
42
|
+
export type { BrowserRuntimeStreamingBlobPayloadOutputTypes, NodeJsRuntimeStreamingBlobPayloadOutputTypes, StreamingBlobPayloadOutputTypes, } from "./streaming-payload/streaming-blob-payload-output-types";
|
|
43
|
+
export { RequestHandlerProtocol } from "./transfer";
|
|
44
|
+
export type { RequestContext, RequestHandler, RequestHandlerMetadata, RequestHandlerOutput } from "./transfer";
|
|
45
|
+
export type { BrowserClient, BrowserXhrClient, NarrowPayloadBlobOutputType, NarrowPayloadBlobTypes, NodeJsClient, NodeJsHttp2Client, } from "./transform/client-payload-blob-type-narrow";
|
|
46
|
+
export type { Mutable } from "./transform/mutable";
|
|
47
|
+
export type { AssertiveClient, NoUndefined, RecursiveRequired, UncheckedClient } from "./transform/no-undefined";
|
|
48
|
+
export type { Transform } from "./transform/type-transform";
|
|
49
|
+
export type { URI } from "./uri";
|
|
50
|
+
export type { BodyLengthCalculator, Decoder, Encoder, Exact, MemoizedProvider, OptionalParameter, Provider, RegionInfo, RegionInfoProvider, RegionInfoProviderOptions, RetryStrategy, UrlParser, UserAgent, UserAgentPair, } from "./util";
|
|
51
|
+
export type { WaiterConfiguration } from "./waiter";
|
|
52
|
+
export type { MetricsRecorder, MetricsRecorderFactory, MetricUnit, RequestOutcome } from "./metrics";
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Outcome of a request, recorded by the framework via {@link MetricsRecorder.recordRequestOutcome}.
|
|
3
|
+
*
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type RequestOutcome = "Success" | "Fault";
|
|
7
|
+
/**
|
|
8
|
+
* Unit attached to a recorded metric value. The vocabulary follows the
|
|
9
|
+
* CloudWatch unit names so backends that emit to CloudWatch can pass it
|
|
10
|
+
* through, but it carries no backend-specific semantics — a recorder is free
|
|
11
|
+
* to map or ignore it.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type MetricUnit = "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "None" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second";
|
|
16
|
+
/**
|
|
17
|
+
* Backend-agnostic recorder for per-request metrics. The framework drives the
|
|
18
|
+
* lifecycle and records request-level metrics through this interface; user
|
|
19
|
+
* handlers record their own business metrics through the same methods. Concrete
|
|
20
|
+
* recorders (e.g. an EMF recorder, or a future OpenTelemetry recorder) translate
|
|
21
|
+
* these abstract calls into their own primitives.
|
|
22
|
+
*
|
|
23
|
+
* @typeParam Native - the concrete backend handle returned by
|
|
24
|
+
* {@link MetricsRecorder.getMetrics}, e.g. an OpenTelemetry `Meter`. The
|
|
25
|
+
* parameter is required so that native access is always typed rather than
|
|
26
|
+
* erased to `unknown`.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export interface MetricsRecorder<Native> {
|
|
31
|
+
/**
|
|
32
|
+
* Open the recorder for the current request. Called by the framework once at
|
|
33
|
+
* the start of request handling.
|
|
34
|
+
*/
|
|
35
|
+
begin(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Close the recorder for the current request. Called by the framework once at
|
|
38
|
+
* the end of request handling; this is where an implementation typically
|
|
39
|
+
* flushes its event.
|
|
40
|
+
*/
|
|
41
|
+
end(): void;
|
|
42
|
+
/**
|
|
43
|
+
* Records the outcome and duration of a request. The concrete backend decides
|
|
44
|
+
* how to express this.
|
|
45
|
+
*/
|
|
46
|
+
recordRequestOutcome(outcome: RequestOutcome, durationMs: number): void;
|
|
47
|
+
/**
|
|
48
|
+
* Records a count. Values should be non-negative for cross-backend portability.
|
|
49
|
+
*/
|
|
50
|
+
addCount(name: string, value: number): void;
|
|
51
|
+
/**
|
|
52
|
+
* Records a duration in milliseconds.
|
|
53
|
+
*/
|
|
54
|
+
addTime(name: string, value: number): void;
|
|
55
|
+
/**
|
|
56
|
+
* Records a level — a sampled value that should average meaningfully across
|
|
57
|
+
* calls (e.g. queue depth, batch size).
|
|
58
|
+
*/
|
|
59
|
+
addLevel(name: string, value: number, unit?: MetricUnit): void;
|
|
60
|
+
/**
|
|
61
|
+
* Records a discrete data point where percentiles matter (e.g. per-call
|
|
62
|
+
* latency, item size).
|
|
63
|
+
*/
|
|
64
|
+
addMetric(name: string, value: number, unit?: MetricUnit): void;
|
|
65
|
+
/**
|
|
66
|
+
* Records a unitless ratio (e.g. cache hit rate, throttle rate).
|
|
67
|
+
*/
|
|
68
|
+
addRatio(name: string, value: number): void;
|
|
69
|
+
/**
|
|
70
|
+
* Attaches a property to the request's metrics. A nullish or empty value
|
|
71
|
+
* removes the property.
|
|
72
|
+
*/
|
|
73
|
+
setProperty(name: string, value: string | null | undefined): void;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the recorder's native backend handle, so callers can reach
|
|
76
|
+
* library-specific features the abstract methods do not expose (e.g. an
|
|
77
|
+
* OpenTelemetry `Meter`).
|
|
78
|
+
*/
|
|
79
|
+
getMetrics(): Native;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Creates a per-request {@link MetricsRecorder}. Created once at startup and
|
|
83
|
+
* passed to the service handler; the framework calls {@link MetricsRecorderFactory.create}
|
|
84
|
+
* once per request to obtain a scoped recorder.
|
|
85
|
+
*
|
|
86
|
+
* @typeParam Native - the native backend handle exposed by recorders this
|
|
87
|
+
* factory produces. See {@link MetricsRecorder}.
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export interface MetricsRecorderFactory<Native> {
|
|
92
|
+
create(): MetricsRecorder<Native>;
|
|
93
|
+
}
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Wed,
|
|
11
|
+
* Last updated: Wed, 08 Jul 2026 06:47:45 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -153,7 +153,11 @@ declare module "node:fs/promises" {
|
|
|
153
153
|
* @return Fulfills with `undefined` upon success.
|
|
154
154
|
*/
|
|
155
155
|
appendFile(
|
|
156
|
-
data:
|
|
156
|
+
data:
|
|
157
|
+
| string
|
|
158
|
+
| NodeJS.ArrayBufferView
|
|
159
|
+
| Iterable<string | NodeJS.ArrayBufferView>
|
|
160
|
+
| AsyncIterable<string | NodeJS.ArrayBufferView>,
|
|
157
161
|
options?:
|
|
158
162
|
| (ObjectEncodingOptions & Abortable)
|
|
159
163
|
| BufferEncoding
|
|
@@ -470,7 +474,11 @@ declare module "node:fs/promises" {
|
|
|
470
474
|
* @since v10.0.0
|
|
471
475
|
*/
|
|
472
476
|
writeFile(
|
|
473
|
-
data:
|
|
477
|
+
data:
|
|
478
|
+
| string
|
|
479
|
+
| NodeJS.ArrayBufferView
|
|
480
|
+
| Iterable<string | NodeJS.ArrayBufferView>
|
|
481
|
+
| AsyncIterable<string | NodeJS.ArrayBufferView>,
|
|
474
482
|
options?:
|
|
475
483
|
| (ObjectEncodingOptions & Abortable)
|
|
476
484
|
| BufferEncoding
|
|
@@ -1208,8 +1216,7 @@ declare module "node:fs/promises" {
|
|
|
1208
1216
|
| string
|
|
1209
1217
|
| NodeJS.ArrayBufferView
|
|
1210
1218
|
| Iterable<string | NodeJS.ArrayBufferView>
|
|
1211
|
-
| AsyncIterable<string | NodeJS.ArrayBufferView
|
|
1212
|
-
| Stream,
|
|
1219
|
+
| AsyncIterable<string | NodeJS.ArrayBufferView>,
|
|
1213
1220
|
options?:
|
|
1214
1221
|
| (ObjectEncodingOptions & {
|
|
1215
1222
|
mode?: Mode | undefined;
|
|
@@ -1240,7 +1247,11 @@ declare module "node:fs/promises" {
|
|
|
1240
1247
|
*/
|
|
1241
1248
|
function appendFile(
|
|
1242
1249
|
path: PathLike | FileHandle,
|
|
1243
|
-
data:
|
|
1250
|
+
data:
|
|
1251
|
+
| string
|
|
1252
|
+
| NodeJS.ArrayBufferView
|
|
1253
|
+
| Iterable<string | NodeJS.ArrayBufferView>
|
|
1254
|
+
| AsyncIterable<string | NodeJS.ArrayBufferView>,
|
|
1244
1255
|
options?: (ObjectEncodingOptions & FlagAndOpenMode & { flush?: boolean | undefined }) | BufferEncoding | null,
|
|
1245
1256
|
): Promise<void>;
|
|
1246
1257
|
/**
|
|
@@ -1432,7 +1443,6 @@ declare module "node:fs/promises" {
|
|
|
1432
1443
|
* When copying a directory to another directory, globs are not supported and
|
|
1433
1444
|
* behavior is similar to `cp dir1/ dir2/`.
|
|
1434
1445
|
* @since v16.7.0
|
|
1435
|
-
* @experimental
|
|
1436
1446
|
* @param src source path to copy.
|
|
1437
1447
|
* @param dest destination path to copy to.
|
|
1438
1448
|
* @return Fulfills with `undefined` upon success.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "26.1.
|
|
3
|
+
"version": "26.1.1",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": "~8.3.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "a59119b073061829bc67a5bf6bc2b8ecb0a5a6196058e3c73172a00440f4e16d",
|
|
154
154
|
"typeScriptVersion": "5.6"
|
|
155
155
|
}
|
|
@@ -149,7 +149,7 @@ class Gaxios {
|
|
|
149
149
|
for await (const chunk of translatedResponse.data) {
|
|
150
150
|
response.push(chunk);
|
|
151
151
|
}
|
|
152
|
-
translatedResponse.data = response.toString();
|
|
152
|
+
translatedResponse.data = Buffer.concat(response.map(c => (typeof c === 'string' ? Buffer.from(c) : c))).toString('utf8');
|
|
153
153
|
}
|
|
154
154
|
const errorInfo = common_js_1.GaxiosError.extractAPIErrorFromResponse(translatedResponse, `Request failed with status code ${translatedResponse.status}`);
|
|
155
155
|
throw new common_js_1.GaxiosError(errorInfo?.message, opts, translatedResponse, errorInfo);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gaxios.js","sourceRoot":"","sources":["../../../src/gaxios.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;AAEjC,oDAA4B;AAE5B,iCAA0C;AAG1C,2CAQqB;AACrB,yCAA0C;AAC1C,mCAAgC;AAChC,qDAA0D;AAE1D,MAAM,UAAU,GAAG,KAAK,IAAI,EAAE,CAC5B,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,MAAM,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;AAc3E,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAEnC,MAAa,MAAM;IACP,UAAU,GAAG,IAAI,GAAG,EAG3B,CAAC;IAEJ;;OAEG;IACH,QAAQ,CAAgB;IAExB;;OAEG;IACH,YAAY,CAGV;IAEF;;;OAGG;IACH,YAA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O,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBACzB,mDAAmD;gBACnD,6FAA6F;gBAC7F,GAAG,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YACxE,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAxpBD,wBAwpBC"}
|
|
@@ -139,6 +139,72 @@ function setEnv(obj) {
|
|
|
139
139
|
apiError.error.details.length === 0);
|
|
140
140
|
});
|
|
141
141
|
});
|
|
142
|
+
(0, mocha_1.describe)('should handle stream error responses', () => {
|
|
143
|
+
(0, mocha_1.it)('split across multiple string chunks', async () => {
|
|
144
|
+
const chunks = [
|
|
145
|
+
'{"error": {"code": 400, ',
|
|
146
|
+
'"message": "Invalid ',
|
|
147
|
+
'argument", "status": "INVALID_ARGUMENT"}}',
|
|
148
|
+
];
|
|
149
|
+
const readableStream = stream_1.Readable.from(chunks);
|
|
150
|
+
const scope = (0, nock_1.default)(url).get('/').reply(400, readableStream);
|
|
151
|
+
await assert_1.default.rejects((0, index_js_1.request)({ url, responseType: 'stream' }), (err) => {
|
|
152
|
+
scope.done();
|
|
153
|
+
const apiError = JSON.parse(err.message);
|
|
154
|
+
return (apiError.error.code === 400 &&
|
|
155
|
+
apiError.error.message === 'Invalid argument' &&
|
|
156
|
+
apiError.error.status === 'INVALID_ARGUMENT');
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
(0, mocha_1.it)('split across multiple Buffer chunks', async () => {
|
|
160
|
+
const chunks = [
|
|
161
|
+
Buffer.from('{"error": {"code": 400, '),
|
|
162
|
+
Buffer.from('"message": "Invalid '),
|
|
163
|
+
Buffer.from('argument", "status": "INVALID_ARGUMENT"}}'),
|
|
164
|
+
];
|
|
165
|
+
const readableStream = stream_1.Readable.from(chunks);
|
|
166
|
+
const scope = (0, nock_1.default)(url).get('/').reply(400, readableStream);
|
|
167
|
+
await assert_1.default.rejects((0, index_js_1.request)({ url, responseType: 'stream' }), (err) => {
|
|
168
|
+
scope.done();
|
|
169
|
+
const apiError = JSON.parse(err.message);
|
|
170
|
+
return (apiError.error.code === 400 &&
|
|
171
|
+
apiError.error.message === 'Invalid argument' &&
|
|
172
|
+
apiError.error.status === 'INVALID_ARGUMENT');
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
(0, mocha_1.it)('split across multiple Uint8Array chunks', async () => {
|
|
176
|
+
const chunks = [
|
|
177
|
+
new Uint8Array(Buffer.from('{"error": {"code": 400, ')),
|
|
178
|
+
new Uint8Array(Buffer.from('"message": "Invalid ')),
|
|
179
|
+
new Uint8Array(Buffer.from('argument", "status": "INVALID_ARGUMENT"}}')),
|
|
180
|
+
];
|
|
181
|
+
const readableStream = stream_1.Readable.from(chunks);
|
|
182
|
+
const scope = (0, nock_1.default)(url).get('/').reply(400, readableStream);
|
|
183
|
+
await assert_1.default.rejects((0, index_js_1.request)({ url, responseType: 'stream' }), (err) => {
|
|
184
|
+
scope.done();
|
|
185
|
+
const apiError = JSON.parse(err.message);
|
|
186
|
+
return (apiError.error.code === 400 &&
|
|
187
|
+
apiError.error.message === 'Invalid argument' &&
|
|
188
|
+
apiError.error.status === 'INVALID_ARGUMENT');
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
(0, mocha_1.it)('split across mixed type chunks (string, Buffer, Uint8Array)', async () => {
|
|
192
|
+
const chunks = [
|
|
193
|
+
'{"error": {"code": 400, ',
|
|
194
|
+
Buffer.from('"message": "Invalid '),
|
|
195
|
+
new Uint8Array(Buffer.from('argument", "status": "INVALID_ARGUMENT"}}')),
|
|
196
|
+
];
|
|
197
|
+
const readableStream = stream_1.Readable.from(chunks);
|
|
198
|
+
const scope = (0, nock_1.default)(url).get('/').reply(400, readableStream);
|
|
199
|
+
await assert_1.default.rejects((0, index_js_1.request)({ url, responseType: 'stream' }), (err) => {
|
|
200
|
+
scope.done();
|
|
201
|
+
const apiError = JSON.parse(err.message);
|
|
202
|
+
return (apiError.error.code === 400 &&
|
|
203
|
+
apiError.error.message === 'Invalid argument' &&
|
|
204
|
+
apiError.error.status === 'INVALID_ARGUMENT');
|
|
205
|
+
});
|
|
206
|
+
});
|
|
207
|
+
});
|
|
142
208
|
(0, mocha_1.it)('should not throw an error during a translation error', () => {
|
|
143
209
|
const notJSON = '.';
|
|
144
210
|
const response = {
|