@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.d.ts CHANGED
@@ -7,6 +7,7 @@ export declare type LoginOptions = {
7
7
  otp: string;
8
8
  scope: string;
9
9
  oauthSession?: object;
10
+ oauthFlowId: string;
10
11
  } | {
11
12
  username: string;
12
13
  password: string;
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);