@vitia.ai/secure-api-client-vue 1.0.20 → 1.0.21
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -3096,7 +3096,7 @@ ${c}`, g = await Ls(o, new TextEncoder().encode(u)), w = ce(g), m = new Headers(
|
|
|
3096
3096
|
refreshToken: void 0
|
|
3097
3097
|
});
|
|
3098
3098
|
const t = {};
|
|
3099
|
-
"username" in e && "password" in e && (t.username = e.username, t.password = e.password, t.scope = e.scope, t.oauth_session = e.oauthSession), "username" in e && "otp" in e && (t.username = e.username, t.otp = e.otp, t.scope = e.scope, t.oauth_session = e.oauthSession), "email" in e && "socialLoginId" in e && (t.email = e.email, t.social_login_id = e.socialLoginId, t.scope = e.scope, t.oauth_session = e.oauthSession), "jwt" in e && this.updateSession({
|
|
3099
|
+
"username" in e && "password" in e && (t.username = e.username, t.password = e.password, t.scope = e.scope, t.oauth_session = e.oauthSession), "username" in e && "otp" in e && (t.username = e.username, t.otp = e.otp, t.scope = e.scope, t.oauth_session = e.oauthSession, t.oauth_flow_id = e.oauthFlowId), "email" in e && "socialLoginId" in e && (t.email = e.email, t.social_login_id = e.socialLoginId, t.scope = e.scope, t.oauth_session = e.oauthSession), "jwt" in e && this.updateSession({
|
|
3100
3100
|
accessToken: e.jwt,
|
|
3101
3101
|
tokenType: "Bearer"
|
|
3102
3102
|
}), "refreshToken" in e && (t.refresh_token = e.refreshToken);
|