@descope/react-sdk 2.7.2 → 2.8.1
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/README.md +9 -1
- package/dist/cjs/components/AuthProvider/AuthProvider.js +1 -1
- package/dist/cjs/components/AuthProvider/AuthProvider.js.map +1 -1
- package/dist/cjs/constants.js +1 -1
- package/dist/cjs/hooks/useSession.js +1 -1
- package/dist/cjs/hooks/useSession.js.map +1 -1
- package/dist/cjs/hooks/useUser.js +1 -1
- package/dist/cjs/hooks/useUser.js.map +1 -1
- package/dist/esm/components/AuthProvider/AuthProvider.js +1 -1
- package/dist/esm/components/AuthProvider/AuthProvider.js.map +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/hooks/useSession.js +1 -1
- package/dist/esm/hooks/useSession.js.map +1 -1
- package/dist/esm/hooks/useUser.js +1 -1
- package/dist/esm/hooks/useUser.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +3 -0
- package/dist/types/types.d.ts +1 -0
- package/package.json +10 -10
package/dist/types/sdk.d.ts
CHANGED
|
@@ -1275,6 +1275,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1275
1275
|
}) & {
|
|
1276
1276
|
onSessionTokenChange: (cb: (data: string) => void) => () => any[];
|
|
1277
1277
|
onUserChange: (cb: (data: _1.UserResponse) => void) => () => any[];
|
|
1278
|
+
onIsAuthenticatedChange: (cb: (isAuthenticated: boolean) => void) => () => any[];
|
|
1278
1279
|
}) & {
|
|
1279
1280
|
getLastUserLoginId: () => string;
|
|
1280
1281
|
getLastUserDisplayName: () => string;
|
|
@@ -2505,6 +2506,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2505
2506
|
}) & {
|
|
2506
2507
|
onSessionTokenChange: (cb: (data: string) => void) => () => any[];
|
|
2507
2508
|
onUserChange: (cb: (data: _1.UserResponse) => void) => () => any[];
|
|
2509
|
+
onIsAuthenticatedChange: (cb: (isAuthenticated: boolean) => void) => () => any[];
|
|
2508
2510
|
}) & {
|
|
2509
2511
|
getLastUserLoginId: () => string;
|
|
2510
2512
|
getLastUserDisplayName: () => string;
|
|
@@ -3742,6 +3744,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3742
3744
|
}) & {
|
|
3743
3745
|
onSessionTokenChange: (cb: (data: string) => void) => () => any[];
|
|
3744
3746
|
onUserChange: (cb: (data: _1.UserResponse) => void) => () => any[];
|
|
3747
|
+
onIsAuthenticatedChange: (cb: (isAuthenticated: boolean) => void) => () => any[];
|
|
3745
3748
|
}) & {
|
|
3746
3749
|
getLastUserLoginId: () => string;
|
|
3747
3750
|
getLastUserDisplayName: () => string;
|
package/dist/types/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.1",
|
|
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.2.0",
|
|
53
|
-
"@descope/
|
|
54
|
-
"@descope/role-management-widget": "0.3.
|
|
55
|
-
"@descope/
|
|
56
|
-
"@descope/
|
|
57
|
-
"@descope/user-profile-widget": "0.3.
|
|
58
|
-
"@descope/
|
|
59
|
-
"@descope/
|
|
60
|
-
"@descope/
|
|
61
|
-
"@descope/
|
|
53
|
+
"@descope/audit-management-widget": "0.4.3",
|
|
54
|
+
"@descope/role-management-widget": "0.3.3",
|
|
55
|
+
"@descope/access-key-management-widget": "0.4.3",
|
|
56
|
+
"@descope/user-management-widget": "0.7.3",
|
|
57
|
+
"@descope/user-profile-widget": "0.3.4",
|
|
58
|
+
"@descope/web-component": "3.38.1",
|
|
59
|
+
"@descope/applications-portal-widget": "0.3.3",
|
|
60
|
+
"@descope/web-js-sdk": "1.26.1",
|
|
61
|
+
"@descope/core-js-sdk": "2.37.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/core": "7.26.0",
|