@descope/react-sdk 2.14.0 → 2.14.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/constants.js +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +54 -0
- package/package.json +10 -10
package/dist/types/sdk.d.ts
CHANGED
|
@@ -548,6 +548,12 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
548
548
|
}>>;
|
|
549
549
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
550
550
|
};
|
|
551
|
+
outbound: {
|
|
552
|
+
connect: (appId: string, options?: {
|
|
553
|
+
redirectURL?: string;
|
|
554
|
+
scopes?: string[];
|
|
555
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
556
|
+
};
|
|
551
557
|
saml: {
|
|
552
558
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
553
559
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -1195,6 +1201,12 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1195
1201
|
}>>;
|
|
1196
1202
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1197
1203
|
};
|
|
1204
|
+
outbound: {
|
|
1205
|
+
connect: (appId: string, options?: {
|
|
1206
|
+
redirectURL?: string;
|
|
1207
|
+
scopes?: string[];
|
|
1208
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1209
|
+
};
|
|
1198
1210
|
saml: {
|
|
1199
1211
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1200
1212
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -1842,6 +1854,12 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1842
1854
|
}>>;
|
|
1843
1855
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1844
1856
|
};
|
|
1857
|
+
outbound: {
|
|
1858
|
+
connect: (appId: string, options?: {
|
|
1859
|
+
redirectURL?: string;
|
|
1860
|
+
scopes?: string[];
|
|
1861
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1862
|
+
};
|
|
1845
1863
|
saml: {
|
|
1846
1864
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1847
1865
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -2501,6 +2519,12 @@ export declare const createTempSdk: () => ((({
|
|
|
2501
2519
|
}>>;
|
|
2502
2520
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2503
2521
|
};
|
|
2522
|
+
outbound: {
|
|
2523
|
+
connect: (appId: string, options?: {
|
|
2524
|
+
redirectURL?: string;
|
|
2525
|
+
scopes?: string[];
|
|
2526
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2527
|
+
};
|
|
2504
2528
|
saml: {
|
|
2505
2529
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
2506
2530
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -3148,6 +3172,12 @@ export declare const createTempSdk: () => ((({
|
|
|
3148
3172
|
}>>;
|
|
3149
3173
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3150
3174
|
};
|
|
3175
|
+
outbound: {
|
|
3176
|
+
connect: (appId: string, options?: {
|
|
3177
|
+
redirectURL?: string;
|
|
3178
|
+
scopes?: string[];
|
|
3179
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3180
|
+
};
|
|
3151
3181
|
saml: {
|
|
3152
3182
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3153
3183
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -3795,6 +3825,12 @@ export declare const createTempSdk: () => ((({
|
|
|
3795
3825
|
}>>;
|
|
3796
3826
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3797
3827
|
};
|
|
3828
|
+
outbound: {
|
|
3829
|
+
connect: (appId: string, options?: {
|
|
3830
|
+
redirectURL?: string;
|
|
3831
|
+
scopes?: string[];
|
|
3832
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3833
|
+
};
|
|
3798
3834
|
saml: {
|
|
3799
3835
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
3800
3836
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -4462,6 +4498,12 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4462
4498
|
}>>;
|
|
4463
4499
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4464
4500
|
};
|
|
4501
|
+
outbound: {
|
|
4502
|
+
connect: (appId: string, options?: {
|
|
4503
|
+
redirectURL?: string;
|
|
4504
|
+
scopes?: string[];
|
|
4505
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4506
|
+
};
|
|
4465
4507
|
saml: {
|
|
4466
4508
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
4467
4509
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -5109,6 +5151,12 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5109
5151
|
}>>;
|
|
5110
5152
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5111
5153
|
};
|
|
5154
|
+
outbound: {
|
|
5155
|
+
connect: (appId: string, options?: {
|
|
5156
|
+
redirectURL?: string;
|
|
5157
|
+
scopes?: string[];
|
|
5158
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5159
|
+
};
|
|
5112
5160
|
saml: {
|
|
5113
5161
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5114
5162
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
@@ -5756,6 +5804,12 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5756
5804
|
}>>;
|
|
5757
5805
|
exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5758
5806
|
};
|
|
5807
|
+
outbound: {
|
|
5808
|
+
connect: (appId: string, options?: {
|
|
5809
|
+
redirectURL?: string;
|
|
5810
|
+
scopes?: string[];
|
|
5811
|
+
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5812
|
+
};
|
|
5759
5813
|
saml: {
|
|
5760
5814
|
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
5761
5815
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.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,15 +50,15 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@descope/sdk-helpers": "0.3.0",
|
|
53
|
-
"@descope/audit-management-widget": "0.4.
|
|
54
|
-
"@descope/
|
|
55
|
-
"@descope/
|
|
56
|
-
"@descope/user-management-widget": "0.7.
|
|
57
|
-
"@descope/
|
|
58
|
-
"@descope/
|
|
59
|
-
"@descope/
|
|
60
|
-
"@descope/
|
|
61
|
-
"@descope/
|
|
53
|
+
"@descope/audit-management-widget": "0.4.16",
|
|
54
|
+
"@descope/access-key-management-widget": "0.4.16",
|
|
55
|
+
"@descope/role-management-widget": "0.3.17",
|
|
56
|
+
"@descope/user-management-widget": "0.7.16",
|
|
57
|
+
"@descope/user-profile-widget": "0.4.17",
|
|
58
|
+
"@descope/applications-portal-widget": "0.3.16",
|
|
59
|
+
"@descope/web-component": "3.42.0",
|
|
60
|
+
"@descope/core-js-sdk": "2.43.0",
|
|
61
|
+
"@descope/web-js-sdk": "1.31.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/core": "7.26.0",
|