@jetthai/cuora 1.1.425-dev.1 → 1.1.425-qa.0
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,9 +2,7 @@
|
|
|
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.425-
|
|
6
|
-
|
|
7
|
-
### [1.1.425-dev.0](https://github.com/jetthai/cuora-module/compare/v1.1.425...v1.1.425-dev.0) (2026-03-30)
|
|
5
|
+
### [1.1.425-qa.0](https://github.com/jetthai/cuora-module/compare/v1.1.425...v1.1.425-qa.0) (2026-03-30)
|
|
8
6
|
|
|
9
7
|
### Features
|
|
10
8
|
|
|
@@ -20,77 +18,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
20
18
|
|
|
21
19
|
### [1.1.424](https://github.com/jetthai/cuora-module/compare/v1.1.423...v1.1.424) (2026-03-17)
|
|
22
20
|
|
|
23
|
-
### [1.1.
|
|
24
|
-
|
|
25
|
-
### [1.1.422-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.422...v1.1.422-dev-1) (2026-03-16)
|
|
26
|
-
|
|
27
|
-
### [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)
|
|
28
|
-
|
|
29
|
-
### [1.1.413-dev-10](https://github.com/jetthai/cuora-module/compare/v1.1.413-dev-9...v1.1.413-dev-10) (2026-03-11)
|
|
30
|
-
|
|
31
|
-
### [1.1.413-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.421...v1.1.413-dev-9) (2026-03-11)
|
|
32
|
-
|
|
33
|
-
### [1.1.413-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.420...v1.1.413-dev-8) (2026-03-10)
|
|
34
|
-
|
|
35
|
-
### [1.1.413-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.413-6...v1.1.413-dev-7) (2026-03-06)
|
|
36
|
-
|
|
37
|
-
### [1.1.413-6](https://github.com/jetthai/cuora-module/compare/v1.1.416...v1.1.413-6) (2026-03-06)
|
|
38
|
-
|
|
39
|
-
### [1.1.413-5](https://github.com/jetthai/cuora-module/compare/v1.1.413...v1.1.413-5) (2026-03-05)
|
|
40
|
-
|
|
41
|
-
### [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)
|
|
42
|
-
|
|
43
|
-
### [1.1.422-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.422...v1.1.422-dev-1) (2026-03-16)
|
|
44
|
-
|
|
45
|
-
### [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)
|
|
46
|
-
|
|
47
|
-
### [1.1.413-dev-10](https://github.com/jetthai/cuora-module/compare/v1.1.413-dev-9...v1.1.413-dev-10) (2026-03-11)
|
|
48
|
-
|
|
49
|
-
### [1.1.413-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.421...v1.1.413-dev-9) (2026-03-11)
|
|
50
|
-
|
|
51
|
-
### [1.1.413-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.420...v1.1.413-dev-8) (2026-03-10)
|
|
52
|
-
|
|
53
|
-
### [1.1.413-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.413-6...v1.1.413-dev-7) (2026-03-06)
|
|
54
|
-
|
|
55
|
-
### [1.1.413-6](https://github.com/jetthai/cuora-module/compare/v1.1.416...v1.1.413-6) (2026-03-06)
|
|
56
|
-
|
|
57
|
-
### [1.1.413-5](https://github.com/jetthai/cuora-module/compare/v1.1.413...v1.1.413-5) (2026-03-05)
|
|
58
|
-
|
|
59
|
-
### [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)
|
|
60
|
-
|
|
61
|
-
### [1.1.422-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.422...v1.1.422-dev-1) (2026-03-16)
|
|
62
|
-
|
|
63
|
-
### [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)
|
|
64
|
-
|
|
65
|
-
### [1.1.413-dev-10](https://github.com/jetthai/cuora-module/compare/v1.1.413-dev-9...v1.1.413-dev-10) (2026-03-11)
|
|
66
|
-
|
|
67
|
-
### [1.1.413-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.421...v1.1.413-dev-9) (2026-03-11)
|
|
68
|
-
|
|
69
|
-
### [1.1.413-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.420...v1.1.413-dev-8) (2026-03-10)
|
|
70
|
-
|
|
71
|
-
### [1.1.413-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.413-6...v1.1.413-dev-7) (2026-03-06)
|
|
72
|
-
|
|
73
|
-
### [1.1.413-6](https://github.com/jetthai/cuora-module/compare/v1.1.416...v1.1.413-6) (2026-03-06)
|
|
74
|
-
|
|
75
|
-
### [1.1.413-5](https://github.com/jetthai/cuora-module/compare/v1.1.413...v1.1.413-5) (2026-03-05)
|
|
76
|
-
|
|
77
|
-
### [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)
|
|
78
|
-
|
|
79
|
-
### [1.1.422-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.422...v1.1.422-dev-1) (2026-03-16)
|
|
80
|
-
|
|
81
|
-
### [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)
|
|
82
|
-
|
|
83
|
-
### [1.1.413-dev-10](https://github.com/jetthai/cuora-module/compare/v1.1.413-dev-9...v1.1.413-dev-10) (2026-03-11)
|
|
84
|
-
|
|
85
|
-
### [1.1.413-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.421...v1.1.413-dev-9) (2026-03-11)
|
|
86
|
-
|
|
87
|
-
### [1.1.413-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.420...v1.1.413-dev-8) (2026-03-10)
|
|
88
|
-
|
|
89
|
-
### [1.1.413-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.413-6...v1.1.413-dev-7) (2026-03-06)
|
|
90
|
-
|
|
91
|
-
### [1.1.413-6](https://github.com/jetthai/cuora-module/compare/v1.1.416...v1.1.413-6) (2026-03-06)
|
|
92
|
-
|
|
93
|
-
### [1.1.413-5](https://github.com/jetthai/cuora-module/compare/v1.1.413...v1.1.413-5) (2026-03-05)
|
|
21
|
+
### [1.1.423](https://github.com/jetthai/cuora-module/compare/v1.1.422...v1.1.423) (2026-03-17)
|
|
94
22
|
|
|
95
23
|
### [1.1.422](https://github.com/jetthai/cuora-module/compare/v1.1.421...v1.1.422) (2026-03-16)
|
|
96
24
|
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -110,28 +110,6 @@ 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
|
-
},
|
|
135
113
|
on: {
|
|
136
114
|
OTP_VERIFIED: {
|
|
137
115
|
target: 'loginSuccess',
|
|
@@ -251,14 +251,8 @@ export default function (request, context) {
|
|
|
251
251
|
},
|
|
252
252
|
guards: {
|
|
253
253
|
isCalculable: (context, event) => {
|
|
254
|
-
const { selectedCrypto, selectedAddress, selectedAmount } = context
|
|
255
|
-
return
|
|
256
|
-
selectedCrypto &&
|
|
257
|
-
selectedAddress &&
|
|
258
|
-
selectedAmount &&
|
|
259
|
-
selectedCrypto.minimum <= +selectedAmount &&
|
|
260
|
-
+selectedAmount <= selectedCrypto.maximum
|
|
261
|
-
)
|
|
254
|
+
const { selectedCrypto, selectedAddress, cryptoBank, selectedAmount } = context
|
|
255
|
+
return selectedCrypto && selectedAddress && selectedAmount && cryptoBank.minimum <= +selectedAmount && +selectedAmount <= cryptoBank.maximum
|
|
262
256
|
},
|
|
263
257
|
isSubmittable: (context, event) => {
|
|
264
258
|
const { selectedCrypto, selectedAddress, selectedAmount, depositTime, receipt, calculation, siteConfig } = context
|