@descope/react-sdk 2.19.0 → 2.19.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/README.md +2 -29
- package/dist/cjs/constants.js +1 -1
- package/dist/esm/constants.js +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 +11 -11
package/dist/types/sdk.d.ts
CHANGED
|
@@ -570,7 +570,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
570
570
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
571
571
|
};
|
|
572
572
|
saml: {
|
|
573
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
573
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
574
574
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
575
575
|
};
|
|
576
576
|
totp: {
|
|
@@ -1200,7 +1200,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
1200
1200
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1201
1201
|
};
|
|
1202
1202
|
saml: {
|
|
1203
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1203
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1204
1204
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1205
1205
|
};
|
|
1206
1206
|
totp: {
|
|
@@ -1830,7 +1830,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
1830
1830
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1831
1831
|
};
|
|
1832
1832
|
saml: {
|
|
1833
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1833
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1834
1834
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1835
1835
|
};
|
|
1836
1836
|
totp: {
|
|
@@ -2472,7 +2472,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2472
2472
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2473
2473
|
};
|
|
2474
2474
|
saml: {
|
|
2475
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2475
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2476
2476
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2477
2477
|
};
|
|
2478
2478
|
totp: {
|
|
@@ -3102,7 +3102,7 @@ export declare const createTempSdk: () => ((({
|
|
|
3102
3102
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3103
3103
|
};
|
|
3104
3104
|
saml: {
|
|
3105
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3105
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3106
3106
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3107
3107
|
};
|
|
3108
3108
|
totp: {
|
|
@@ -3732,7 +3732,7 @@ export declare const createTempSdk: () => ((({
|
|
|
3732
3732
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3733
3733
|
};
|
|
3734
3734
|
saml: {
|
|
3735
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3735
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3736
3736
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3737
3737
|
};
|
|
3738
3738
|
totp: {
|
|
@@ -4382,7 +4382,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4382
4382
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4383
4383
|
};
|
|
4384
4384
|
saml: {
|
|
4385
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4385
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4386
4386
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4387
4387
|
};
|
|
4388
4388
|
totp: {
|
|
@@ -5012,7 +5012,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5012
5012
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5013
5013
|
};
|
|
5014
5014
|
saml: {
|
|
5015
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5015
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5016
5016
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5017
5017
|
};
|
|
5018
5018
|
totp: {
|
|
@@ -5642,7 +5642,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5642
5642
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5643
5643
|
};
|
|
5644
5644
|
saml: {
|
|
5645
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5645
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5646
5646
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5647
5647
|
};
|
|
5648
5648
|
totp: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.2",
|
|
4
4
|
"description": "Descope React SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/descope-js",
|
|
@@ -49,17 +49,17 @@
|
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
+
"@descope/access-key-management-widget": "0.5.9",
|
|
52
53
|
"@descope/sdk-helpers": "0.4.0",
|
|
53
|
-
"@descope/audit-management-widget": "0.5.
|
|
54
|
-
"@descope/
|
|
55
|
-
"@descope/user-
|
|
56
|
-
"@descope/applications-portal-widget": "0.4.
|
|
57
|
-
"@descope/
|
|
58
|
-
"@descope/web-component": "3.
|
|
59
|
-
"@descope/web-js-sdk": "1.35.
|
|
60
|
-
"@descope/core-js-sdk": "2.
|
|
61
|
-
"@descope/
|
|
62
|
-
"@descope/tenant-profile-widget": "0.2.9"
|
|
54
|
+
"@descope/audit-management-widget": "0.5.9",
|
|
55
|
+
"@descope/role-management-widget": "0.5.1",
|
|
56
|
+
"@descope/user-profile-widget": "0.6.14",
|
|
57
|
+
"@descope/applications-portal-widget": "0.4.9",
|
|
58
|
+
"@descope/user-management-widget": "0.9.6",
|
|
59
|
+
"@descope/web-component": "3.47.1",
|
|
60
|
+
"@descope/web-js-sdk": "1.35.1",
|
|
61
|
+
"@descope/core-js-sdk": "2.49.0",
|
|
62
|
+
"@descope/tenant-profile-widget": "0.2.11"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@babel/core": "7.26.0",
|