@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.
- package/dist/cjs/components/AuthProvider/AuthProvider.js.map +1 -1
- package/dist/cjs/constants.js +1 -1
- package/dist/cjs/hooks/useSession.js +1 -1
- package/dist/cjs/hooks/useSession.js.map +1 -1
- package/dist/esm/components/AuthProvider/AuthProvider.js.map +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/hooks/useSession.js +1 -1
- package/dist/esm/hooks/useSession.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +9 -9
- package/package.json +12 -12
package/dist/types/sdk.d.ts
CHANGED
|
@@ -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.
|
|
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/
|
|
54
|
-
"@descope/
|
|
55
|
-
"@descope/
|
|
56
|
-
"@descope/
|
|
57
|
-
"@descope/user-profile-widget": "0.8.
|
|
58
|
-
"@descope/
|
|
59
|
-
"@descope/applications-
|
|
60
|
-
"@descope/web-
|
|
61
|
-
"@descope/
|
|
62
|
-
"@descope/
|
|
63
|
-
"@descope/web-
|
|
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",
|