@ttoss/react-auth 2.5.0 → 2.5.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/esm/index.js +1 -1
- package/package.json +7 -7
package/dist/esm/index.js
CHANGED
|
@@ -959,7 +959,7 @@ var AuthLogic = props => {
|
|
|
959
959
|
} = useNotifications2();
|
|
960
960
|
React5.useEffect(() => {
|
|
961
961
|
clearNotifications();
|
|
962
|
-
}, [state, clearNotifications]);
|
|
962
|
+
}, [state.value, clearNotifications]);
|
|
963
963
|
React5.useEffect(() => {
|
|
964
964
|
return clearNotifications;
|
|
965
965
|
}, [clearNotifications]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/react-auth",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "ttoss authentication module for React apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@xstate/react": "^3.2.2",
|
|
29
29
|
"xstate": "^4.38.3",
|
|
30
|
-
"@ttoss/forms": "^0.28.
|
|
30
|
+
"@ttoss/forms": "^0.28.9"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"aws-amplify": "^6.0.0",
|
|
34
34
|
"react": ">=16.8.0",
|
|
35
35
|
"@ttoss/react-i18n": "^2.0.9",
|
|
36
|
-
"@ttoss/
|
|
37
|
-
"@ttoss/
|
|
36
|
+
"@ttoss/ui": "^5.2.1",
|
|
37
|
+
"@ttoss/react-notifications": "^2.1.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@jest/globals": "^29.7.0",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"react": "^19.0.0",
|
|
45
45
|
"tsup": "^8.3.5",
|
|
46
46
|
"@ttoss/cloud-auth": "^0.12.27",
|
|
47
|
-
"@ttoss/i18n-cli": "^0.7.26",
|
|
48
47
|
"@ttoss/config": "^1.35.2",
|
|
48
|
+
"@ttoss/i18n-cli": "^0.7.26",
|
|
49
|
+
"@ttoss/react-notifications": "^2.1.2",
|
|
49
50
|
"@ttoss/react-i18n": "^2.0.9",
|
|
50
|
-
"@ttoss/react-notifications": "^2.1.0",
|
|
51
51
|
"@ttoss/test-utils": "^2.1.22",
|
|
52
|
-
"@ttoss/ui": "^5.2.
|
|
52
|
+
"@ttoss/ui": "^5.2.1"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
55
55
|
"React",
|