@jetthai/cuora 1.1.422-dev-1 → 1.1.422-dev-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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
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.422-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.422-dev-1...v1.1.422-dev-2) (2026-03-17)
6
+
5
7
  ### [1.1.422-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.422...v1.1.422-dev-1) (2026-03-16)
6
8
 
7
9
  ### [1.1.413-dev-11](https://github.com/jetthai/cuora-module/compare/v1.1.413-dev-10...v1.1.413-dev-11) (2026-03-12)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.422-dev-1",
3
+ "version": "1.1.422-dev-2",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -110,6 +110,28 @@ export default function (request) {
110
110
  },
111
111
  },
112
112
  otpChecking: {
113
+ initial: 'pending',
114
+ states: {
115
+ pending: {
116
+ after: {
117
+ TIMEOUT: {
118
+ target: 'fetching',
119
+ },
120
+ },
121
+ },
122
+ fetching: {
123
+ invoke: {
124
+ src: 'fetchUserInfo',
125
+ onDone: {
126
+ target: 'pending',
127
+ actions: ['setUserInfo', 'extendToken'],
128
+ },
129
+ onError: {
130
+ target: 'pending',
131
+ },
132
+ },
133
+ },
134
+ },
113
135
  on: {
114
136
  OTP_VERIFIED: {
115
137
  target: 'loginSuccess',