@jetthai/cuora 1.1.259-auth-1 → 1.1.259
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/CHANGELOG.md +0 -2
- package/package.json +1 -1
- package/src/machine/auth.js +1 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [1.1.259-auth-1](https://github.com/jetthai/cuora-module/compare/v1.1.259...v1.1.259-auth-1) (2024-05-08)
|
|
6
|
-
|
|
7
5
|
### [1.1.259](https://github.com/jetthai/cuora-module/compare/v1.1.258...v1.1.259) (2024-05-07)
|
|
8
6
|
|
|
9
7
|
### [1.1.258](https://github.com/jetthai/cuora-module/compare/v1.1.257...v1.1.258) (2024-05-07)
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -100,7 +100,7 @@ export default function (request) {
|
|
|
100
100
|
invoke: {
|
|
101
101
|
src: 'fetchUserInfo',
|
|
102
102
|
onDone: {
|
|
103
|
-
target: '
|
|
103
|
+
target: 'inline',
|
|
104
104
|
actions: ['setUserInfo', 'extendToken'],
|
|
105
105
|
},
|
|
106
106
|
onError: {
|
|
@@ -108,13 +108,6 @@ export default function (request) {
|
|
|
108
108
|
},
|
|
109
109
|
},
|
|
110
110
|
},
|
|
111
|
-
loginSuccess: {
|
|
112
|
-
after: {
|
|
113
|
-
0: {
|
|
114
|
-
target: 'tokenAuthenticated',
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
111
|
tokenAuthenticated: {
|
|
119
112
|
invoke: {
|
|
120
113
|
src: 'fetchUserInfo',
|