@descope/react-sdk 2.18.2 → 2.18.3
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 +6 -0
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +18 -0
- package/package.json +11 -11
package/dist/types/sdk.d.ts
CHANGED
|
@@ -565,6 +565,8 @@ declare const createSdkWrapper: <P extends {
|
|
|
565
565
|
connect: (appId: string, options?: {
|
|
566
566
|
redirectUrl?: string;
|
|
567
567
|
scopes?: string[];
|
|
568
|
+
tenantId?: string;
|
|
569
|
+
tenantLevel?: boolean;
|
|
568
570
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
569
571
|
};
|
|
570
572
|
saml: {
|
|
@@ -1193,6 +1195,8 @@ declare const createSdkWrapper: <P extends {
|
|
|
1193
1195
|
connect: (appId: string, options?: {
|
|
1194
1196
|
redirectUrl?: string;
|
|
1195
1197
|
scopes?: string[];
|
|
1198
|
+
tenantId?: string;
|
|
1199
|
+
tenantLevel?: boolean;
|
|
1196
1200
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1197
1201
|
};
|
|
1198
1202
|
saml: {
|
|
@@ -1821,6 +1825,8 @@ declare const createSdkWrapper: <P extends {
|
|
|
1821
1825
|
connect: (appId: string, options?: {
|
|
1822
1826
|
redirectUrl?: string;
|
|
1823
1827
|
scopes?: string[];
|
|
1828
|
+
tenantId?: string;
|
|
1829
|
+
tenantLevel?: boolean;
|
|
1824
1830
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1825
1831
|
};
|
|
1826
1832
|
saml: {
|
|
@@ -2461,6 +2467,8 @@ export declare const createTempSdk: () => ((({
|
|
|
2461
2467
|
connect: (appId: string, options?: {
|
|
2462
2468
|
redirectUrl?: string;
|
|
2463
2469
|
scopes?: string[];
|
|
2470
|
+
tenantId?: string;
|
|
2471
|
+
tenantLevel?: boolean;
|
|
2464
2472
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2465
2473
|
};
|
|
2466
2474
|
saml: {
|
|
@@ -3089,6 +3097,8 @@ export declare const createTempSdk: () => ((({
|
|
|
3089
3097
|
connect: (appId: string, options?: {
|
|
3090
3098
|
redirectUrl?: string;
|
|
3091
3099
|
scopes?: string[];
|
|
3100
|
+
tenantId?: string;
|
|
3101
|
+
tenantLevel?: boolean;
|
|
3092
3102
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3093
3103
|
};
|
|
3094
3104
|
saml: {
|
|
@@ -3717,6 +3727,8 @@ export declare const createTempSdk: () => ((({
|
|
|
3717
3727
|
connect: (appId: string, options?: {
|
|
3718
3728
|
redirectUrl?: string;
|
|
3719
3729
|
scopes?: string[];
|
|
3730
|
+
tenantId?: string;
|
|
3731
|
+
tenantLevel?: boolean;
|
|
3720
3732
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3721
3733
|
};
|
|
3722
3734
|
saml: {
|
|
@@ -4365,6 +4377,8 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4365
4377
|
connect: (appId: string, options?: {
|
|
4366
4378
|
redirectUrl?: string;
|
|
4367
4379
|
scopes?: string[];
|
|
4380
|
+
tenantId?: string;
|
|
4381
|
+
tenantLevel?: boolean;
|
|
4368
4382
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4369
4383
|
};
|
|
4370
4384
|
saml: {
|
|
@@ -4993,6 +5007,8 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4993
5007
|
connect: (appId: string, options?: {
|
|
4994
5008
|
redirectUrl?: string;
|
|
4995
5009
|
scopes?: string[];
|
|
5010
|
+
tenantId?: string;
|
|
5011
|
+
tenantLevel?: boolean;
|
|
4996
5012
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4997
5013
|
};
|
|
4998
5014
|
saml: {
|
|
@@ -5621,6 +5637,8 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5621
5637
|
connect: (appId: string, options?: {
|
|
5622
5638
|
redirectUrl?: string;
|
|
5623
5639
|
scopes?: string[];
|
|
5640
|
+
tenantId?: string;
|
|
5641
|
+
tenantLevel?: boolean;
|
|
5624
5642
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5625
5643
|
};
|
|
5626
5644
|
saml: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.3",
|
|
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.6",
|
|
52
53
|
"@descope/sdk-helpers": "0.4.0",
|
|
53
|
-
"@descope/
|
|
54
|
-
"@descope/
|
|
55
|
-
"@descope/role-management-widget": "0.4.
|
|
56
|
-
"@descope/user-
|
|
57
|
-
"@descope/
|
|
58
|
-
"@descope/
|
|
59
|
-
"@descope/web-component": "3.46.
|
|
60
|
-
"@descope/
|
|
61
|
-
"@descope/tenant-profile-widget": "0.2.
|
|
62
|
-
"@descope/core-js-sdk": "2.46.2"
|
|
54
|
+
"@descope/audit-management-widget": "0.5.6",
|
|
55
|
+
"@descope/user-management-widget": "0.9.3",
|
|
56
|
+
"@descope/role-management-widget": "0.4.6",
|
|
57
|
+
"@descope/user-profile-widget": "0.6.11",
|
|
58
|
+
"@descope/applications-portal-widget": "0.4.6",
|
|
59
|
+
"@descope/web-js-sdk": "1.34.3",
|
|
60
|
+
"@descope/web-component": "3.46.3",
|
|
61
|
+
"@descope/core-js-sdk": "2.47.0",
|
|
62
|
+
"@descope/tenant-profile-widget": "0.2.8"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@babel/core": "7.26.0",
|