@theokit/sdk 4.10.0 → 4.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist/{cron-BF_AI5NP.d.ts → cron-C7catiH8.d.ts} +7 -2
- package/dist/{cron-DXEhagMa.d.cts → cron-DK1WVZnI.d.cts} +7 -2
- package/dist/cron.cjs +13 -6
- package/dist/cron.cjs.map +1 -1
- package/dist/cron.d.cts +1 -1
- package/dist/cron.d.ts +1 -1
- package/dist/cron.js +13 -6
- package/dist/cron.js.map +1 -1
- package/dist/eval.cjs +13 -6
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +13 -6
- package/dist/eval.js.map +1 -1
- package/dist/index.cjs +13 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/internal/providers/types.d.ts +1 -1
- package/dist/types/provider-profile.d.ts +6 -1
- package/package.json +1 -1
|
@@ -34,7 +34,12 @@ export interface ProviderTransformContext {
|
|
|
34
34
|
* @public
|
|
35
35
|
*/
|
|
36
36
|
export interface ProviderTransform {
|
|
37
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Dynamic per-request headers, merged OVER the profile's static `extraHeaders`, and spread AFTER the
|
|
39
|
+
* transport's base `authorization`/`content-type`. A provider that owns its auth MAY intentionally set
|
|
40
|
+
* `authorization` here to override the resolved bearer — but a stray `authorization`/`content-type` key
|
|
41
|
+
* will silently replace the base header, so return only the headers you mean to add.
|
|
42
|
+
*/
|
|
38
43
|
headers?(ctx: ProviderTransformContext): Record<string, string>;
|
|
39
44
|
/** A fetch to use for this provider's requests (refresh-aware / fully provider-controlled). */
|
|
40
45
|
fetch?(ctx: ProviderTransformContext): typeof fetch;
|
package/package.json
CHANGED