axiam-sdk 1.1.3 → 1.2.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/README.md +73 -3
- package/dist/amqp/index.js.map +1 -1
- package/dist/amqp/index.mjs.map +1 -1
- package/dist/browser/index.d.cts +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/{client-BGFn1VQh.d.cts → client-Bp7riC4k.d.cts} +147 -3
- package/dist/{client-DrQZZ1js.d.ts → client-CaurIxje.d.ts} +147 -3
- package/dist/{cookieJar-BTmpjXZe.d.ts → cookieJar-DC4GLKrJ.d.ts} +2 -2
- package/dist/{cookieJar-BqYOnNN-.d.cts → cookieJar-oKazfbN1.d.cts} +2 -2
- package/dist/{errors-DZ3k8a8i.d.cts → errors-CWlh-wcm.d.cts} +7 -1
- package/dist/{errors-DZ3k8a8i.d.ts → errors-CWlh-wcm.d.ts} +7 -1
- package/dist/{errors-dlGXAsbh.d.ts → errors-DDo3oxcH.d.ts} +1 -1
- package/dist/{errors-RvGlTyUj.d.cts → errors-DHauOsqx.d.cts} +1 -1
- package/dist/grpc/index.d.cts +4 -4
- package/dist/grpc/index.d.ts +4 -4
- package/dist/grpc/index.js +26 -5
- package/dist/grpc/index.js.map +1 -1
- package/dist/grpc/index.mjs +26 -5
- package/dist/grpc/index.mjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +26 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -5
- package/dist/index.mjs.map +1 -1
- package/dist/middleware/index.d.cts +5 -5
- package/dist/middleware/index.d.ts +5 -5
- package/dist/middleware/index.js +164 -12
- package/dist/middleware/index.js.map +1 -1
- package/dist/middleware/index.mjs +164 -12
- package/dist/middleware/index.mjs.map +1 -1
- package/dist/nestjs/index.js.map +1 -1
- package/dist/nestjs/index.mjs.map +1 -1
- package/dist/node/index.d.cts +15 -4
- package/dist/node/index.d.ts +15 -4
- package/dist/node/index.js +186 -14
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +185 -15
- package/dist/node/index.mjs.map +1 -1
- package/dist/{oidcState-C3VLn3eD.d.ts → oidcState-CZhj0MBP.d.ts} +123 -5
- package/dist/{oidcState-BaJ-SM_R.d.cts → oidcState-EnEJmoF5.d.cts} +123 -5
- package/dist/rest/index.d.cts +6 -6
- package/dist/rest/index.d.ts +6 -6
- package/dist/rest/index.js +26 -5
- package/dist/rest/index.js.map +1 -1
- package/dist/rest/index.mjs +26 -5
- package/dist/rest/index.mjs.map +1 -1
- package/dist/{session-B03NsqVs.d.ts → session-Beo11VT_.d.ts} +9 -0
- package/dist/{session-plDr4lFu.d.cts → session-CeIUXgpE.d.cts} +9 -0
- package/package.json +1 -1
|
@@ -479,6 +479,15 @@ declare class SharedSession {
|
|
|
479
479
|
* The fetch adapter derives its `credentials` from `withCredentials: false`
|
|
480
480
|
* (`'omit'`); `fetchOptions.credentials` is set as well for adapters that
|
|
481
481
|
* read it.
|
|
482
|
+
*
|
|
483
|
+
* `fetchOptions.redirect: 'error'` is the browser persona's half of CONTRACT.md §12.1
|
|
484
|
+
* rule 3 ("No redirect is followed", C165-26). On the main client's `/oauth2/*` requests
|
|
485
|
+
* it makes `fetch` reject, which every caller maps to a `NetworkError` that carries
|
|
486
|
+
* neither the `Location` nor the request. Where `maxRedirects: 0` is set (the bare
|
|
487
|
+
* transport, `bareRequest`), axios's fetch adapter substitutes `redirect: 'manual'`
|
|
488
|
+
* (`lib/adapters/fetch.js`), so `'error'` is overridden there: the browser hands back an
|
|
489
|
+
* opaque-redirect (status 0), and `bareRequest` maps status 0 or any `3xx` to a
|
|
490
|
+
* `NetworkError` without the `Location` (`bareTransport.ts`).
|
|
482
491
|
* `NodeSession` overrides this to {@link noCredentialsConfig}: its jar-free
|
|
483
492
|
* agent pair is what keeps the cookies off there, and the fetch adapter
|
|
484
493
|
* would bypass that pair.
|
|
@@ -479,6 +479,15 @@ declare class SharedSession {
|
|
|
479
479
|
* The fetch adapter derives its `credentials` from `withCredentials: false`
|
|
480
480
|
* (`'omit'`); `fetchOptions.credentials` is set as well for adapters that
|
|
481
481
|
* read it.
|
|
482
|
+
*
|
|
483
|
+
* `fetchOptions.redirect: 'error'` is the browser persona's half of CONTRACT.md §12.1
|
|
484
|
+
* rule 3 ("No redirect is followed", C165-26). On the main client's `/oauth2/*` requests
|
|
485
|
+
* it makes `fetch` reject, which every caller maps to a `NetworkError` that carries
|
|
486
|
+
* neither the `Location` nor the request. Where `maxRedirects: 0` is set (the bare
|
|
487
|
+
* transport, `bareRequest`), axios's fetch adapter substitutes `redirect: 'manual'`
|
|
488
|
+
* (`lib/adapters/fetch.js`), so `'error'` is overridden there: the browser hands back an
|
|
489
|
+
* opaque-redirect (status 0), and `bareRequest` maps status 0 or any `3xx` to a
|
|
490
|
+
* `NetworkError` without the `Location` (`bareTransport.ts`).
|
|
482
491
|
* `NodeSession` overrides this to {@link noCredentialsConfig}: its jar-free
|
|
483
492
|
* agent pair is what keeps the cookies off there, and the fetch adapter
|
|
484
493
|
* would bypass that pair.
|