@jetthai/cuora 1.1.307-dev-1 → 1.1.307-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,10 @@
|
|
|
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.307-dev-2](https://github.com/jetthai/cuora-module/compare/v1.0.307-dev-2...v1.1.307-dev-2) (2024-09-19)
|
|
6
|
+
|
|
7
|
+
### [1.0.307-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.307-dev-1...v1.0.307-dev-2) (2024-09-19)
|
|
8
|
+
|
|
5
9
|
### [1.1.307-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.307...v1.1.307-dev-1) (2024-09-18)
|
|
6
10
|
|
|
7
11
|
### [1.1.307](https://github.com/jetthai/cuora-module/compare/v1.1.306...v1.1.307) (2024-09-16)
|
package/package.json
CHANGED
|
@@ -66,6 +66,15 @@ export default function (request) {
|
|
|
66
66
|
}
|
|
67
67
|
}),
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
target: 'passWithdrawCooldownTime',
|
|
71
|
+
cond: 'isPassWithdrawCooldownTime',
|
|
72
|
+
actions: assign((context, event) => {
|
|
73
|
+
return {
|
|
74
|
+
withdrawCheck: event.data,
|
|
75
|
+
}
|
|
76
|
+
}),
|
|
77
|
+
},
|
|
69
78
|
{
|
|
70
79
|
target: 'notWithdrawable',
|
|
71
80
|
cond: 'isNotWithdrawable',
|
|
@@ -80,6 +89,7 @@ export default function (request) {
|
|
|
80
89
|
},
|
|
81
90
|
},
|
|
82
91
|
notWithdrawMinDepositAmount: {},
|
|
92
|
+
passWithdrawCooldownTime: {},
|
|
83
93
|
inProcessing: {},
|
|
84
94
|
notWithdrawable: {},
|
|
85
95
|
withdrawable: {
|
|
@@ -170,7 +180,10 @@ export default function (request) {
|
|
|
170
180
|
return !enableWithdraw || balance < minWithdrawAmount
|
|
171
181
|
},
|
|
172
182
|
isNotWithdrawMinDepositAmount: (context, event) => {
|
|
173
|
-
return !event.data?.
|
|
183
|
+
return !event.data?.passDepositeLimit
|
|
184
|
+
},
|
|
185
|
+
isPassWithdrawCooldownTime: (context, event) => {
|
|
186
|
+
return !event.data?.passWithdrawCooldownTime
|
|
174
187
|
},
|
|
175
188
|
},
|
|
176
189
|
services: {
|
|
@@ -168,6 +168,7 @@ export default function (request) {
|
|
|
168
168
|
invoke: {
|
|
169
169
|
src: 'withdrawCheck',
|
|
170
170
|
onDone: [
|
|
171
|
+
// 提款最低存款金額
|
|
171
172
|
{
|
|
172
173
|
target: 'notWithdrawMinDepositAmount',
|
|
173
174
|
cond: 'isNotWithdrawMinDepositAmount',
|
|
@@ -177,6 +178,16 @@ export default function (request) {
|
|
|
177
178
|
}
|
|
178
179
|
}),
|
|
179
180
|
},
|
|
181
|
+
// 提款冷卻時間
|
|
182
|
+
{
|
|
183
|
+
target: 'passWithdrawCooldownTime',
|
|
184
|
+
cond: 'isPassWithdrawCooldownTime',
|
|
185
|
+
actions: assign((context, event) => {
|
|
186
|
+
return {
|
|
187
|
+
withdrawCheck: event.data,
|
|
188
|
+
}
|
|
189
|
+
}),
|
|
190
|
+
},
|
|
180
191
|
{
|
|
181
192
|
target: 'notWithdrawable',
|
|
182
193
|
cond: 'isNotWithdrawable',
|
|
@@ -191,6 +202,7 @@ export default function (request) {
|
|
|
191
202
|
},
|
|
192
203
|
},
|
|
193
204
|
notWithdrawMinDepositAmount: {},
|
|
205
|
+
passWithdrawCooldownTime: {},
|
|
194
206
|
notWithdrawable: {},
|
|
195
207
|
unbound: {
|
|
196
208
|
// to bank_binding.js
|
|
@@ -513,7 +525,10 @@ export default function (request) {
|
|
|
513
525
|
return event.data?.status === 'otp-verifying'
|
|
514
526
|
},
|
|
515
527
|
isNotWithdrawMinDepositAmount: (context, event) => {
|
|
516
|
-
return !event.data?.
|
|
528
|
+
return !event.data?.passDepositeLimit
|
|
529
|
+
},
|
|
530
|
+
isPassWithdrawCooldownTime: (context, event) => {
|
|
531
|
+
return !event.data?.passWithdrawCooldownTime
|
|
517
532
|
},
|
|
518
533
|
},
|
|
519
534
|
services: {
|
|
@@ -150,6 +150,15 @@ export default function (request) {
|
|
|
150
150
|
}
|
|
151
151
|
}),
|
|
152
152
|
},
|
|
153
|
+
{
|
|
154
|
+
target: 'passWithdrawCooldownTime',
|
|
155
|
+
cond: 'isPassWithdrawCooldownTime',
|
|
156
|
+
actions: assign((context, event) => {
|
|
157
|
+
return {
|
|
158
|
+
withdrawCheck: event.data,
|
|
159
|
+
}
|
|
160
|
+
}),
|
|
161
|
+
},
|
|
153
162
|
{
|
|
154
163
|
target: 'notWithdrawable',
|
|
155
164
|
cond: 'isNotWithdrawable',
|
|
@@ -164,6 +173,7 @@ export default function (request) {
|
|
|
164
173
|
},
|
|
165
174
|
},
|
|
166
175
|
notWithdrawMinDepositAmount: {},
|
|
176
|
+
passWithdrawCooldownTime: {},
|
|
167
177
|
notWithdrawable: {},
|
|
168
178
|
unbound: {
|
|
169
179
|
// to bank_binding.js
|
|
@@ -449,7 +459,10 @@ export default function (request) {
|
|
|
449
459
|
},
|
|
450
460
|
isNewWalletMode: (context, event) => context.siteConfig.walletMode > 0,
|
|
451
461
|
isNotWithdrawMinDepositAmount: (context, event) => {
|
|
452
|
-
return !event.data?.
|
|
462
|
+
return !event.data?.passDepositeLimit
|
|
463
|
+
},
|
|
464
|
+
isPassWithdrawCooldownTime: (context, event) => {
|
|
465
|
+
return !event.data?.passWithdrawCooldownTime
|
|
453
466
|
},
|
|
454
467
|
},
|
|
455
468
|
services: {
|
|
@@ -178,6 +178,15 @@ export default function (request) {
|
|
|
178
178
|
}
|
|
179
179
|
}),
|
|
180
180
|
},
|
|
181
|
+
{
|
|
182
|
+
target: 'passWithdrawCooldownTime',
|
|
183
|
+
cond: 'isPassWithdrawCooldownTime',
|
|
184
|
+
actions: assign((context, event) => {
|
|
185
|
+
return {
|
|
186
|
+
withdrawCheck: event.data,
|
|
187
|
+
}
|
|
188
|
+
}),
|
|
189
|
+
},
|
|
181
190
|
{
|
|
182
191
|
target: 'notWithdrawable',
|
|
183
192
|
cond: 'isNotWithdrawable',
|
|
@@ -192,6 +201,7 @@ export default function (request) {
|
|
|
192
201
|
},
|
|
193
202
|
},
|
|
194
203
|
notWithdrawMinDepositAmount: {},
|
|
204
|
+
passWithdrawCooldownTime: {},
|
|
195
205
|
notWithdrawable: {},
|
|
196
206
|
unbound: {
|
|
197
207
|
// to bank_binding.js
|
|
@@ -474,7 +484,10 @@ export default function (request) {
|
|
|
474
484
|
return event.data?.status === 'otp-verifying'
|
|
475
485
|
},
|
|
476
486
|
isNotWithdrawMinDepositAmount: (context, event) => {
|
|
477
|
-
return !event.data?.
|
|
487
|
+
return !event.data?.passDepositeLimit
|
|
488
|
+
},
|
|
489
|
+
isPassWithdrawCooldownTime: (context, event) => {
|
|
490
|
+
return !event.data?.passWithdrawCooldownTime
|
|
478
491
|
},
|
|
479
492
|
},
|
|
480
493
|
services: {
|