@descope/react-sdk 2.24.0 → 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.
@@ -579,7 +579,7 @@ declare const createSdkWrapper: <P extends {
579
579
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
580
580
  };
581
581
  saml: {
582
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
582
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
583
583
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
584
584
  };
585
585
  totp: {
@@ -1225,7 +1225,7 @@ declare const createSdkWrapper: <P extends {
1225
1225
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1226
1226
  };
1227
1227
  saml: {
1228
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1228
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
1229
1229
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1230
1230
  };
1231
1231
  totp: {
@@ -1871,7 +1871,7 @@ declare const createSdkWrapper: <P extends {
1871
1871
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1872
1872
  };
1873
1873
  saml: {
1874
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1874
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
1875
1875
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1876
1876
  };
1877
1877
  totp: {
@@ -2530,7 +2530,7 @@ export declare const createTempSdk: () => ((({
2530
2530
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
2531
2531
  };
2532
2532
  saml: {
2533
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
2533
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
2534
2534
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
2535
2535
  };
2536
2536
  totp: {
@@ -3176,7 +3176,7 @@ export declare const createTempSdk: () => ((({
3176
3176
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
3177
3177
  };
3178
3178
  saml: {
3179
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
3179
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
3180
3180
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
3181
3181
  };
3182
3182
  totp: {
@@ -3822,7 +3822,7 @@ export declare const createTempSdk: () => ((({
3822
3822
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
3823
3823
  };
3824
3824
  saml: {
3825
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
3825
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
3826
3826
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
3827
3827
  };
3828
3828
  totp: {
@@ -4489,7 +4489,7 @@ export declare const getGlobalSdk: () => ((({
4489
4489
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
4490
4490
  };
4491
4491
  saml: {
4492
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
4492
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
4493
4493
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
4494
4494
  };
4495
4495
  totp: {
@@ -5135,7 +5135,7 @@ export declare const getGlobalSdk: () => ((({
5135
5135
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
5136
5136
  };
5137
5137
  saml: {
5138
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
5138
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
5139
5139
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
5140
5140
  };
5141
5141
  totp: {
@@ -5781,7 +5781,7 @@ export declare const getGlobalSdk: () => ((({
5781
5781
  }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
5782
5782
  };
5783
5783
  saml: {
5784
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
5784
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string, enforceInitiatedEmail?: boolean) => Promise<_1.SdkResponse<_1.URLResponse>>;
5785
5785
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
5786
5786
  };
5787
5787
  totp: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/react-sdk",
3
- "version": "2.24.0",
3
+ "version": "2.24.2",
4
4
  "description": "Descope React SDK",
5
5
  "author": "Descope Team <info@descope.com>",
6
6
  "homepage": "https://github.com/descope/descope-js",
@@ -50,17 +50,17 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@descope/sdk-helpers": "0.5.1",
53
- "@descope/audit-management-widget": "0.5.24",
54
- "@descope/access-key-management-widget": "0.5.24",
55
- "@descope/user-management-widget": "0.10.7",
56
- "@descope/role-management-widget": "0.5.16",
57
- "@descope/user-profile-widget": "0.8.7",
58
- "@descope/outbound-applications-widget": "0.2.7",
59
- "@descope/applications-portal-widget": "0.5.7",
60
- "@descope/web-js-sdk": "1.40.0",
61
- "@descope/tenant-profile-widget": "0.5.7",
62
- "@descope/core-js-sdk": "2.53.0",
63
- "@descope/web-component": "3.52.0"
53
+ "@descope/access-key-management-widget": "0.5.25",
54
+ "@descope/audit-management-widget": "0.5.25",
55
+ "@descope/role-management-widget": "0.5.17",
56
+ "@descope/user-management-widget": "0.10.8",
57
+ "@descope/user-profile-widget": "0.8.8",
58
+ "@descope/applications-portal-widget": "0.5.8",
59
+ "@descope/outbound-applications-widget": "0.2.8",
60
+ "@descope/web-component": "3.52.1",
61
+ "@descope/core-js-sdk": "2.53.1",
62
+ "@descope/tenant-profile-widget": "0.5.8",
63
+ "@descope/web-js-sdk": "1.40.1"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@babel/core": "7.26.0",