@theokit/sdk 4.10.1 → 4.11.0
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 +6 -0
- package/dist/auth/index.cjs +552 -0
- package/dist/auth/index.cjs.map +1 -0
- package/dist/auth/index.d.cts +19 -0
- package/dist/auth/index.d.ts +19 -0
- package/dist/auth/index.js +533 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/cron.cjs +3 -0
- package/dist/cron.cjs.map +1 -1
- package/dist/cron.js +3 -0
- package/dist/cron.js.map +1 -1
- package/dist/eval.cjs +3 -0
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.js +3 -0
- package/dist/eval.js.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/internal/auth/auth-types.d.ts +93 -0
- package/dist/internal/auth/credential-store.d.ts +19 -0
- package/dist/internal/auth/oauth-device.d.ts +55 -0
- package/dist/internal/auth/oauth-engine.d.ts +21 -0
- package/dist/internal/auth/resolve-credential.d.ts +16 -0
- package/package.json +12 -2
package/dist/index.cjs
CHANGED
|
@@ -16253,6 +16253,9 @@ function sentinelForNoAuth(profile) {
|
|
|
16253
16253
|
function sentinelForLazyAuth(profile) {
|
|
16254
16254
|
if (profile.authType === "aws_bearer") return "__bedrock_lazy_token__";
|
|
16255
16255
|
if (profile.authType === "gcp_oauth") return "__vertex_lazy_token__";
|
|
16256
|
+
if (profile.authType === "oauth_device_code" || profile.authType === "oauth_external") {
|
|
16257
|
+
return "__oauth_lazy_token__";
|
|
16258
|
+
}
|
|
16256
16259
|
return void 0;
|
|
16257
16260
|
}
|
|
16258
16261
|
function filterPoolKeys(keys) {
|