@jetthai/cuora 1.1.408-dev-4 → 1.1.408-dev-6

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 CHANGED
@@ -2,6 +2,18 @@
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.408-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.409...v1.1.408-dev-6) (2026-01-29)
6
+
7
+ ### [1.1.408-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-4...v1.1.408-dev-5) (2026-01-26)
8
+
9
+ ### [1.1.408-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-3...v1.1.408-dev-4) (2026-01-23)
10
+
11
+ ### [1.1.408-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-2...v1.1.408-dev-3) (2026-01-20)
12
+
13
+ ### [1.1.408-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.408...v1.1.408-dev-2) (2026-01-16)
14
+
15
+ ### [1.1.408-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-4...v1.1.408-dev-5) (2026-01-26)
16
+
5
17
  ### [1.1.408-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-3...v1.1.408-dev-4) (2026-01-23)
6
18
 
7
19
  ### [1.1.408-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-2...v1.1.408-dev-3) (2026-01-20)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.408-dev-4",
3
+ "version": "1.1.408-dev-6",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -26,6 +26,6 @@
26
26
  "universal-cookie": "^4.0.4",
27
27
  "url-join": "^4.0.1",
28
28
  "xstate": "^4.25.0",
29
- "socket.io-client": "^4.8.2"
29
+ "socket.io-client": "^4.8.3"
30
30
  }
31
31
  }
@@ -101,7 +101,7 @@ export default function (request) {
101
101
  invoke: {
102
102
  src: 'fetchUserInfo',
103
103
  onDone: {
104
- target: 'loginSuccess',
104
+ target: 'otpChecking',
105
105
  actions: ['setUserInfo', 'extendToken'],
106
106
  },
107
107
  onError: {
@@ -109,6 +109,19 @@ export default function (request) {
109
109
  },
110
110
  },
111
111
  },
112
+ otpChecking: {
113
+ on: {
114
+ OTP_VERIFIED: {
115
+ target: 'loginSuccess',
116
+ },
117
+ OTP_SKIP: {
118
+ target: 'loginSuccess',
119
+ },
120
+ LOGOUT: {
121
+ target: 'leaving',
122
+ },
123
+ },
124
+ },
112
125
  loginSuccess: {
113
126
  after: {
114
127
  0: {