@descope/react-sdk 3.4.7 → 3.5.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.
@@ -12,5 +12,6 @@ declare const UserProfile: React.ForwardRefExoticComponent<Omit<{
12
12
  client?: Record<string, any>;
13
13
  }, "tenant"> & {
14
14
  onLogout?: (e: CustomEvent<any>) => void;
15
+ onFlowPopupUnauthenticated?: (e: CustomEvent<any>) => void;
15
16
  } & React.RefAttributes<HTMLElement>>;
16
17
  export default UserProfile;
@@ -127,6 +127,11 @@ export type AccessKeyManagementProps = WidgetProps;
127
127
  export type AuditManagementProps = WidgetProps;
128
128
  export type UserProfileProps = Omit<WidgetProps, 'tenant'> & {
129
129
  onLogout?: (e: CustomEvent) => void;
130
+ /**
131
+ * The auth domain does not know this user, so the app should sign them in.
132
+ * Not a logout: this app's own session is untouched.
133
+ */
134
+ onFlowPopupUnauthenticated?: (e: CustomEvent) => void;
130
135
  };
131
136
  export type ApplicationsPortalProps = Omit<WidgetProps, 'tenant'> & {
132
137
  onLogout?: (e: CustomEvent) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/react-sdk",
3
- "version": "3.4.7",
3
+ "version": "3.5.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,18 +49,18 @@
49
49
  ]
50
50
  },
51
51
  "dependencies": {
52
- "@descope/applications-portal-widget": "0.9.15",
53
- "@descope/access-key-management-widget": "0.10.15",
54
- "@descope/audit-management-widget": "0.9.15",
52
+ "@descope/access-key-management-widget": "0.10.17",
53
+ "@descope/applications-portal-widget": "0.9.17",
55
54
  "@descope/core-js-sdk": "2.77.0",
56
- "@descope/outbound-applications-widget": "0.7.18",
57
- "@descope/sdk-helpers": "0.10.1",
58
- "@descope/role-management-widget": "0.10.15",
59
- "@descope/tenant-profile-widget": "0.11.12",
60
- "@descope/user-profile-widget": "0.20.3",
61
- "@descope/web-js-sdk": "1.54.4",
62
- "@descope/user-management-widget": "0.21.9",
63
- "@descope/web-component": "4.6.1"
55
+ "@descope/outbound-applications-widget": "0.7.20",
56
+ "@descope/role-management-widget": "0.10.17",
57
+ "@descope/sdk-helpers": "0.11.0",
58
+ "@descope/audit-management-widget": "0.9.17",
59
+ "@descope/user-management-widget": "0.21.11",
60
+ "@descope/web-component": "4.6.3",
61
+ "@descope/web-js-sdk": "1.54.5",
62
+ "@descope/user-profile-widget": "0.21.0",
63
+ "@descope/tenant-profile-widget": "0.11.14"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@babel/core": "7.29.6",