@descope/react-sdk 2.17.1 → 2.18.0
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/Descope.js.map +1 -1
- package/dist/cjs/constants.js +1 -1
- package/dist/esm/components/Descope.js.map +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +18 -9
- package/package.json +12 -12
package/dist/types/sdk.d.ts
CHANGED
|
@@ -86,6 +86,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
86
86
|
locale?: string;
|
|
87
87
|
oidcPrompt?: string;
|
|
88
88
|
oidcErrorRedirectUri?: string;
|
|
89
|
+
oidcResource?: string;
|
|
89
90
|
nativeOptions?: {
|
|
90
91
|
platform: "ios" | "android";
|
|
91
92
|
oauthProvider?: string;
|
|
@@ -95,7 +96,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
95
96
|
applicationScopes?: string;
|
|
96
97
|
outboundAppId?: string;
|
|
97
98
|
outboundAppScopes?: string[];
|
|
98
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
99
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
99
100
|
lastAuth?: Omit<{
|
|
100
101
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
101
102
|
oauthProvider?: string;
|
|
@@ -757,6 +758,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
757
758
|
locale?: string;
|
|
758
759
|
oidcPrompt?: string;
|
|
759
760
|
oidcErrorRedirectUri?: string;
|
|
761
|
+
oidcResource?: string;
|
|
760
762
|
nativeOptions?: {
|
|
761
763
|
platform: "ios" | "android";
|
|
762
764
|
oauthProvider?: string;
|
|
@@ -766,7 +768,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
766
768
|
applicationScopes?: string;
|
|
767
769
|
outboundAppId?: string;
|
|
768
770
|
outboundAppScopes?: string[];
|
|
769
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
771
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
770
772
|
lastAuth?: Omit<{
|
|
771
773
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
772
774
|
oauthProvider?: string;
|
|
@@ -1428,6 +1430,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1428
1430
|
locale?: string;
|
|
1429
1431
|
oidcPrompt?: string;
|
|
1430
1432
|
oidcErrorRedirectUri?: string;
|
|
1433
|
+
oidcResource?: string;
|
|
1431
1434
|
nativeOptions?: {
|
|
1432
1435
|
platform: "ios" | "android";
|
|
1433
1436
|
oauthProvider?: string;
|
|
@@ -1437,7 +1440,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1437
1440
|
applicationScopes?: string;
|
|
1438
1441
|
outboundAppId?: string;
|
|
1439
1442
|
outboundAppScopes?: string[];
|
|
1440
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
1443
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
1441
1444
|
lastAuth?: Omit<{
|
|
1442
1445
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
1443
1446
|
oauthProvider?: string;
|
|
@@ -2111,6 +2114,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2111
2114
|
locale?: string;
|
|
2112
2115
|
oidcPrompt?: string;
|
|
2113
2116
|
oidcErrorRedirectUri?: string;
|
|
2117
|
+
oidcResource?: string;
|
|
2114
2118
|
nativeOptions?: {
|
|
2115
2119
|
platform: "ios" | "android";
|
|
2116
2120
|
oauthProvider?: string;
|
|
@@ -2120,7 +2124,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2120
2124
|
applicationScopes?: string;
|
|
2121
2125
|
outboundAppId?: string;
|
|
2122
2126
|
outboundAppScopes?: string[];
|
|
2123
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
2127
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
2124
2128
|
lastAuth?: Omit<{
|
|
2125
2129
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2126
2130
|
oauthProvider?: string;
|
|
@@ -2782,6 +2786,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2782
2786
|
locale?: string;
|
|
2783
2787
|
oidcPrompt?: string;
|
|
2784
2788
|
oidcErrorRedirectUri?: string;
|
|
2789
|
+
oidcResource?: string;
|
|
2785
2790
|
nativeOptions?: {
|
|
2786
2791
|
platform: "ios" | "android";
|
|
2787
2792
|
oauthProvider?: string;
|
|
@@ -2791,7 +2796,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2791
2796
|
applicationScopes?: string;
|
|
2792
2797
|
outboundAppId?: string;
|
|
2793
2798
|
outboundAppScopes?: string[];
|
|
2794
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
2799
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
2795
2800
|
lastAuth?: Omit<{
|
|
2796
2801
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2797
2802
|
oauthProvider?: string;
|
|
@@ -3453,6 +3458,7 @@ export declare const createTempSdk: () => ((({
|
|
|
3453
3458
|
locale?: string;
|
|
3454
3459
|
oidcPrompt?: string;
|
|
3455
3460
|
oidcErrorRedirectUri?: string;
|
|
3461
|
+
oidcResource?: string;
|
|
3456
3462
|
nativeOptions?: {
|
|
3457
3463
|
platform: "ios" | "android";
|
|
3458
3464
|
oauthProvider?: string;
|
|
@@ -3462,7 +3468,7 @@ export declare const createTempSdk: () => ((({
|
|
|
3462
3468
|
applicationScopes?: string;
|
|
3463
3469
|
outboundAppId?: string;
|
|
3464
3470
|
outboundAppScopes?: string[];
|
|
3465
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
3471
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
3466
3472
|
lastAuth?: Omit<{
|
|
3467
3473
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3468
3474
|
oauthProvider?: string;
|
|
@@ -4144,6 +4150,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4144
4150
|
locale?: string;
|
|
4145
4151
|
oidcPrompt?: string;
|
|
4146
4152
|
oidcErrorRedirectUri?: string;
|
|
4153
|
+
oidcResource?: string;
|
|
4147
4154
|
nativeOptions?: {
|
|
4148
4155
|
platform: "ios" | "android";
|
|
4149
4156
|
oauthProvider?: string;
|
|
@@ -4153,7 +4160,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4153
4160
|
applicationScopes?: string;
|
|
4154
4161
|
outboundAppId?: string;
|
|
4155
4162
|
outboundAppScopes?: string[];
|
|
4156
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
4163
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
4157
4164
|
lastAuth?: Omit<{
|
|
4158
4165
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
4159
4166
|
oauthProvider?: string;
|
|
@@ -4815,6 +4822,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4815
4822
|
locale?: string;
|
|
4816
4823
|
oidcPrompt?: string;
|
|
4817
4824
|
oidcErrorRedirectUri?: string;
|
|
4825
|
+
oidcResource?: string;
|
|
4818
4826
|
nativeOptions?: {
|
|
4819
4827
|
platform: "ios" | "android";
|
|
4820
4828
|
oauthProvider?: string;
|
|
@@ -4824,7 +4832,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4824
4832
|
applicationScopes?: string;
|
|
4825
4833
|
outboundAppId?: string;
|
|
4826
4834
|
outboundAppScopes?: string[];
|
|
4827
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
4835
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
4828
4836
|
lastAuth?: Omit<{
|
|
4829
4837
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
4830
4838
|
oauthProvider?: string;
|
|
@@ -5486,6 +5494,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5486
5494
|
locale?: string;
|
|
5487
5495
|
oidcPrompt?: string;
|
|
5488
5496
|
oidcErrorRedirectUri?: string;
|
|
5497
|
+
oidcResource?: string;
|
|
5489
5498
|
nativeOptions?: {
|
|
5490
5499
|
platform: "ios" | "android";
|
|
5491
5500
|
oauthProvider?: string;
|
|
@@ -5495,7 +5504,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5495
5504
|
applicationScopes?: string;
|
|
5496
5505
|
outboundAppId?: string;
|
|
5497
5506
|
outboundAppScopes?: string[];
|
|
5498
|
-
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
5507
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "oidcResource" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
|
|
5499
5508
|
lastAuth?: Omit<{
|
|
5500
5509
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
5501
5510
|
oauthProvider?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0",
|
|
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/sdk-helpers": "0.
|
|
53
|
-
"@descope/audit-management-widget": "0.5.
|
|
54
|
-
"@descope/
|
|
55
|
-
"@descope/
|
|
56
|
-
"@descope/
|
|
57
|
-
"@descope/user-
|
|
58
|
-
"@descope/
|
|
59
|
-
"@descope/
|
|
60
|
-
"@descope/web-
|
|
61
|
-
"@descope/tenant-profile-widget": "0.2.
|
|
62
|
-
"@descope/core-js-sdk": "2.
|
|
52
|
+
"@descope/sdk-helpers": "0.4.0",
|
|
53
|
+
"@descope/audit-management-widget": "0.5.3",
|
|
54
|
+
"@descope/role-management-widget": "0.4.3",
|
|
55
|
+
"@descope/user-profile-widget": "0.6.8",
|
|
56
|
+
"@descope/applications-portal-widget": "0.4.3",
|
|
57
|
+
"@descope/user-management-widget": "0.9.0",
|
|
58
|
+
"@descope/web-component": "3.46.0",
|
|
59
|
+
"@descope/access-key-management-widget": "0.5.3",
|
|
60
|
+
"@descope/web-js-sdk": "1.34.0",
|
|
61
|
+
"@descope/tenant-profile-widget": "0.2.5",
|
|
62
|
+
"@descope/core-js-sdk": "2.46.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@babel/core": "7.26.0",
|