@openclaw/msteams 2026.6.5 → 2026.6.6-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/api.js +1 -1
- package/dist/{channel--oT3fyD5.js → channel-FzXHnZIM.js} +16 -2
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.runtime-KNuY2Oaw.js → channel.runtime-CaeTVmSx.js} +2 -2
- package/dist/{probe-C-rWMb-m.js → probe-D-pKTqs9.js} +1 -1
- package/dist/secret-contract-api.js +34 -1
- package/dist/{src-CLsoqMj1.js → src-C647R5Nw.js} +2 -2
- package/node_modules/@azure/core-client/dist/browser/authorizeRequestOnTenantChallenge.js +1 -2
- package/node_modules/@azure/core-client/dist/browser/authorizeRequestOnTenantChallenge.js.map +1 -1
- package/node_modules/@azure/core-client/dist/browser/base64.d.ts +2 -6
- package/node_modules/@azure/core-client/dist/browser/base64.js +7 -15
- package/node_modules/@azure/core-client/dist/browser/base64.js.map +1 -0
- package/node_modules/@azure/core-client/dist/browser/index.d.ts +5 -5
- package/node_modules/@azure/core-client/dist/browser/index.js.map +1 -1
- package/node_modules/@azure/core-client/dist/browser/interfaceHelpers.js +1 -2
- package/node_modules/@azure/core-client/dist/browser/interfaceHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/browser/operationHelpers.js +8 -4
- package/node_modules/@azure/core-client/dist/browser/operationHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/browser/serializationPolicy.js +1 -1
- package/node_modules/@azure/core-client/dist/browser/serializationPolicy.js.map +1 -1
- package/node_modules/@azure/core-client/dist/browser/serializer.js +32 -11
- package/node_modules/@azure/core-client/dist/browser/serializer.js.map +1 -1
- package/node_modules/@azure/core-client/dist/browser/serviceClient.js +2 -2
- package/node_modules/@azure/core-client/dist/browser/serviceClient.js.map +1 -1
- package/node_modules/@azure/core-client/dist/browser/{state.d.ts → state-web.d.mts} +1 -1
- package/node_modules/@azure/core-client/dist/browser/{state.js → state-web.mjs} +1 -1
- package/node_modules/@azure/core-client/dist/browser/state-web.mjs.map +1 -0
- package/node_modules/@azure/core-client/dist/browser/urlHelpers.js +2 -1
- package/node_modules/@azure/core-client/dist/browser/urlHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/authorizeRequestOnTenantChallenge.js +1 -2
- package/node_modules/@azure/core-client/dist/commonjs/authorizeRequestOnTenantChallenge.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/base64.d.ts +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/base64.js +6 -6
- package/node_modules/@azure/core-client/dist/commonjs/base64.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/index.d.ts +5 -5
- package/node_modules/@azure/core-client/dist/commonjs/index.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/interfaceHelpers.js +1 -2
- package/node_modules/@azure/core-client/dist/commonjs/interfaceHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/operationHelpers.js +10 -6
- package/node_modules/@azure/core-client/dist/commonjs/operationHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/serializationPolicy.js +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/serializationPolicy.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/serializer.js +32 -11
- package/node_modules/@azure/core-client/dist/commonjs/serializer.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/serviceClient.js +2 -2
- package/node_modules/@azure/core-client/dist/commonjs/serviceClient.js.map +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/state-cjs.d.ts +8 -0
- package/node_modules/@azure/core-client/dist/commonjs/{state.js → state-cjs.js} +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/state-cjs.js.map +1 -0
- package/node_modules/@azure/core-client/dist/commonjs/tsdoc-metadata.json +1 -1
- package/node_modules/@azure/core-client/dist/commonjs/urlHelpers.js +2 -1
- package/node_modules/@azure/core-client/dist/commonjs/urlHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/authorizeRequestOnTenantChallenge.js +1 -2
- package/node_modules/@azure/core-client/dist/esm/authorizeRequestOnTenantChallenge.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/base64.d.ts +1 -1
- package/node_modules/@azure/core-client/dist/esm/base64.js +6 -6
- package/node_modules/@azure/core-client/dist/esm/base64.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/index.d.ts +5 -5
- package/node_modules/@azure/core-client/dist/esm/index.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/interfaceHelpers.js +1 -2
- package/node_modules/@azure/core-client/dist/esm/interfaceHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/operationHelpers.js +7 -3
- package/node_modules/@azure/core-client/dist/esm/operationHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/serializationPolicy.js +1 -1
- package/node_modules/@azure/core-client/dist/esm/serializationPolicy.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/serializer.js +32 -11
- package/node_modules/@azure/core-client/dist/esm/serializer.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/serviceClient.js +2 -2
- package/node_modules/@azure/core-client/dist/esm/serviceClient.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/state-cjs.d.ts +8 -0
- package/node_modules/@azure/core-client/dist/esm/state-cjs.js +9 -0
- package/node_modules/@azure/core-client/dist/esm/state-cjs.js.map +1 -0
- package/node_modules/@azure/core-client/dist/esm/state.js +1 -1
- package/node_modules/@azure/core-client/dist/esm/state.js.map +1 -1
- package/node_modules/@azure/core-client/dist/esm/urlHelpers.js +2 -1
- package/node_modules/@azure/core-client/dist/esm/urlHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/authorizeRequestOnTenantChallenge.js +1 -2
- package/node_modules/@azure/core-client/dist/react-native/authorizeRequestOnTenantChallenge.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/base64.d.ts +1 -1
- package/node_modules/@azure/core-client/dist/react-native/base64.js +6 -6
- package/node_modules/@azure/core-client/dist/react-native/base64.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/index.d.ts +5 -5
- package/node_modules/@azure/core-client/dist/react-native/index.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/interfaceHelpers.js +1 -2
- package/node_modules/@azure/core-client/dist/react-native/interfaceHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/operationHelpers.js +8 -4
- package/node_modules/@azure/core-client/dist/react-native/operationHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/serializationPolicy.js +1 -1
- package/node_modules/@azure/core-client/dist/react-native/serializationPolicy.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/serializer.js +32 -11
- package/node_modules/@azure/core-client/dist/react-native/serializer.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/serviceClient.js +2 -2
- package/node_modules/@azure/core-client/dist/react-native/serviceClient.js.map +1 -1
- package/node_modules/@azure/core-client/dist/react-native/state-web.d.mts +8 -0
- package/node_modules/@azure/core-client/dist/react-native/state-web.mjs +9 -0
- package/node_modules/@azure/core-client/dist/react-native/state-web.mjs.map +1 -0
- package/node_modules/@azure/core-client/dist/react-native/urlHelpers.js +2 -1
- package/node_modules/@azure/core-client/dist/react-native/urlHelpers.js.map +1 -1
- package/node_modules/@azure/core-client/package.json +31 -30
- package/node_modules/@azure/core-rest-pipeline/dist/browser/constants.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/constants.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/defaultHttpClient.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/index.d.ts +1 -12
- package/node_modules/@azure/core-rest-pipeline/dist/browser/index.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/interfaces.d.ts +17 -16
- package/node_modules/@azure/core-rest-pipeline/dist/browser/interfaces.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/policies/bearerTokenAuthenticationPolicy.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/policies/bearerTokenAuthenticationPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/policies/ndJsonPolicy.js +1 -3
- package/node_modules/@azure/core-rest-pipeline/dist/browser/policies/ndJsonPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/policies/wrapAbortSignalLikePolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/createFile-browser.d.mts +15 -0
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/createFile-browser.mjs +28 -0
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/createFile-browser.mjs.map +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/file.d.ts +12 -16
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/file.js +28 -32
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/file.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/tokenCycler.js +5 -2
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/tokenCycler.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/userAgent.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/userAgent.js.map +1 -1
- package/node_modules/{@typespec/ts-http-runtime/dist/browser/util/userAgentPlatform.d.ts → @azure/core-rest-pipeline/dist/browser/util/userAgentPlatform-browser.d.mts} +1 -1
- package/node_modules/{@typespec/ts-http-runtime/dist/browser/util/userAgentPlatform.js → @azure/core-rest-pipeline/dist/browser/util/userAgentPlatform-browser.mjs} +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/userAgentPlatform-browser.mjs.map +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/wrapAbortSignal.js +4 -2
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/wrapAbortSignal.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/constants.js +2 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/constants.js.map +2 -2
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/createPipelineFromOptions.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/createPipelineFromOptions.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/defaultHttpClient.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/defaultHttpClient.js.map +2 -2
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/httpHeaders.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/httpHeaders.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/index.d.ts +1 -12
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/index.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/index.js.map +3 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/interfaces.d.ts +17 -16
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/interfaces.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/interfaces.js.map +2 -2
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/log.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/log.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/pipeline.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/pipeline.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/pipelineRequest.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/pipelineRequest.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/agentPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/agentPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/auxiliaryAuthenticationHeaderPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/bearerTokenAuthenticationPolicy.js +2 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/bearerTokenAuthenticationPolicy.js.map +3 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/decompressResponsePolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/decompressResponsePolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/defaultRetryPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/defaultRetryPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/exponentialRetryPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/exponentialRetryPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/formDataPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/formDataPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/logPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/logPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/multipartPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/multipartPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/ndJsonPolicy.js +2 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/ndJsonPolicy.js.map +3 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/proxyPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/proxyPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/redirectPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/redirectPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/retryPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/retryPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/setClientRequestIdPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/setClientRequestIdPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/systemErrorRetryPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/systemErrorRetryPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/throttlingRetryPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/throttlingRetryPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/tlsPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/tlsPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/tracingPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/tracingPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/userAgentPolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/userAgentPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/wrapAbortSignalLikePolicy.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/wrapAbortSignalLikePolicy.js.map +2 -2
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/restError.js +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/restError.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/tsdoc-metadata.json +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/createFile.d.ts +15 -0
- package/node_modules/{@typespec/ts-http-runtime/dist/commonjs/util/inspect.common.js → @azure/core-rest-pipeline/dist/commonjs/util/createFile.js} +10 -7
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/createFile.js.map +7 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/file.d.ts +12 -16
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/file.js +25 -20
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/file.js.map +3 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/tokenCycler.js +6 -2
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/tokenCycler.js.map +3 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/userAgent.js +4 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/userAgent.js.map +3 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/userAgentPlatform.d.ts +8 -0
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/userAgentPlatform.js +7 -7
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/userAgentPlatform.js.map +3 -3
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/wrapAbortSignal.js +7 -2
- package/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/wrapAbortSignal.js.map +3 -3
- package/node_modules/@azure/core-rest-pipeline/dist/esm/constants.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/constants.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/defaultHttpClient.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/index.d.ts +1 -12
- package/node_modules/@azure/core-rest-pipeline/dist/esm/index.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/interfaces.d.ts +17 -16
- package/node_modules/@azure/core-rest-pipeline/dist/esm/interfaces.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/policies/bearerTokenAuthenticationPolicy.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/policies/bearerTokenAuthenticationPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/policies/ndJsonPolicy.js +1 -3
- package/node_modules/@azure/core-rest-pipeline/dist/esm/policies/ndJsonPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/policies/wrapAbortSignalLikePolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/createFile.d.ts +15 -0
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/createFile.js +19 -0
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/createFile.js.map +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/file.d.ts +12 -16
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/file.js +28 -32
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/file.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/tokenCycler.js +5 -2
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/tokenCycler.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/userAgent.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/userAgentPlatform.d.ts +8 -0
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/userAgentPlatform.js +6 -7
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/userAgentPlatform.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/wrapAbortSignal.js +4 -2
- package/node_modules/@azure/core-rest-pipeline/dist/esm/util/wrapAbortSignal.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/constants.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/constants.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/defaultHttpClient.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/defaultHttpClient.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/index.d.ts +1 -12
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/index.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/interfaces.d.ts +17 -16
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/interfaces.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/bearerTokenAuthenticationPolicy.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/bearerTokenAuthenticationPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/ndJsonPolicy.js +1 -3
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/ndJsonPolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/wrapAbortSignalLikePolicy.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/createFile-browser.d.mts +15 -0
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/createFile-browser.mjs +28 -0
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/createFile-browser.mjs.map +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/file.d.ts +12 -16
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/file.js +28 -32
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/file.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/tokenCycler.js +5 -2
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/tokenCycler.js.map +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/userAgent.js +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/userAgent.js.map +1 -1
- package/node_modules/{@typespec/ts-http-runtime/dist/react-native/util/userAgentPlatform.d.ts → @azure/core-rest-pipeline/dist/react-native/util/userAgentPlatform-react-native.d.mts} +1 -1
- package/node_modules/{@typespec/ts-http-runtime/dist/react-native/util/userAgentPlatform.js → @azure/core-rest-pipeline/dist/react-native/util/userAgentPlatform-react-native.mjs} +1 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/userAgentPlatform-react-native.mjs.map +1 -0
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/{wrapAbortSignal.d.ts → wrapAbortSignal-rn.d.mts} +7 -2
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/{wrapAbortSignal.js → wrapAbortSignal-rn.mjs} +11 -5
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/wrapAbortSignal-rn.mjs.map +1 -0
- package/node_modules/@azure/core-rest-pipeline/package.json +37 -14
- package/node_modules/@azure/msal-browser/dist/app/IPublicClientApplication.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/app/PublicClientApplication.mjs +44 -2
- package/node_modules/@azure/msal-browser/dist/app/PublicClientApplication.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/broker/nativeBroker/NativeStatusCodes.mjs +3 -3
- package/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/AccountManager.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/BrowserCacheManager.mjs +12 -1
- package/node_modules/@azure/msal-browser/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/CacheHelpers.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/CacheKeys.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/CookieStorage.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/DatabaseStorage.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/EncryptedData.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/LocalStorage.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/MemoryStorage.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/SessionStorage.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/cache/TokenCache.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/config/Configuration.mjs +2 -2
- package/node_modules/@azure/msal-browser/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/controllers/StandardController.mjs +3 -3
- package/node_modules/@azure/msal-browser/dist/controllers/StandardController.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/crypto/BrowserCrypto.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/crypto/CryptoOps.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/crypto/PkceGenerator.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/index.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/encode/Base64Decode.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/encode/Base64Encode.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/error/BrowserAuthError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/error/NativeAuthError.mjs +4 -4
- package/node_modules/@azure/msal-browser/dist/error/NativeAuthError.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/event/EventHandler.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/event/EventMessage.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/event/EventType.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/index.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/PlatformAuthInteractionClient.mjs +4 -3
- package/node_modules/@azure/msal-browser/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/PopupClient.mjs +27 -7
- package/node_modules/@azure/msal-browser/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/RedirectClient.mjs +6 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/SilentIframeClient.mjs +11 -4
- package/node_modules/@azure/msal-browser/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/interaction_handler/SilentHandler.mjs +2 -1
- package/node_modules/@azure/msal-browser/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/log-strings-mapping.json +7 -3
- package/node_modules/@azure/msal-browser/dist/naa/BridgeError.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/naa/BridgeProxy.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/naa/BridgeStatusCode.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/navigation/NavigationClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/network/FetchClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/operatingcontext/BaseOperatingContext.mjs +10 -2
- package/node_modules/@azure/msal-browser/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/packageMetadata.mjs +2 -2
- package/node_modules/@azure/msal-browser/dist/protocol/Authorize.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/redirect_bridge/index.mjs +4 -5
- package/node_modules/@azure/msal-browser/dist/redirect_bridge/index.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/request/RequestHelpers.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/response/ResponseHandler.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/utils/BrowserConstants.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/utils/BrowserUtils.mjs +15 -5
- package/node_modules/@azure/msal-browser/dist/utils/BrowserUtils.mjs.map +1 -1
- package/node_modules/@azure/msal-browser/dist/utils/Helpers.mjs +1 -1
- package/node_modules/@azure/msal-browser/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/node_modules/@azure/msal-browser/lib/custom-auth-path/log-strings-mapping.json +15 -11
- package/node_modules/@azure/msal-browser/lib/custom-auth-path/msal-custom-auth.cjs +238 -132
- package/node_modules/@azure/msal-browser/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/node_modules/@azure/msal-browser/lib/custom-auth-path/msal-custom-auth.js +238 -132
- package/node_modules/@azure/msal-browser/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/node_modules/@azure/msal-browser/lib/log-strings-mapping.json +7 -3
- package/node_modules/@azure/msal-browser/lib/msal-browser.cjs +252 -135
- package/node_modules/@azure/msal-browser/lib/msal-browser.cjs.map +1 -1
- package/node_modules/@azure/msal-browser/lib/msal-browser.js +252 -135
- package/node_modules/@azure/msal-browser/lib/msal-browser.js.map +1 -1
- package/node_modules/@azure/msal-browser/lib/msal-browser.min.js +2 -2
- package/node_modules/@azure/msal-browser/lib/redirect-bridge/msal-redirect-bridge.cjs +59 -50
- package/node_modules/@azure/msal-browser/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/node_modules/@azure/msal-browser/lib/redirect-bridge/msal-redirect-bridge.js +59 -50
- package/node_modules/@azure/msal-browser/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/node_modules/@azure/msal-browser/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
- package/node_modules/@azure/msal-browser/package.json +2 -2
- package/node_modules/@azure/msal-browser/src/app/PublicClientApplication.ts +85 -1
- package/node_modules/@azure/msal-browser/src/broker/nativeBroker/NativeStatusCodes.ts +1 -1
- package/node_modules/@azure/msal-browser/src/cache/BrowserCacheManager.ts +17 -0
- package/node_modules/@azure/msal-browser/src/controllers/StandardController.ts +4 -2
- package/node_modules/@azure/msal-browser/src/error/NativeAuthError.ts +2 -2
- package/node_modules/@azure/msal-browser/src/interaction_client/PlatformAuthInteractionClient.ts +5 -1
- package/node_modules/@azure/msal-browser/src/interaction_client/PopupClient.ts +65 -27
- package/node_modules/@azure/msal-browser/src/interaction_client/RedirectClient.ts +5 -0
- package/node_modules/@azure/msal-browser/src/interaction_client/SilentIframeClient.ts +49 -19
- package/node_modules/@azure/msal-browser/src/interaction_handler/SilentHandler.ts +1 -0
- package/node_modules/@azure/msal-browser/src/operatingcontext/BaseOperatingContext.ts +15 -1
- package/node_modules/@azure/msal-browser/src/packageMetadata.ts +1 -1
- package/node_modules/@azure/msal-browser/src/redirect_bridge/index.ts +3 -7
- package/node_modules/@azure/msal-browser/src/utils/BrowserUtils.ts +28 -7
- package/node_modules/@azure/msal-browser/types/app/PublicClientApplication.d.ts +37 -1
- package/node_modules/@azure/msal-browser/types/app/PublicClientApplication.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/broker/nativeBroker/NativeStatusCodes.d.ts +1 -1
- package/node_modules/@azure/msal-browser/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/controllers/StandardController.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/node_modules/@azure/msal-browser/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/interaction_client/PopupClient.d.ts +11 -1
- package/node_modules/@azure/msal-browser/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/interaction_client/SilentIframeClient.d.ts +20 -1
- package/node_modules/@azure/msal-browser/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/operatingcontext/BaseOperatingContext.d.ts +8 -1
- package/node_modules/@azure/msal-browser/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/packageMetadata.d.ts +1 -1
- package/node_modules/@azure/msal-browser/types/redirect_bridge/index.d.ts.map +1 -1
- package/node_modules/@azure/msal-browser/types/utils/BrowserUtils.d.ts +17 -2
- package/node_modules/@azure/msal-browser/types/utils/BrowserUtils.d.ts.map +1 -1
- package/node_modules/@azure/msal-common/dist/account/AccountInfo.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/account/AuthToken.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/account/CcsCredential.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/account/ClientInfo.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/account/TokenClaims.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/Authority.mjs +19 -6
- package/node_modules/@azure/msal-common/dist/authority/Authority.mjs.map +1 -1
- package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/AuthorityType.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/cache/CacheManager.mjs +3 -3
- package/node_modules/@azure/msal-common/dist/cache/CacheManager.mjs.map +1 -1
- package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/cache/utils/AccountEntityUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/cache/utils/CacheHelpers.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/constants/AADServerParamKeys.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/crypto/ICrypto.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/AuthError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/AuthErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/CacheError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/CacheErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/ClientAuthError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/ClientConfigurationErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.mjs +4 -4
- package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
- package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthErrorCodes.mjs +3 -3
- package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthErrorCodes.mjs.map +1 -1
- package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/JoseHeaderErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/NetworkError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/PlatformBrokerError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/error/ServerError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/index-node.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/index.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/logger/Logger.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/network/INetworkModule.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/packageMetadata.mjs +2 -2
- package/node_modules/@azure/msal-common/dist/protocol/Authorize.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/protocol/Token.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/request/ScopeSet.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/response/ResponseHandler.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvents.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/url/UrlString.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/utils/Constants.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/utils/FunctionWrappers.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/utils/StringUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/utils/TimeUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist/utils/UrlUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/account/AccountInfo.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/account/AuthToken.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/account/CcsCredential.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/account/ClientInfo.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/account/TokenClaims.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/Authority.mjs +19 -6
- package/node_modules/@azure/msal-common/dist-browser/authority/Authority.mjs.map +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/AuthorityFactory.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/AuthorityMetadata.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/AuthorityOptions.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/AuthorityType.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/OpenIdConfigResponse.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/ProtocolMode.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/authority/RegionDiscovery.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/cache/CacheManager.mjs +3 -3
- package/node_modules/@azure/msal-common/dist-browser/cache/CacheManager.mjs.map +1 -1
- package/node_modules/@azure/msal-common/dist-browser/cache/persistence/TokenCacheContext.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/cache/utils/AccountEntityUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/cache/utils/CacheHelpers.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/client/AuthorizationCodeClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/client/RefreshTokenClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/client/SilentFlowClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/config/ClientConfiguration.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/constants/AADServerParamKeys.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/crypto/ICrypto.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/crypto/JoseHeader.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/crypto/PopTokenGenerator.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/AuthError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/AuthErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/CacheError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/CacheErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/ClientAuthError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/ClientAuthErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/ClientConfigurationError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/ClientConfigurationErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/InteractionRequiredAuthError.mjs +4 -4
- package/node_modules/@azure/msal-common/dist-browser/error/InteractionRequiredAuthError.mjs.map +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/InteractionRequiredAuthErrorCodes.mjs +3 -3
- package/node_modules/@azure/msal-common/dist-browser/error/InteractionRequiredAuthErrorCodes.mjs.map +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/JoseHeaderError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/JoseHeaderErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/NetworkError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/PlatformBrokerError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/error/ServerError.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/index-browser.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/index.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/log-strings-mapping.json +2 -2
- package/node_modules/@azure/msal-common/dist-browser/logger/Logger.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/network/INetworkModule.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/network/RequestThumbprint.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/network/ThrottlingUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/packageMetadata.mjs +2 -2
- package/node_modules/@azure/msal-common/dist-browser/protocol/Authorize.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/protocol/Token.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/request/AuthenticationHeaderParser.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/request/BaseAuthRequest.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/request/RequestParameterBuilder.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/request/ScopeSet.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/response/ResponseHandler.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/telemetry/performance/PerformanceClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/telemetry/performance/PerformanceEvent.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/telemetry/performance/PerformanceEvents.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/url/UrlString.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/utils/ClientAssertionUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/utils/Constants.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/utils/FunctionWrappers.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/utils/ProtocolUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/utils/StringUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/utils/TimeUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/dist-browser/utils/UrlUtils.mjs +1 -1
- package/node_modules/@azure/msal-common/lib/index-browser.cjs +2 -2
- package/node_modules/@azure/msal-common/lib/{index-node-9_Gz5QUk.js → index-node-DHSwXao8.js} +27 -14
- package/node_modules/@azure/msal-common/lib/index-node-DHSwXao8.js.map +1 -0
- package/node_modules/@azure/msal-common/lib/index-node.cjs +2 -2
- package/node_modules/@azure/msal-common/lib/index.cjs +2 -2
- package/node_modules/@azure/msal-common/package.json +1 -1
- package/node_modules/@azure/msal-common/src/authority/Authority.ts +20 -5
- package/node_modules/@azure/msal-common/src/cache/CacheManager.ts +5 -10
- package/node_modules/@azure/msal-common/src/error/InteractionRequiredAuthError.ts +2 -2
- package/node_modules/@azure/msal-common/src/error/InteractionRequiredAuthErrorCodes.ts +1 -2
- package/node_modules/@azure/msal-common/src/packageMetadata.ts +1 -1
- package/node_modules/@azure/msal-common/types/authority/Authority.d.ts +5 -1
- package/node_modules/@azure/msal-common/types/authority/Authority.d.ts.map +1 -1
- package/node_modules/@azure/msal-common/types/cache/CacheManager.d.ts.map +1 -1
- package/node_modules/@azure/msal-common/types/error/InteractionRequiredAuthErrorCodes.d.ts +1 -1
- package/node_modules/@azure/msal-common/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +1 -1
- package/node_modules/@azure/msal-common/types/packageMetadata.d.ts +1 -1
- package/node_modules/@azure/msal-node/dist/cache/CacheHelpers.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/cache/NodeStorage.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/cache/TokenCache.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/cache/serializer/Deserializer.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/cache/serializer/Serializer.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/BaseClient.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ClientApplication.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ClientAssertion.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ClientCredentialClient.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ConfidentialClientApplication.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/DeviceCodeClient.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentityApplication.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentityClient.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/Imds.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/OnBehalfOfClient.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/PublicClientApplication.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/client/UsernamePasswordClient.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/config/Configuration.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/config/ManagedIdentityId.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/crypto/CryptoProvider.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/crypto/GuidGenerator.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/crypto/HashUtils.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/crypto/PkceGenerator.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/error/ManagedIdentityError.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/error/NodeAuthError.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/index.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/internals.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/network/HttpClient.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/network/HttpClientWithRetries.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/network/LoopbackClient.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/packageMetadata.mjs +2 -2
- package/node_modules/@azure/msal-node/dist/protocol/Authorize.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/retry/ExponentialRetryStrategy.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/retry/ImdsRetryPolicy.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/retry/LinearRetryStrategy.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/utils/Constants.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/utils/EncodingUtils.mjs +1 -1
- package/node_modules/@azure/msal-node/dist/utils/TimeUtils.mjs +1 -1
- package/node_modules/@azure/msal-node/lib/msal-node.cjs +87 -74
- package/node_modules/@azure/msal-node/lib/msal-node.cjs.map +1 -1
- package/node_modules/@azure/msal-node/package.json +2 -2
- package/node_modules/@azure/msal-node/src/packageMetadata.ts +1 -1
- package/node_modules/@azure/msal-node/types/packageMetadata.d.ts +1 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/http2.d.ts +3 -0
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/clientHelpers.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/clientHelpers.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/common.d.ts +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/common.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/getClient.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/getClient.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/multipart.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/multipart.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/restError.js +5 -4
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/restError.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/sendRequest.js +13 -10
- package/node_modules/@typespec/ts-http-runtime/dist/browser/client/sendRequest.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/constants.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/constants.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/createPipelineFromOptions.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/createPipelineFromOptions.js +2 -21
- package/node_modules/@typespec/ts-http-runtime/dist/browser/createPipelineFromOptions.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/{defaultHttpClient.d.ts → defaultHttpClient-browser.d.mts} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/{defaultHttpClient.js → defaultHttpClient-browser.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/defaultHttpClient-browser.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/encoding.d.ts +13 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/encoding.js +19 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/encoding.js.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/{util/checkEnvironment.d.ts → env-browser.d.mts} +21 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/{util/checkEnvironment.js → env-browser.mjs} +26 -12
- package/node_modules/@typespec/ts-http-runtime/dist/browser/env-browser.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/formData-web.d.mts +9 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/formData-web.mjs +12 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/formData-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/httpHeaders.js +11 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/httpHeaders.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/index.d.ts +3 -14
- package/node_modules/@typespec/ts-http-runtime/dist/browser/index.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/index.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/interfaces.d.ts +15 -14
- package/node_modules/@typespec/ts-http-runtime/dist/browser/interfaces.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/logger/debug.js +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/logger/debug.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/logger/{log.d.ts → log-web.d.mts} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/logger/{log.js → log-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/logger/log-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/logger/logger.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/logger/logger.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/pipelineRequest.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/pipelineRequest.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/basicAuthenticationPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/checkInsecureConnection.js +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/checkInsecureConnection.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/{decompressResponsePolicy.d.ts → decompressResponsePolicy-web.d.mts} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/{decompressResponsePolicy.js → decompressResponsePolicy-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/decompressResponsePolicy-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/formDataPolicy.js +5 -12
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/formDataPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/internal.d.ts +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/internal.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/internal.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/multipartPolicy.js +7 -3
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/multipartPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/platformPolicies-web.d.mts +10 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/platformPolicies-web.mjs +12 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/platformPolicies-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/platformPolicies.d.ts +25 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/platformPolicies.js +30 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/platformPolicies.js.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/proxyPolicy-web.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{react-native/policies/proxyPolicy.js → browser/policies/proxyPolicy-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/proxyPolicy-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/restError.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/restError.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/types-browser.d.mts +19 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/types-browser.mjs +4 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/types-browser.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/bytesEncoding-web.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{react-native/util/bytesEncoding.js → browser/util/bytesEncoding-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/bytesEncoding-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/bytesEncoding.common.d.ts +4 -4
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/bytesEncoding.common.js +3 -4
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/bytesEncoding.common.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/concat-browser.d.mts +16 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/{concat.js → concat-browser.mjs} +4 -11
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/concat-browser.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/inspect-web.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{react-native/util/inspect.js → browser/util/inspect-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/inspect-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/internal.d.ts +4 -4
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/internal.js +4 -4
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/internal.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/sha256-web.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{react-native/util/sha256.js → browser/util/sha256-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/sha256-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/sha256.common.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/sha256.common.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/typeGuards-browser.d.mts +14 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/typeGuards-browser.mjs +26 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/typeGuards-browser.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/typeGuards.d.ts +5 -4
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/typeGuards.js +4 -10
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/typeGuards.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/userAgent.d.ts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/userAgent.js +2 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/userAgent.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/userAgentPlatform-browser.d.mts +37 -0
- package/node_modules/{@azure/core-rest-pipeline/dist/browser/util/userAgentPlatform.js → @typespec/ts-http-runtime/dist/browser/util/userAgentPlatform-browser.mjs} +10 -11
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/userAgentPlatform-browser.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/{uuidUtils.d.ts → uuidUtils-browser.d.mts} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/{uuidUtils.js → uuidUtils-browser.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/uuidUtils-browser.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/clientHelpers.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/clientHelpers.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/common.d.ts +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/common.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/getClient.js +3 -3
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/getClient.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/multipart.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/restError.js +5 -4
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/restError.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/sendRequest.js +26 -8
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/sendRequest.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/constants.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/constants.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/createPipelineFromOptions.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/createPipelineFromOptions.js +2 -19
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/createPipelineFromOptions.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/{react-native/util/checkEnvironment.d.ts → commonjs/env.d.ts} +21 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/env.js +67 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/env.js.map +7 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/formData.d.ts +10 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/{util/arrayBuffer.js → formData.js} +19 -14
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/formData.js.map +7 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/httpHeaders.js +4 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/httpHeaders.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/index.d.ts +1 -12
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/index.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/index.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/interfaces.d.ts +15 -14
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/interfaces.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/debug.js +2 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/debug.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/logger.js +2 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/logger.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/nodeHttpClient.js +3 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/nodeHttpClient.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/pipelineRequest.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/pipelineRequest.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/basicAuthenticationPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/checkInsecureConnection.js +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/checkInsecureConnection.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/formDataPolicy.js +4 -11
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/formDataPolicy.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/internal.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/internal.js +7 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/internal.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/multipartPolicy.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/multipartPolicy.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/platformPolicies.d.ts +25 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/platformPolicies.js +43 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/platformPolicies.js.map +7 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/restError.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/tsdoc-metadata.json +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/types.d.ts +19 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/types.js +16 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/types.js.map +7 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/concat.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/concat.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/internal.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/internal.js +10 -10
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/internal.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/typeGuards-node.d.ts +13 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/{logger/log.common.js → util/typeGuards-node.js} +14 -21
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/typeGuards-node.js.map +7 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/typeGuards.d.ts +5 -4
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/typeGuards.js +6 -13
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/typeGuards.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/userAgent.d.ts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/userAgent.js +7 -5
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/userAgent.js.map +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/clientHelpers.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/common.d.ts +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/common.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/getClient.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/getClient.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/multipart.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/restError.js +5 -4
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/restError.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/sendRequest.js +13 -10
- package/node_modules/@typespec/ts-http-runtime/dist/esm/client/sendRequest.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/constants.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/constants.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/createPipelineFromOptions.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/createPipelineFromOptions.js +2 -21
- package/node_modules/@typespec/ts-http-runtime/dist/esm/createPipelineFromOptions.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/{commonjs/util/checkEnvironment.d.ts → esm/env.d.ts} +21 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/env.js +48 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/env.js.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/formData.d.ts +10 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/formData.js +26 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/formData.js.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/httpHeaders.js +11 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/httpHeaders.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/index.d.ts +1 -12
- package/node_modules/@typespec/ts-http-runtime/dist/esm/index.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/interfaces.d.ts +15 -14
- package/node_modules/@typespec/ts-http-runtime/dist/esm/interfaces.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/logger/debug.js +2 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/logger/debug.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/logger/logger.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/esm/logger/logger.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/nodeHttpClient.js +3 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/nodeHttpClient.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/pipelineRequest.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/basicAuthenticationPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/checkInsecureConnection.js +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/checkInsecureConnection.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/formDataPolicy.js +4 -11
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/formDataPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/internal.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/internal.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/internal.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/multipartPolicy.js +4 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/multipartPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/platformPolicies.d.ts +25 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/platformPolicies.js +30 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/platformPolicies.js.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/restError.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/types.d.ts +19 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/types.js +4 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/types.js.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/concat.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/concat.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/internal.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/internal.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/internal.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/typeGuards-node.d.ts +13 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/typeGuards-node.js +20 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/typeGuards-node.js.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/typeGuards.d.ts +5 -4
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/typeGuards.js +4 -10
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/typeGuards.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/userAgent.d.ts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/userAgent.js +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/userAgent.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/clientHelpers.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/clientHelpers.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/common.d.ts +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/common.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/getClient.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/getClient.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/multipart.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/multipart.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/restError.js +5 -4
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/restError.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/sendRequest.js +13 -10
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/client/sendRequest.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/constants.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/constants.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/createPipelineFromOptions.d.ts +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/createPipelineFromOptions.js +2 -21
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/createPipelineFromOptions.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/{defaultHttpClient.d.ts → defaultHttpClient-react-native.d.mts} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/{defaultHttpClient.js → defaultHttpClient-react-native.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/defaultHttpClient-react-native.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/encoding-react-native.d.mts +21 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/encoding-react-native.mjs +25 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/encoding-react-native.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{esm/util/checkEnvironment.d.ts → react-native/env-react-native.d.mts} +21 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/env-react-native.mjs +50 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/env-react-native.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/formData-web.d.mts +9 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/formData-web.mjs +12 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/formData-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/httpHeaders.js +11 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/httpHeaders.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/index.d.ts +3 -14
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/index.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/index.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/interfaces.d.ts +15 -14
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/interfaces.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/debug.js +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/debug.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/{log.d.ts → log-web.d.mts} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/{log.js → log-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/log-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/logger.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/logger.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/pipelineRequest.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/pipelineRequest.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/basicAuthenticationPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/checkInsecureConnection.js +3 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/checkInsecureConnection.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/decompressResponsePolicy-web.d.mts +8 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/decompressResponsePolicy-web.mjs +11 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/decompressResponsePolicy-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/formDataPolicy.js +5 -12
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/formDataPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/internal.d.ts +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/internal.js +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/internal.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/multipartPolicy.js +7 -3
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/multipartPolicy.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/platformPolicies-web.d.mts +10 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/platformPolicies-web.mjs +12 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/platformPolicies-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/platformPolicies.d.ts +25 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/platformPolicies.js +30 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/platformPolicies.js.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/proxyPolicy-web.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{browser/policies/proxyPolicy.js → react-native/policies/proxyPolicy-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/proxyPolicy-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/restError.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/restError.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/types-react-native.d.mts +19 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/types-react-native.mjs +4 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/types-react-native.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/bytesEncoding-web.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{browser/util/bytesEncoding.js → react-native/util/bytesEncoding-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/bytesEncoding-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/bytesEncoding.common.d.ts +4 -4
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/bytesEncoding.common.js +3 -4
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/bytesEncoding.common.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/{concat.d.ts → concat-react-native.d.mts} +10 -3
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/{concat.js → concat-react-native.mjs} +2 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/concat-react-native.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/inspect-web.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{browser/util/inspect.js → react-native/util/inspect-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/inspect-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/internal.d.ts +4 -4
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/internal.js +4 -4
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/internal.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/sha256-web.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/{browser/util/sha256.js → react-native/util/sha256-web.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/sha256-web.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/sha256.common.js +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/sha256.common.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/typeGuards-react-native.d.mts +16 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/typeGuards-react-native.mjs +34 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/typeGuards-react-native.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/typeGuards.d.ts +5 -4
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/typeGuards.js +4 -10
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/typeGuards.js.map +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/userAgent.d.ts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/userAgent.js +2 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/userAgent.js.map +1 -1
- package/node_modules/{@azure/core-rest-pipeline/dist/react-native/util/userAgentPlatform.d.ts → @typespec/ts-http-runtime/dist/react-native/util/userAgentPlatform-react-native.d.mts} +1 -1
- package/node_modules/{@azure/core-rest-pipeline/dist/react-native/util/userAgentPlatform.js → @typespec/ts-http-runtime/dist/react-native/util/userAgentPlatform-react-native.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/userAgentPlatform-react-native.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/uuidUtils-react-native.d.mts +2 -0
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/{uuidUtils.js → uuidUtils-react-native.mjs} +1 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/uuidUtils-react-native.mjs.map +1 -0
- package/node_modules/@typespec/ts-http-runtime/package.json +94 -8
- package/node_modules/semver/classes/semver.js +19 -2
- package/node_modules/semver/package.json +1 -1
- package/npm-shrinkwrap.json +29 -29
- package/package.json +4 -4
- package/dist/contract-api.js +0 -2
- package/dist/secret-contract-CSs7JYzG.js +0 -35
- package/node_modules/@azure/core-client/dist/browser/base64-browser.mjs.map +0 -1
- package/node_modules/@azure/core-client/dist/browser/state-browser.mjs.map +0 -1
- package/node_modules/@azure/core-client/dist/commonjs/state-cjs.cjs.map +0 -1
- package/node_modules/@azure/core-client/dist/commonjs/state.d.ts +0 -7
- package/node_modules/@azure/core-client/dist/react-native/state.d.ts +0 -8
- package/node_modules/@azure/core-client/dist/react-native/state.js +0 -10
- package/node_modules/@azure/core-client/dist/react-native/state.js.map +0 -1
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/userAgentPlatform.d.ts +0 -9
- package/node_modules/@azure/core-rest-pipeline/dist/browser/util/userAgentPlatform.js.map +0 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/userAgentPlatform.js.map +0 -1
- package/node_modules/@azure/core-rest-pipeline/dist/react-native/util/wrapAbortSignal.js.map +0 -1
- package/node_modules/@azure/msal-common/lib/index-node-9_Gz5QUk.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/defaultHttpClient.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/logger/log.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/nodeHttpClient.d.ts +0 -9
- package/node_modules/@typespec/ts-http-runtime/dist/browser/nodeHttpClient.js +0 -347
- package/node_modules/@typespec/ts-http-runtime/dist/browser/nodeHttpClient.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/decompressResponsePolicy.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/proxyPolicy.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/policies/proxyPolicy.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/bytesEncoding.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/bytesEncoding.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/checkEnvironment.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/concat.d.ts +0 -17
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/concat.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/inspect.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/inspect.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/sha256.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/sha256.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/userAgentPlatform.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/util/uuidUtils.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/browser/xhrHttpClient.d.ts +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/browser/xhrHttpClient.js +0 -174
- package/node_modules/@typespec/ts-http-runtime/dist/browser/xhrHttpClient.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/fetchHttpClient.d.ts +0 -12
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/fetchHttpClient.js +0 -238
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/fetchHttpClient.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/log.common.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/log.common.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/proxyPolicy.common.d.ts +0 -19
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/proxyPolicy.common.js +0 -44
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/proxyPolicy.common.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/arrayBuffer.d.ts +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/arrayBuffer.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/bytesEncoding.common.d.ts +0 -61
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/bytesEncoding.common.js +0 -106
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/bytesEncoding.common.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/checkEnvironment.js +0 -46
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/checkEnvironment.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/inspect.common.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/inspect.common.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/sha256.common.d.ts +0 -14
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/sha256.common.js +0 -70
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/sha256.common.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/uuidUtils.common.d.ts +0 -13
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/uuidUtils.common.js +0 -49
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/uuidUtils.common.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/xhrHttpClient.d.ts +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/xhrHttpClient.js +0 -186
- package/node_modules/@typespec/ts-http-runtime/dist/commonjs/xhrHttpClient.js.map +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/esm/fetchHttpClient.d.ts +0 -12
- package/node_modules/@typespec/ts-http-runtime/dist/esm/fetchHttpClient.js +0 -279
- package/node_modules/@typespec/ts-http-runtime/dist/esm/fetchHttpClient.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/logger/log.common.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/esm/logger/log.common.js +0 -23
- package/node_modules/@typespec/ts-http-runtime/dist/esm/logger/log.common.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/proxyPolicy.common.d.ts +0 -19
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/proxyPolicy.common.js +0 -24
- package/node_modules/@typespec/ts-http-runtime/dist/esm/policies/proxyPolicy.common.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/arrayBuffer.d.ts +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/arrayBuffer.js +0 -20
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/arrayBuffer.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/bytesEncoding.common.d.ts +0 -61
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/bytesEncoding.common.js +0 -110
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/bytesEncoding.common.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/checkEnvironment.js +0 -41
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/checkEnvironment.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/inspect.common.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/inspect.common.js +0 -4
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/inspect.common.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/sha256.common.d.ts +0 -14
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/sha256.common.js +0 -49
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/sha256.common.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/uuidUtils.common.d.ts +0 -13
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/uuidUtils.common.js +0 -40
- package/node_modules/@typespec/ts-http-runtime/dist/esm/util/uuidUtils.common.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/esm/xhrHttpClient.d.ts +0 -7
- package/node_modules/@typespec/ts-http-runtime/dist/esm/xhrHttpClient.js +0 -174
- package/node_modules/@typespec/ts-http-runtime/dist/esm/xhrHttpClient.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/defaultHttpClient.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/fetchHttpClient.d.ts +0 -12
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/fetchHttpClient.js +0 -279
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/fetchHttpClient.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/log.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/nodeHttpClient.d.ts +0 -9
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/nodeHttpClient.js +0 -347
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/nodeHttpClient.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/decompressResponsePolicy.d.ts +0 -11
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/decompressResponsePolicy.js +0 -23
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/decompressResponsePolicy.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/proxyPolicy.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/proxyPolicy.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/bytesEncoding.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/bytesEncoding.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/checkEnvironment.js +0 -41
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/checkEnvironment.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/concat.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/inspect.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/inspect.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/sha256.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/sha256.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/userAgentPlatform.js.map +0 -1
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/uuidUtils.d.ts +0 -2
- package/node_modules/@typespec/ts-http-runtime/dist/react-native/util/uuidUtils.js.map +0 -1
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
import { AbortError } from "./abort-controller/AbortError.js";
|
|
4
|
-
import { RestError } from "./restError.js";
|
|
5
|
-
import { createHttpHeaders } from "./httpHeaders.js";
|
|
6
|
-
import { isNodeReadableStream, isWebReadableStream } from "./util/typeGuards.js";
|
|
7
|
-
import { arrayBufferViewToArrayBuffer } from "./util/arrayBuffer.js";
|
|
8
|
-
/**
|
|
9
|
-
* Checks if the body is a Blob or Blob-like
|
|
10
|
-
*/
|
|
11
|
-
function isBlob(body) {
|
|
12
|
-
// File objects count as a type of Blob, so we want to use instanceof explicitly
|
|
13
|
-
return (typeof Blob === "function" || typeof Blob === "object") && body instanceof Blob;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* A HttpClient implementation that uses window.fetch to send HTTP requests.
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
|
-
class FetchHttpClient {
|
|
20
|
-
/**
|
|
21
|
-
* Makes a request over an underlying transport layer and returns the response.
|
|
22
|
-
* @param request - The request to be made.
|
|
23
|
-
*/
|
|
24
|
-
async sendRequest(request) {
|
|
25
|
-
const url = new URL(request.url);
|
|
26
|
-
const isInsecure = url.protocol !== "https:";
|
|
27
|
-
if (isInsecure && !request.allowInsecureConnection) {
|
|
28
|
-
throw new Error(`Cannot connect to ${request.url} while allowInsecureConnection is false.`);
|
|
29
|
-
}
|
|
30
|
-
if (request.proxySettings) {
|
|
31
|
-
throw new Error("HTTP proxy is not supported in browser environment");
|
|
32
|
-
}
|
|
33
|
-
try {
|
|
34
|
-
return await makeRequest(request);
|
|
35
|
-
}
|
|
36
|
-
catch (e) {
|
|
37
|
-
throw getError(e, request);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Sends a request
|
|
43
|
-
*/
|
|
44
|
-
async function makeRequest(request) {
|
|
45
|
-
const { abortController, abortControllerCleanup } = setupAbortSignal(request);
|
|
46
|
-
try {
|
|
47
|
-
const headers = buildFetchHeaders(request.headers);
|
|
48
|
-
const { streaming, body: requestBody } = buildRequestBody(request);
|
|
49
|
-
const requestInit = {
|
|
50
|
-
body: requestBody,
|
|
51
|
-
method: request.method,
|
|
52
|
-
headers: headers,
|
|
53
|
-
signal: abortController.signal,
|
|
54
|
-
// Cloudflare doesn't implement the full Fetch API spec
|
|
55
|
-
// because of some of it doesn't make sense in the edge.
|
|
56
|
-
// See https://github.com/cloudflare/workerd/issues/902
|
|
57
|
-
...("credentials" in Request.prototype
|
|
58
|
-
? { credentials: request.withCredentials ? "include" : "same-origin" }
|
|
59
|
-
: {}),
|
|
60
|
-
...("cache" in Request.prototype ? { cache: "no-store" } : {}),
|
|
61
|
-
};
|
|
62
|
-
// According to https://fetch.spec.whatwg.org/#fetch-method,
|
|
63
|
-
// init.duplex must be set when body is a ReadableStream object.
|
|
64
|
-
// currently "half" is the only valid value.
|
|
65
|
-
if (streaming) {
|
|
66
|
-
requestInit.duplex = "half";
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Developers of the future:
|
|
70
|
-
* Do not set redirect: "manual" as part
|
|
71
|
-
* of request options.
|
|
72
|
-
* It will not work as you expect.
|
|
73
|
-
*/
|
|
74
|
-
const response = await fetch(request.url, {
|
|
75
|
-
...requestInit,
|
|
76
|
-
...request.requestOverrides,
|
|
77
|
-
});
|
|
78
|
-
// If we're uploading a blob, we need to fire the progress event manually
|
|
79
|
-
if (isBlob(request.body) && request.onUploadProgress) {
|
|
80
|
-
request.onUploadProgress({ loadedBytes: request.body.size });
|
|
81
|
-
}
|
|
82
|
-
return buildPipelineResponse(response, request, abortControllerCleanup);
|
|
83
|
-
}
|
|
84
|
-
catch (e) {
|
|
85
|
-
abortControllerCleanup?.();
|
|
86
|
-
throw e;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Creates a pipeline response from a Fetch response;
|
|
91
|
-
*/
|
|
92
|
-
async function buildPipelineResponse(httpResponse, request, abortControllerCleanup) {
|
|
93
|
-
const headers = buildPipelineHeaders(httpResponse);
|
|
94
|
-
const response = {
|
|
95
|
-
request,
|
|
96
|
-
headers,
|
|
97
|
-
status: httpResponse.status,
|
|
98
|
-
};
|
|
99
|
-
const bodyStream = isWebReadableStream(httpResponse.body)
|
|
100
|
-
? buildBodyStream(httpResponse.body, {
|
|
101
|
-
onProgress: request.onDownloadProgress,
|
|
102
|
-
onEnd: abortControllerCleanup,
|
|
103
|
-
})
|
|
104
|
-
: httpResponse.body;
|
|
105
|
-
if (
|
|
106
|
-
// Value of POSITIVE_INFINITY in streamResponseStatusCodes is considered as any status code
|
|
107
|
-
request.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY) ||
|
|
108
|
-
request.streamResponseStatusCodes?.has(response.status)) {
|
|
109
|
-
if (request.enableBrowserStreams) {
|
|
110
|
-
response.browserStreamBody = bodyStream ?? undefined;
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
const responseStream = new Response(bodyStream);
|
|
114
|
-
response.blobBody = responseStream.blob();
|
|
115
|
-
abortControllerCleanup?.();
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
const responseStream = new Response(bodyStream);
|
|
120
|
-
response.bodyAsText = await responseStream.text();
|
|
121
|
-
abortControllerCleanup?.();
|
|
122
|
-
}
|
|
123
|
-
return response;
|
|
124
|
-
}
|
|
125
|
-
function setupAbortSignal(request) {
|
|
126
|
-
const abortController = new AbortController();
|
|
127
|
-
// Cleanup function
|
|
128
|
-
let abortControllerCleanup;
|
|
129
|
-
/**
|
|
130
|
-
* Attach an abort listener to the request
|
|
131
|
-
*/
|
|
132
|
-
let abortListener;
|
|
133
|
-
if (request.abortSignal) {
|
|
134
|
-
if (request.abortSignal.aborted) {
|
|
135
|
-
throw new AbortError("The operation was aborted. Request has already been canceled.");
|
|
136
|
-
}
|
|
137
|
-
abortListener = (event) => {
|
|
138
|
-
if (event.type === "abort") {
|
|
139
|
-
abortController.abort();
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
request.abortSignal.addEventListener("abort", abortListener);
|
|
143
|
-
abortControllerCleanup = () => {
|
|
144
|
-
if (abortListener) {
|
|
145
|
-
request.abortSignal?.removeEventListener("abort", abortListener);
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
// If a timeout was passed, call the abort signal once the time elapses
|
|
150
|
-
if (request.timeout > 0) {
|
|
151
|
-
setTimeout(() => {
|
|
152
|
-
abortController.abort();
|
|
153
|
-
}, request.timeout);
|
|
154
|
-
}
|
|
155
|
-
return { abortController, abortControllerCleanup };
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Gets the specific error
|
|
159
|
-
*/
|
|
160
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters
|
|
161
|
-
function getError(e, request) {
|
|
162
|
-
if (e && e?.name === "AbortError") {
|
|
163
|
-
return e;
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
return new RestError(`Error sending request: ${e.message}`, {
|
|
167
|
-
code: e?.code ?? RestError.REQUEST_SEND_ERROR,
|
|
168
|
-
request,
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Converts PipelineRequest headers to Fetch headers
|
|
174
|
-
*/
|
|
175
|
-
function buildFetchHeaders(pipelineHeaders) {
|
|
176
|
-
const headers = new Headers();
|
|
177
|
-
for (const [name, value] of pipelineHeaders) {
|
|
178
|
-
headers.append(name, value);
|
|
179
|
-
}
|
|
180
|
-
return headers;
|
|
181
|
-
}
|
|
182
|
-
function buildPipelineHeaders(httpResponse) {
|
|
183
|
-
const responseHeaders = createHttpHeaders();
|
|
184
|
-
for (const [name, value] of httpResponse.headers) {
|
|
185
|
-
responseHeaders.set(name, value);
|
|
186
|
-
}
|
|
187
|
-
return responseHeaders;
|
|
188
|
-
}
|
|
189
|
-
function buildRequestBody(request) {
|
|
190
|
-
const body = typeof request.body === "function" ? request.body() : request.body;
|
|
191
|
-
if (isNodeReadableStream(body)) {
|
|
192
|
-
throw new Error("Node streams are not supported in browser environment.");
|
|
193
|
-
}
|
|
194
|
-
if (isWebReadableStream(body)) {
|
|
195
|
-
return {
|
|
196
|
-
streaming: true,
|
|
197
|
-
body: buildBodyStream(body, { onProgress: request.onUploadProgress }),
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
else if (typeof body === "object" && body && "buffer" in body) {
|
|
201
|
-
// ArrayBufferView
|
|
202
|
-
return { streaming: false, body: arrayBufferViewToArrayBuffer(body) };
|
|
203
|
-
}
|
|
204
|
-
else if (body === undefined) {
|
|
205
|
-
return { streaming: false };
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
return { streaming: false, body };
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* Reads the request/response original stream and stream it through a new
|
|
213
|
-
* ReadableStream, this is done to be able to report progress in a way that
|
|
214
|
-
* all modern browsers support. TransformStreams would be an alternative,
|
|
215
|
-
* however they are not yet supported by all browsers i.e Firefox
|
|
216
|
-
*/
|
|
217
|
-
function buildBodyStream(readableStream, options = {}) {
|
|
218
|
-
let loadedBytes = 0;
|
|
219
|
-
const { onProgress, onEnd } = options;
|
|
220
|
-
// If the current browser supports pipeThrough we use a TransformStream
|
|
221
|
-
// to report progress
|
|
222
|
-
if (isTransformStreamSupported(readableStream)) {
|
|
223
|
-
return readableStream.pipeThrough(new TransformStream({
|
|
224
|
-
transform(chunk, controller) {
|
|
225
|
-
if (chunk === null) {
|
|
226
|
-
controller.terminate();
|
|
227
|
-
return;
|
|
228
|
-
}
|
|
229
|
-
controller.enqueue(chunk);
|
|
230
|
-
loadedBytes += chunk.length;
|
|
231
|
-
if (onProgress) {
|
|
232
|
-
onProgress({ loadedBytes });
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
flush() {
|
|
236
|
-
onEnd?.();
|
|
237
|
-
},
|
|
238
|
-
}));
|
|
239
|
-
}
|
|
240
|
-
else {
|
|
241
|
-
// If we can't use transform streams, wrap the original stream in a new readable stream
|
|
242
|
-
// and use pull to enqueue each chunk and report progress.
|
|
243
|
-
const reader = readableStream.getReader();
|
|
244
|
-
return new ReadableStream({
|
|
245
|
-
async pull(controller) {
|
|
246
|
-
const { done, value } = await reader.read();
|
|
247
|
-
// When no more data needs to be consumed, break the reading
|
|
248
|
-
if (done || !value) {
|
|
249
|
-
onEnd?.();
|
|
250
|
-
// Close the stream
|
|
251
|
-
controller.close();
|
|
252
|
-
reader.releaseLock();
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
loadedBytes += value?.length ?? 0;
|
|
256
|
-
// Enqueue the next data chunk into our target stream
|
|
257
|
-
controller.enqueue(value);
|
|
258
|
-
if (onProgress) {
|
|
259
|
-
onProgress({ loadedBytes });
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
cancel(reason) {
|
|
263
|
-
onEnd?.();
|
|
264
|
-
return reader.cancel(reason);
|
|
265
|
-
},
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
/**
|
|
270
|
-
* Create a new HttpClient instance for the browser environment.
|
|
271
|
-
* @internal
|
|
272
|
-
*/
|
|
273
|
-
export function createFetchHttpClient() {
|
|
274
|
-
return new FetchHttpClient();
|
|
275
|
-
}
|
|
276
|
-
function isTransformStreamSupported(readableStream) {
|
|
277
|
-
return readableStream.pipeThrough !== undefined && self.TransformStream !== undefined;
|
|
278
|
-
}
|
|
279
|
-
//# sourceMappingURL=fetchHttpClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetchHttpClient.js","sourceRoot":"","sources":["../../src/fetchHttpClient.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AbortError } from \"./abort-controller/AbortError.js\";\nimport type {\n HttpClient,\n HttpHeaders as PipelineHeaders,\n PipelineRequest,\n PipelineResponse,\n TransferProgressEvent,\n} from \"./interfaces.js\";\nimport { RestError } from \"./restError.js\";\nimport { createHttpHeaders } from \"./httpHeaders.js\";\nimport { isNodeReadableStream, isWebReadableStream } from \"./util/typeGuards.js\";\nimport { arrayBufferViewToArrayBuffer } from \"./util/arrayBuffer.js\";\n\n// The Fetch spec requires `duplex: \"half\"` when body is a ReadableStream,\n// but TypeScript's lib.dom.d.ts hasn't added it to RequestInit yet.\ndeclare global {\n interface RequestInit {\n duplex?: \"half\";\n }\n}\n\n/**\n * Checks if the body is a Blob or Blob-like\n */\nfunction isBlob(body: unknown): body is Blob {\n // File objects count as a type of Blob, so we want to use instanceof explicitly\n return (typeof Blob === \"function\" || typeof Blob === \"object\") && body instanceof Blob;\n}\n\n/**\n * A HttpClient implementation that uses window.fetch to send HTTP requests.\n * @internal\n */\nclass FetchHttpClient implements HttpClient {\n /**\n * Makes a request over an underlying transport layer and returns the response.\n * @param request - The request to be made.\n */\n public async sendRequest(request: PipelineRequest): Promise<PipelineResponse> {\n const url = new URL(request.url);\n const isInsecure = url.protocol !== \"https:\";\n\n if (isInsecure && !request.allowInsecureConnection) {\n throw new Error(`Cannot connect to ${request.url} while allowInsecureConnection is false.`);\n }\n\n if (request.proxySettings) {\n throw new Error(\"HTTP proxy is not supported in browser environment\");\n }\n\n try {\n return await makeRequest(request);\n } catch (e: any) {\n throw getError(e, request);\n }\n }\n}\n\n/**\n * Sends a request\n */\nasync function makeRequest(request: PipelineRequest): Promise<PipelineResponse> {\n const { abortController, abortControllerCleanup } = setupAbortSignal(request);\n try {\n const headers = buildFetchHeaders(request.headers);\n const { streaming, body: requestBody } = buildRequestBody(request);\n const requestInit: RequestInit = {\n body: requestBody,\n method: request.method,\n headers: headers,\n signal: abortController.signal,\n // Cloudflare doesn't implement the full Fetch API spec\n // because of some of it doesn't make sense in the edge.\n // See https://github.com/cloudflare/workerd/issues/902\n ...(\"credentials\" in Request.prototype\n ? { credentials: request.withCredentials ? \"include\" : \"same-origin\" }\n : {}),\n ...(\"cache\" in Request.prototype ? { cache: \"no-store\" } : {}),\n };\n\n // According to https://fetch.spec.whatwg.org/#fetch-method,\n // init.duplex must be set when body is a ReadableStream object.\n // currently \"half\" is the only valid value.\n if (streaming) {\n requestInit.duplex = \"half\";\n }\n /**\n * Developers of the future:\n * Do not set redirect: \"manual\" as part\n * of request options.\n * It will not work as you expect.\n */\n const response = await fetch(request.url, {\n ...requestInit,\n ...request.requestOverrides,\n });\n // If we're uploading a blob, we need to fire the progress event manually\n if (isBlob(request.body) && request.onUploadProgress) {\n request.onUploadProgress({ loadedBytes: request.body.size });\n }\n return buildPipelineResponse(response, request, abortControllerCleanup);\n } catch (e) {\n abortControllerCleanup?.();\n throw e;\n }\n}\n\n/**\n * Creates a pipeline response from a Fetch response;\n */\nasync function buildPipelineResponse(\n httpResponse: Response,\n request: PipelineRequest,\n abortControllerCleanup?: () => void,\n): Promise<PipelineResponse> {\n const headers = buildPipelineHeaders(httpResponse);\n const response: PipelineResponse = {\n request,\n headers,\n status: httpResponse.status,\n };\n\n const bodyStream = isWebReadableStream(httpResponse.body)\n ? buildBodyStream(httpResponse.body, {\n onProgress: request.onDownloadProgress,\n onEnd: abortControllerCleanup,\n })\n : httpResponse.body;\n\n if (\n // Value of POSITIVE_INFINITY in streamResponseStatusCodes is considered as any status code\n request.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY) ||\n request.streamResponseStatusCodes?.has(response.status)\n ) {\n if (request.enableBrowserStreams) {\n response.browserStreamBody = bodyStream ?? undefined;\n } else {\n const responseStream = new Response(bodyStream);\n response.blobBody = responseStream.blob();\n abortControllerCleanup?.();\n }\n } else {\n const responseStream = new Response(bodyStream);\n\n response.bodyAsText = await responseStream.text();\n abortControllerCleanup?.();\n }\n\n return response;\n}\n\nfunction setupAbortSignal(request: PipelineRequest): {\n abortController: AbortController;\n abortControllerCleanup: (() => void) | undefined;\n} {\n const abortController = new AbortController();\n\n // Cleanup function\n let abortControllerCleanup: (() => void) | undefined;\n\n /**\n * Attach an abort listener to the request\n */\n let abortListener: ((event: any) => void) | undefined;\n if (request.abortSignal) {\n if (request.abortSignal.aborted) {\n throw new AbortError(\"The operation was aborted. Request has already been canceled.\");\n }\n\n abortListener = (event: Event) => {\n if (event.type === \"abort\") {\n abortController.abort();\n }\n };\n request.abortSignal.addEventListener(\"abort\", abortListener);\n abortControllerCleanup = () => {\n if (abortListener) {\n request.abortSignal?.removeEventListener(\"abort\", abortListener);\n }\n };\n }\n\n // If a timeout was passed, call the abort signal once the time elapses\n if (request.timeout > 0) {\n setTimeout(() => {\n abortController.abort();\n }, request.timeout);\n }\n\n return { abortController, abortControllerCleanup };\n}\n\n/**\n * Gets the specific error\n */\n// eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\nfunction getError(e: RestError, request: PipelineRequest): RestError {\n if (e && e?.name === \"AbortError\") {\n return e;\n } else {\n return new RestError(`Error sending request: ${e.message}`, {\n code: e?.code ?? RestError.REQUEST_SEND_ERROR,\n request,\n });\n }\n}\n\n/**\n * Converts PipelineRequest headers to Fetch headers\n */\nfunction buildFetchHeaders(pipelineHeaders: PipelineHeaders): Headers {\n const headers = new Headers();\n for (const [name, value] of pipelineHeaders) {\n headers.append(name, value);\n }\n\n return headers;\n}\n\nfunction buildPipelineHeaders(httpResponse: Response): PipelineHeaders {\n const responseHeaders = createHttpHeaders();\n for (const [name, value] of httpResponse.headers) {\n responseHeaders.set(name, value);\n }\n\n return responseHeaders;\n}\n\ninterface BuildRequestBodyResponse {\n body?: BodyInit | null;\n streaming: boolean;\n}\n\nfunction buildRequestBody(request: PipelineRequest): BuildRequestBodyResponse {\n const body = typeof request.body === \"function\" ? request.body() : request.body;\n if (isNodeReadableStream(body)) {\n throw new Error(\"Node streams are not supported in browser environment.\");\n }\n\n if (isWebReadableStream(body)) {\n return {\n streaming: true,\n body: buildBodyStream(body, { onProgress: request.onUploadProgress }),\n };\n } else if (typeof body === \"object\" && body && \"buffer\" in body) {\n // ArrayBufferView\n return { streaming: false, body: arrayBufferViewToArrayBuffer(body) };\n } else if (body === undefined) {\n return { streaming: false };\n } else {\n return { streaming: false, body };\n }\n}\n\n/**\n * Reads the request/response original stream and stream it through a new\n * ReadableStream, this is done to be able to report progress in a way that\n * all modern browsers support. TransformStreams would be an alternative,\n * however they are not yet supported by all browsers i.e Firefox\n */\nfunction buildBodyStream(\n readableStream: ReadableStream<Uint8Array>,\n options: { onProgress?: (progress: TransferProgressEvent) => void; onEnd?: () => void } = {},\n): ReadableStream<Uint8Array> {\n let loadedBytes = 0;\n const { onProgress, onEnd } = options;\n\n // If the current browser supports pipeThrough we use a TransformStream\n // to report progress\n if (isTransformStreamSupported(readableStream)) {\n return readableStream.pipeThrough(\n new TransformStream({\n transform(chunk, controller) {\n if (chunk === null) {\n controller.terminate();\n return;\n }\n\n controller.enqueue(chunk);\n loadedBytes += chunk.length;\n if (onProgress) {\n onProgress({ loadedBytes });\n }\n },\n flush() {\n onEnd?.();\n },\n }),\n );\n } else {\n // If we can't use transform streams, wrap the original stream in a new readable stream\n // and use pull to enqueue each chunk and report progress.\n const reader = readableStream.getReader();\n return new ReadableStream({\n async pull(controller) {\n const { done, value } = await reader.read();\n // When no more data needs to be consumed, break the reading\n if (done || !value) {\n onEnd?.();\n // Close the stream\n controller.close();\n reader.releaseLock();\n return;\n }\n\n loadedBytes += value?.length ?? 0;\n\n // Enqueue the next data chunk into our target stream\n controller.enqueue(value);\n\n if (onProgress) {\n onProgress({ loadedBytes });\n }\n },\n cancel(reason?: string) {\n onEnd?.();\n return reader.cancel(reason);\n },\n });\n }\n}\n\n/**\n * Create a new HttpClient instance for the browser environment.\n * @internal\n */\nexport function createFetchHttpClient(): HttpClient {\n return new FetchHttpClient();\n}\n\nfunction isTransformStreamSupported(readableStream: ReadableStream): boolean {\n return readableStream.pipeThrough !== undefined && self.TransformStream !== undefined;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../src/logger/log.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { log } from \"./log.common.js\";\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { HttpClient, RequestBodyType } from "./interfaces.js";
|
|
2
|
-
/** @internal */
|
|
3
|
-
export declare function getBodyLength(body: RequestBodyType): number | null;
|
|
4
|
-
/**
|
|
5
|
-
* Create a new HttpClient instance for the NodeJS environment.
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export declare function createNodeHttpClient(): HttpClient;
|
|
9
|
-
//# sourceMappingURL=nodeHttpClient.d.ts.map
|
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
import http from "node:http";
|
|
4
|
-
import https from "node:https";
|
|
5
|
-
import zlib from "node:zlib";
|
|
6
|
-
import { Transform } from "node:stream";
|
|
7
|
-
import { AbortError } from "./abort-controller/AbortError.js";
|
|
8
|
-
import { createHttpHeaders } from "./httpHeaders.js";
|
|
9
|
-
import { RestError } from "./restError.js";
|
|
10
|
-
import { logger } from "./log.js";
|
|
11
|
-
import { Sanitizer } from "./util/sanitizer.js";
|
|
12
|
-
const DEFAULT_TLS_SETTINGS = {};
|
|
13
|
-
function isReadableStream(body) {
|
|
14
|
-
return body && typeof body.pipe === "function";
|
|
15
|
-
}
|
|
16
|
-
function isStreamComplete(stream) {
|
|
17
|
-
if (stream.readable === false) {
|
|
18
|
-
return Promise.resolve();
|
|
19
|
-
}
|
|
20
|
-
return new Promise((resolve) => {
|
|
21
|
-
const handler = () => {
|
|
22
|
-
resolve();
|
|
23
|
-
stream.removeListener("close", handler);
|
|
24
|
-
stream.removeListener("end", handler);
|
|
25
|
-
stream.removeListener("error", handler);
|
|
26
|
-
};
|
|
27
|
-
stream.on("close", handler);
|
|
28
|
-
stream.on("end", handler);
|
|
29
|
-
stream.on("error", handler);
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
function isArrayBuffer(body) {
|
|
33
|
-
return body && typeof body.byteLength === "number";
|
|
34
|
-
}
|
|
35
|
-
class ReportTransform extends Transform {
|
|
36
|
-
loadedBytes = 0;
|
|
37
|
-
progressCallback;
|
|
38
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
39
|
-
_transform(chunk, _encoding, callback) {
|
|
40
|
-
this.push(chunk);
|
|
41
|
-
this.loadedBytes += chunk.length;
|
|
42
|
-
try {
|
|
43
|
-
this.progressCallback({ loadedBytes: this.loadedBytes });
|
|
44
|
-
callback();
|
|
45
|
-
}
|
|
46
|
-
catch (e) {
|
|
47
|
-
callback(e);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
constructor(progressCallback) {
|
|
51
|
-
super();
|
|
52
|
-
this.progressCallback = progressCallback;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* A HttpClient implementation that uses Node's "https" module to send HTTPS requests.
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
class NodeHttpClient {
|
|
60
|
-
cachedHttpAgent;
|
|
61
|
-
cachedHttpsAgents = new WeakMap();
|
|
62
|
-
/**
|
|
63
|
-
* Makes a request over an underlying transport layer and returns the response.
|
|
64
|
-
* @param request - The request to be made.
|
|
65
|
-
*/
|
|
66
|
-
async sendRequest(request) {
|
|
67
|
-
const abortController = new AbortController();
|
|
68
|
-
let abortListener;
|
|
69
|
-
if (request.abortSignal) {
|
|
70
|
-
if (request.abortSignal.aborted) {
|
|
71
|
-
throw new AbortError("The operation was aborted. Request has already been canceled.");
|
|
72
|
-
}
|
|
73
|
-
abortListener = (event) => {
|
|
74
|
-
if (event.type === "abort") {
|
|
75
|
-
abortController.abort();
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
request.abortSignal.addEventListener("abort", abortListener);
|
|
79
|
-
}
|
|
80
|
-
let timeoutId;
|
|
81
|
-
if (request.timeout > 0) {
|
|
82
|
-
timeoutId = setTimeout(() => {
|
|
83
|
-
const sanitizer = new Sanitizer();
|
|
84
|
-
logger.info(`request to '${sanitizer.sanitizeUrl(request.url)}' timed out. canceling...`);
|
|
85
|
-
abortController.abort();
|
|
86
|
-
}, request.timeout);
|
|
87
|
-
}
|
|
88
|
-
const acceptEncoding = request.headers.get("Accept-Encoding");
|
|
89
|
-
const shouldDecompress = acceptEncoding?.includes("gzip") || acceptEncoding?.includes("deflate");
|
|
90
|
-
let body = typeof request.body === "function" ? request.body() : request.body;
|
|
91
|
-
if (body && !request.headers.has("Content-Length")) {
|
|
92
|
-
const bodyLength = getBodyLength(body);
|
|
93
|
-
if (bodyLength !== null) {
|
|
94
|
-
request.headers.set("Content-Length", bodyLength);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
let responseStream;
|
|
98
|
-
try {
|
|
99
|
-
if (body && request.onUploadProgress) {
|
|
100
|
-
const onUploadProgress = request.onUploadProgress;
|
|
101
|
-
const uploadReportStream = new ReportTransform(onUploadProgress);
|
|
102
|
-
uploadReportStream.on("error", (e) => {
|
|
103
|
-
logger.error("Error in upload progress", e);
|
|
104
|
-
});
|
|
105
|
-
if (isReadableStream(body)) {
|
|
106
|
-
body.pipe(uploadReportStream);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
uploadReportStream.end(body);
|
|
110
|
-
}
|
|
111
|
-
body = uploadReportStream;
|
|
112
|
-
}
|
|
113
|
-
const res = await this.makeRequest(request, abortController, body);
|
|
114
|
-
if (timeoutId !== undefined) {
|
|
115
|
-
clearTimeout(timeoutId);
|
|
116
|
-
}
|
|
117
|
-
const headers = getResponseHeaders(res);
|
|
118
|
-
const status = res.statusCode ?? 0;
|
|
119
|
-
const response = {
|
|
120
|
-
status,
|
|
121
|
-
headers,
|
|
122
|
-
request,
|
|
123
|
-
};
|
|
124
|
-
// Responses to HEAD must not have a body.
|
|
125
|
-
// If they do return a body, that body must be ignored.
|
|
126
|
-
if (request.method === "HEAD") {
|
|
127
|
-
// call resume() and not destroy() to avoid closing the socket
|
|
128
|
-
// and losing keep alive
|
|
129
|
-
res.resume();
|
|
130
|
-
return response;
|
|
131
|
-
}
|
|
132
|
-
responseStream = shouldDecompress ? getDecodedResponseStream(res, headers) : res;
|
|
133
|
-
const onDownloadProgress = request.onDownloadProgress;
|
|
134
|
-
if (onDownloadProgress) {
|
|
135
|
-
const downloadReportStream = new ReportTransform(onDownloadProgress);
|
|
136
|
-
downloadReportStream.on("error", (e) => {
|
|
137
|
-
logger.error("Error in download progress", e);
|
|
138
|
-
});
|
|
139
|
-
responseStream.pipe(downloadReportStream);
|
|
140
|
-
responseStream = downloadReportStream;
|
|
141
|
-
}
|
|
142
|
-
if (
|
|
143
|
-
// Value of POSITIVE_INFINITY in streamResponseStatusCodes is considered as any status code
|
|
144
|
-
request.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY) ||
|
|
145
|
-
request.streamResponseStatusCodes?.has(response.status)) {
|
|
146
|
-
response.readableStreamBody = responseStream;
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
response.bodyAsText = await streamToText(responseStream);
|
|
150
|
-
}
|
|
151
|
-
return response;
|
|
152
|
-
}
|
|
153
|
-
finally {
|
|
154
|
-
// clean up event listener
|
|
155
|
-
if (request.abortSignal && abortListener) {
|
|
156
|
-
let uploadStreamDone = Promise.resolve();
|
|
157
|
-
if (isReadableStream(body)) {
|
|
158
|
-
uploadStreamDone = isStreamComplete(body);
|
|
159
|
-
}
|
|
160
|
-
let downloadStreamDone = Promise.resolve();
|
|
161
|
-
if (isReadableStream(responseStream)) {
|
|
162
|
-
downloadStreamDone = isStreamComplete(responseStream);
|
|
163
|
-
}
|
|
164
|
-
Promise.all([uploadStreamDone, downloadStreamDone])
|
|
165
|
-
.then(() => {
|
|
166
|
-
// eslint-disable-next-line promise/always-return
|
|
167
|
-
if (abortListener) {
|
|
168
|
-
request.abortSignal?.removeEventListener("abort", abortListener);
|
|
169
|
-
}
|
|
170
|
-
})
|
|
171
|
-
.catch((e) => {
|
|
172
|
-
logger.warning("Error when cleaning up abortListener on httpRequest", e);
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
makeRequest(request, abortController, body) {
|
|
178
|
-
const url = new URL(request.url);
|
|
179
|
-
const isInsecure = url.protocol !== "https:";
|
|
180
|
-
if (isInsecure && !request.allowInsecureConnection) {
|
|
181
|
-
throw new Error(`Cannot connect to ${request.url} while allowInsecureConnection is false.`);
|
|
182
|
-
}
|
|
183
|
-
const agent = request.agent ?? this.getOrCreateAgent(request, isInsecure);
|
|
184
|
-
const options = {
|
|
185
|
-
agent,
|
|
186
|
-
hostname: url.hostname,
|
|
187
|
-
path: `${url.pathname}${url.search}`,
|
|
188
|
-
port: url.port,
|
|
189
|
-
method: request.method,
|
|
190
|
-
headers: request.headers.toJSON({ preserveCase: true }),
|
|
191
|
-
...request.requestOverrides,
|
|
192
|
-
};
|
|
193
|
-
return new Promise((resolve, reject) => {
|
|
194
|
-
const req = isInsecure ? http.request(options, resolve) : https.request(options, resolve);
|
|
195
|
-
req.once("error", (err) => {
|
|
196
|
-
reject(new RestError(err.message, { code: err.code ?? RestError.REQUEST_SEND_ERROR, request }));
|
|
197
|
-
});
|
|
198
|
-
abortController.signal.addEventListener("abort", () => {
|
|
199
|
-
const abortError = new AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");
|
|
200
|
-
req.destroy(abortError);
|
|
201
|
-
reject(abortError);
|
|
202
|
-
});
|
|
203
|
-
if (body && isReadableStream(body)) {
|
|
204
|
-
body.pipe(req);
|
|
205
|
-
}
|
|
206
|
-
else if (body) {
|
|
207
|
-
if (typeof body === "string" || Buffer.isBuffer(body)) {
|
|
208
|
-
req.end(body);
|
|
209
|
-
}
|
|
210
|
-
else if (isArrayBuffer(body)) {
|
|
211
|
-
req.end(ArrayBuffer.isView(body) ? Buffer.from(body.buffer) : Buffer.from(body));
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
logger.error("Unrecognized body type", body);
|
|
215
|
-
reject(new RestError("Unrecognized body type"));
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
// streams don't like "undefined" being passed as data
|
|
220
|
-
req.end();
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
getOrCreateAgent(request, isInsecure) {
|
|
225
|
-
const disableKeepAlive = request.disableKeepAlive;
|
|
226
|
-
// Handle Insecure requests first
|
|
227
|
-
if (isInsecure) {
|
|
228
|
-
if (disableKeepAlive) {
|
|
229
|
-
// keepAlive:false is the default so we don't need a custom Agent
|
|
230
|
-
return http.globalAgent;
|
|
231
|
-
}
|
|
232
|
-
if (!this.cachedHttpAgent) {
|
|
233
|
-
// If there is no cached agent create a new one and cache it.
|
|
234
|
-
this.cachedHttpAgent = new http.Agent({ keepAlive: true });
|
|
235
|
-
}
|
|
236
|
-
return this.cachedHttpAgent;
|
|
237
|
-
}
|
|
238
|
-
else {
|
|
239
|
-
if (disableKeepAlive && !request.tlsSettings) {
|
|
240
|
-
// When there are no tlsSettings and keepAlive is false
|
|
241
|
-
// we don't need a custom agent
|
|
242
|
-
return https.globalAgent;
|
|
243
|
-
}
|
|
244
|
-
// We use the tlsSettings to index cached clients
|
|
245
|
-
const tlsSettings = request.tlsSettings ?? DEFAULT_TLS_SETTINGS;
|
|
246
|
-
// Get the cached agent or create a new one with the
|
|
247
|
-
// provided values for keepAlive and tlsSettings
|
|
248
|
-
let agent = this.cachedHttpsAgents.get(tlsSettings);
|
|
249
|
-
if (agent && agent.options.keepAlive === !disableKeepAlive) {
|
|
250
|
-
return agent;
|
|
251
|
-
}
|
|
252
|
-
logger.info("No cached TLS Agent exist, creating a new Agent");
|
|
253
|
-
agent = new https.Agent({
|
|
254
|
-
// keepAlive is true if disableKeepAlive is false.
|
|
255
|
-
keepAlive: !disableKeepAlive,
|
|
256
|
-
// Since we are spreading, if no tslSettings were provided, nothing is added to the agent options.
|
|
257
|
-
...tlsSettings,
|
|
258
|
-
});
|
|
259
|
-
this.cachedHttpsAgents.set(tlsSettings, agent);
|
|
260
|
-
return agent;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
function getResponseHeaders(res) {
|
|
265
|
-
const headers = createHttpHeaders();
|
|
266
|
-
for (const header of Object.keys(res.headers)) {
|
|
267
|
-
const value = res.headers[header];
|
|
268
|
-
if (Array.isArray(value)) {
|
|
269
|
-
if (value.length > 0) {
|
|
270
|
-
headers.set(header, value[0]);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
else if (value) {
|
|
274
|
-
headers.set(header, value);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
return headers;
|
|
278
|
-
}
|
|
279
|
-
function getDecodedResponseStream(stream, headers) {
|
|
280
|
-
const contentEncoding = headers.get("Content-Encoding");
|
|
281
|
-
if (contentEncoding === "gzip") {
|
|
282
|
-
const unzip = zlib.createGunzip();
|
|
283
|
-
stream.pipe(unzip);
|
|
284
|
-
return unzip;
|
|
285
|
-
}
|
|
286
|
-
else if (contentEncoding === "deflate") {
|
|
287
|
-
const inflate = zlib.createInflate();
|
|
288
|
-
stream.pipe(inflate);
|
|
289
|
-
return inflate;
|
|
290
|
-
}
|
|
291
|
-
return stream;
|
|
292
|
-
}
|
|
293
|
-
function streamToText(stream) {
|
|
294
|
-
return new Promise((resolve, reject) => {
|
|
295
|
-
const buffer = [];
|
|
296
|
-
stream.on("data", (chunk) => {
|
|
297
|
-
if (Buffer.isBuffer(chunk)) {
|
|
298
|
-
buffer.push(chunk);
|
|
299
|
-
}
|
|
300
|
-
else {
|
|
301
|
-
buffer.push(Buffer.from(chunk));
|
|
302
|
-
}
|
|
303
|
-
});
|
|
304
|
-
stream.on("end", () => {
|
|
305
|
-
resolve(Buffer.concat(buffer).toString("utf8"));
|
|
306
|
-
});
|
|
307
|
-
stream.on("error", (e) => {
|
|
308
|
-
if (e && e?.name === "AbortError") {
|
|
309
|
-
reject(e);
|
|
310
|
-
}
|
|
311
|
-
else {
|
|
312
|
-
reject(new RestError(`Error reading response as text: ${e.message}`, {
|
|
313
|
-
code: RestError.PARSE_ERROR,
|
|
314
|
-
}));
|
|
315
|
-
}
|
|
316
|
-
});
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
/** @internal */
|
|
320
|
-
export function getBodyLength(body) {
|
|
321
|
-
if (!body) {
|
|
322
|
-
return 0;
|
|
323
|
-
}
|
|
324
|
-
else if (Buffer.isBuffer(body)) {
|
|
325
|
-
return body.length;
|
|
326
|
-
}
|
|
327
|
-
else if (isReadableStream(body)) {
|
|
328
|
-
return null;
|
|
329
|
-
}
|
|
330
|
-
else if (isArrayBuffer(body)) {
|
|
331
|
-
return body.byteLength;
|
|
332
|
-
}
|
|
333
|
-
else if (typeof body === "string") {
|
|
334
|
-
return Buffer.from(body).length;
|
|
335
|
-
}
|
|
336
|
-
else {
|
|
337
|
-
return null;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
/**
|
|
341
|
-
* Create a new HttpClient instance for the NodeJS environment.
|
|
342
|
-
* @internal
|
|
343
|
-
*/
|
|
344
|
-
export function createNodeHttpClient() {
|
|
345
|
-
return new NodeHttpClient();
|
|
346
|
-
}
|
|
347
|
-
//# sourceMappingURL=nodeHttpClient.js.map
|