@descope/react-sdk 2.13.1 → 2.14.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.
@@ -93,7 +93,9 @@ declare const createSdkWrapper: <P extends Omit<{
93
93
  };
94
94
  thirdPartyAppStateId?: string;
95
95
  applicationScopes?: string;
96
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
96
+ outboundAppId?: string;
97
+ outboundAppScopes?: string[];
98
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
97
99
  lastAuth?: Omit<{
98
100
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
99
101
  oauthProvider?: string;
@@ -738,7 +740,9 @@ declare const createSdkWrapper: <P extends Omit<{
738
740
  };
739
741
  thirdPartyAppStateId?: string;
740
742
  applicationScopes?: string;
741
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
743
+ outboundAppId?: string;
744
+ outboundAppScopes?: string[];
745
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
742
746
  lastAuth?: Omit<{
743
747
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
744
748
  oauthProvider?: string;
@@ -1383,7 +1387,9 @@ declare const createSdkWrapper: <P extends Omit<{
1383
1387
  };
1384
1388
  thirdPartyAppStateId?: string;
1385
1389
  applicationScopes?: string;
1386
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
1390
+ outboundAppId?: string;
1391
+ outboundAppScopes?: string[];
1392
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
1387
1393
  lastAuth?: Omit<{
1388
1394
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
1389
1395
  oauthProvider?: string;
@@ -2040,7 +2046,9 @@ export declare const createTempSdk: () => ((({
2040
2046
  };
2041
2047
  thirdPartyAppStateId?: string;
2042
2048
  applicationScopes?: string;
2043
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
2049
+ outboundAppId?: string;
2050
+ outboundAppScopes?: string[];
2051
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
2044
2052
  lastAuth?: Omit<{
2045
2053
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
2046
2054
  oauthProvider?: string;
@@ -2685,7 +2693,9 @@ export declare const createTempSdk: () => ((({
2685
2693
  };
2686
2694
  thirdPartyAppStateId?: string;
2687
2695
  applicationScopes?: string;
2688
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
2696
+ outboundAppId?: string;
2697
+ outboundAppScopes?: string[];
2698
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
2689
2699
  lastAuth?: Omit<{
2690
2700
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
2691
2701
  oauthProvider?: string;
@@ -3330,7 +3340,9 @@ export declare const createTempSdk: () => ((({
3330
3340
  };
3331
3341
  thirdPartyAppStateId?: string;
3332
3342
  applicationScopes?: string;
3333
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
3343
+ outboundAppId?: string;
3344
+ outboundAppScopes?: string[];
3345
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
3334
3346
  lastAuth?: Omit<{
3335
3347
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
3336
3348
  oauthProvider?: string;
@@ -3995,7 +4007,9 @@ export declare const getGlobalSdk: () => ((({
3995
4007
  };
3996
4008
  thirdPartyAppStateId?: string;
3997
4009
  applicationScopes?: string;
3998
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
4010
+ outboundAppId?: string;
4011
+ outboundAppScopes?: string[];
4012
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
3999
4013
  lastAuth?: Omit<{
4000
4014
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
4001
4015
  oauthProvider?: string;
@@ -4640,7 +4654,9 @@ export declare const getGlobalSdk: () => ((({
4640
4654
  };
4641
4655
  thirdPartyAppStateId?: string;
4642
4656
  applicationScopes?: string;
4643
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
4657
+ outboundAppId?: string;
4658
+ outboundAppScopes?: string[];
4659
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
4644
4660
  lastAuth?: Omit<{
4645
4661
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
4646
4662
  oauthProvider?: string;
@@ -5285,7 +5301,9 @@ export declare const getGlobalSdk: () => ((({
5285
5301
  };
5286
5302
  thirdPartyAppStateId?: string;
5287
5303
  applicationScopes?: string;
5288
- }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes"> & {
5304
+ outboundAppId?: string;
5305
+ outboundAppScopes?: string[];
5306
+ }, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "thirdPartyAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions" | "thirdPartyAppStateId" | "applicationScopes" | "outboundAppId" | "outboundAppScopes"> & {
5289
5307
  lastAuth?: Omit<{
5290
5308
  authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
5291
5309
  oauthProvider?: string;
@@ -87,6 +87,8 @@ export type DescopeProps = {
87
87
  debug?: boolean;
88
88
  telemetryKey?: string;
89
89
  redirectUrl?: string;
90
+ outboundAppId?: string;
91
+ outboundAppScopes?: string[];
90
92
  errorTransformer?: (error: {
91
93
  text: string;
92
94
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/react-sdk",
3
- "version": "2.13.1",
3
+ "version": "2.14.0",
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.13",
54
- "@descope/access-key-management-widget": "0.4.13",
55
- "@descope/role-management-widget": "0.3.14",
56
- "@descope/user-management-widget": "0.7.13",
57
- "@descope/applications-portal-widget": "0.3.13",
58
- "@descope/web-component": "3.40.8",
59
- "@descope/user-profile-widget": "0.4.13",
60
- "@descope/core-js-sdk": "2.41.0",
61
- "@descope/web-js-sdk": "1.30.0"
53
+ "@descope/audit-management-widget": "0.4.14",
54
+ "@descope/role-management-widget": "0.3.15",
55
+ "@descope/user-profile-widget": "0.4.15",
56
+ "@descope/user-management-widget": "0.7.14",
57
+ "@descope/applications-portal-widget": "0.3.14",
58
+ "@descope/web-component": "3.41.0",
59
+ "@descope/core-js-sdk": "2.42.0",
60
+ "@descope/web-js-sdk": "1.31.0",
61
+ "@descope/access-key-management-widget": "0.4.14"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@babel/core": "7.26.0",