@descope/react-sdk 2.24.1 → 2.24.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.
@@ -1,2 +1,2 @@
1
- "use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.24.1"};
1
+ "use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.24.2"};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1,2 +1,2 @@
1
- const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.24.1"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
1
+ const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.24.2"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
2
2
  //# sourceMappingURL=constants.js.map
package/dist/index.d.ts CHANGED
@@ -594,7 +594,7 @@ declare const createSdkWrapper: <P extends {
594
594
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
595
595
  };
596
596
  saml: {
597
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
597
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
598
598
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
599
599
  };
600
600
  totp: {
@@ -1240,7 +1240,7 @@ declare const createSdkWrapper: <P extends {
1240
1240
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1241
1241
  };
1242
1242
  saml: {
1243
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1243
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
1244
1244
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1245
1245
  };
1246
1246
  totp: {
@@ -1886,7 +1886,7 @@ declare const createSdkWrapper: <P extends {
1886
1886
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1887
1887
  };
1888
1888
  saml: {
1889
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1889
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
1890
1890
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1891
1891
  };
1892
1892
  totp: {