@descope/react-sdk 2.6.0 → 2.6.1
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/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 +6 -6
- package/dist/types/types.d.ts +1 -1
- package/package.json +10 -10
package/dist/types/sdk.d.ts
CHANGED
|
@@ -511,7 +511,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
511
511
|
finishNative: (provider: string, stateId: string, user?: string, code?: string, idToken?: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
|
|
512
512
|
};
|
|
513
513
|
saml: {
|
|
514
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
514
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
515
515
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
516
516
|
};
|
|
517
517
|
totp: {
|
|
@@ -1121,7 +1121,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1121
1121
|
finishNative: (provider: string, stateId: string, user?: string, code?: string, idToken?: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
|
|
1122
1122
|
};
|
|
1123
1123
|
saml: {
|
|
1124
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1124
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1125
1125
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1126
1126
|
};
|
|
1127
1127
|
totp: {
|
|
@@ -1741,7 +1741,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1741
1741
|
finishNative: (provider: string, stateId: string, user?: string, code?: string, idToken?: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
|
|
1742
1742
|
};
|
|
1743
1743
|
saml: {
|
|
1744
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1744
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1745
1745
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1746
1746
|
};
|
|
1747
1747
|
totp: {
|
|
@@ -2351,7 +2351,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2351
2351
|
finishNative: (provider: string, stateId: string, user?: string, code?: string, idToken?: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
|
|
2352
2352
|
};
|
|
2353
2353
|
saml: {
|
|
2354
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2354
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2355
2355
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2356
2356
|
};
|
|
2357
2357
|
totp: {
|
|
@@ -2978,7 +2978,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2978
2978
|
finishNative: (provider: string, stateId: string, user?: string, code?: string, idToken?: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
|
|
2979
2979
|
};
|
|
2980
2980
|
saml: {
|
|
2981
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2981
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2982
2982
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2983
2983
|
};
|
|
2984
2984
|
totp: {
|
|
@@ -3588,7 +3588,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3588
3588
|
finishNative: (provider: string, stateId: string, user?: string, code?: string, idToken?: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
|
|
3589
3589
|
};
|
|
3590
3590
|
saml: {
|
|
3591
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3591
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3592
3592
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3593
3593
|
};
|
|
3594
3594
|
totp: {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import AuditManagementWidget from '@descope/audit-management-widget';
|
|
|
9
9
|
import UserProfileWidget from '@descope/user-profile-widget';
|
|
10
10
|
import ApplicationsPortalWidget from '@descope/applications-portal-widget';
|
|
11
11
|
import createSdk from './sdk';
|
|
12
|
-
declare
|
|
12
|
+
declare global {
|
|
13
13
|
namespace JSX {
|
|
14
14
|
interface IntrinsicElements {
|
|
15
15
|
['descope-wc']: DescopeCustomElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Descope React SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/descope-js",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@descope/sdk-helpers": "0.2.0",
|
|
53
|
-
"@descope/access-key-management-widget": "0.3.
|
|
54
|
-
"@descope/
|
|
55
|
-
"@descope/
|
|
56
|
-
"@descope/
|
|
57
|
-
"@descope/user-profile-widget": "0.2.
|
|
58
|
-
"@descope/
|
|
59
|
-
"@descope/
|
|
60
|
-
"@descope/
|
|
61
|
-
"@descope/
|
|
53
|
+
"@descope/access-key-management-widget": "0.3.21",
|
|
54
|
+
"@descope/user-management-widget": "0.6.20",
|
|
55
|
+
"@descope/role-management-widget": "0.2.25",
|
|
56
|
+
"@descope/audit-management-widget": "0.3.3",
|
|
57
|
+
"@descope/user-profile-widget": "0.2.21",
|
|
58
|
+
"@descope/web-component": "3.35.1",
|
|
59
|
+
"@descope/applications-portal-widget": "0.2.24",
|
|
60
|
+
"@descope/web-js-sdk": "1.24.1",
|
|
61
|
+
"@descope/core-js-sdk": "2.35.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/core": "7.26.0",
|