@jetthai/cuora 1.1.330 → 1.1.332-dev-1
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 +24 -0
- package/package.json +1 -1
- package/src/api/game.js +8 -0
- package/src/machine/activity/instant_rebate_activity.js +3 -0
- package/src/machine/activity/specify_bets_activity.js +23 -2
- package/src/machine/game_replay.js +46 -0
- package/src/machine/index.js +2 -0
- package/src/machine/withdraw/withdraw_krway.js +22 -20
- package/src/machine/withdraw/withdraw_manual.js +22 -22
- package/src/machine/withdraw/withdraw_vn.js +22 -20
- package/src/machine/withdraw/withdraw_vn2.js +22 -20
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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.332-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-9...v1.1.332-dev-1) (2024-12-26)
|
|
6
|
+
|
|
7
|
+
### [1.1.330-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-8...v1.1.330-dev-9) (2024-12-26)
|
|
8
|
+
|
|
9
|
+
### [1.1.332](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-7...v1.1.332) (2024-12-24)
|
|
10
|
+
|
|
11
|
+
### [1.1.331](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-6...v1.1.331) (2024-12-24)
|
|
12
|
+
|
|
13
|
+
### [1.1.330-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-7...v1.1.330-dev-8) (2024-12-25)
|
|
14
|
+
|
|
15
|
+
### [1.1.330-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-6...v1.1.330-dev-7) (2024-12-24)
|
|
16
|
+
|
|
17
|
+
### [1.1.330-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-5...v1.1.330-dev-6) (2024-12-23)
|
|
18
|
+
|
|
19
|
+
### [1.1.330-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-4...v1.1.330-dev-5) (2024-12-23)
|
|
20
|
+
|
|
21
|
+
### [1.1.330-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-3...v1.1.330-dev-4) (2024-12-19)
|
|
22
|
+
|
|
23
|
+
### [1.1.330-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.330-dev-2...v1.1.330-dev-3) (2024-12-19)
|
|
24
|
+
|
|
25
|
+
### [1.1.330-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.330-1...v1.1.330-dev-2) (2024-12-18)
|
|
26
|
+
|
|
27
|
+
### [1.1.330-1](https://github.com/jetthai/cuora-module/compare/v1.1.330...v1.1.330-1) (2024-12-18)
|
|
28
|
+
|
|
5
29
|
### [1.1.330](https://github.com/jetthai/cuora-module/compare/v1.1.329...v1.1.330) (2024-12-11)
|
|
6
30
|
|
|
7
31
|
### [1.1.329](https://github.com/jetthai/cuora-module/compare/v1.1.328...v1.1.329) (2024-12-10)
|
package/package.json
CHANGED
package/src/api/game.js
CHANGED
|
@@ -92,4 +92,12 @@ export default {
|
|
|
92
92
|
addListFavorite: (code) => ({ method: 'post', url: 'game/list/v3/addMyFavorite', params: { games: [code] } }),
|
|
93
93
|
removeListFavorite: (code) => ({ method: 'post', url: 'game/list/v3/removeMyFavorite', params: { games: [code] } }),
|
|
94
94
|
getGameInfo: ({ appSecret, gameCode }) => ({ method: 'get', url: 'game/info', params: { appSecret, gameCode } }),
|
|
95
|
+
getGameReplayInfo: ({ providerId, seqNo, lang }) => ({
|
|
96
|
+
method: 'get',
|
|
97
|
+
url: 'game/gameReplay',
|
|
98
|
+
params: { providerId, seqNo, lang },
|
|
99
|
+
isPublic: true,
|
|
100
|
+
}),
|
|
101
|
+
getFreeGameList: () => ({ method: 'get', url: 'activities/getFreeGameRewardList' }),
|
|
102
|
+
getFreeGameReward: ({ activityNo, receiveNo }) => ({ method: 'post', url: 'activities/getFreeGameReward', params: { activityNo, receiveNo } }),
|
|
95
103
|
}
|
|
@@ -25,6 +25,7 @@ export default function (request) {
|
|
|
25
25
|
reachedAmountLimit: false,
|
|
26
26
|
activityNo: null,
|
|
27
27
|
claimResultData: null,
|
|
28
|
+
rebateDistributionTime: 0,
|
|
28
29
|
},
|
|
29
30
|
initial: 'idle',
|
|
30
31
|
states: {
|
|
@@ -131,6 +132,7 @@ export default function (request) {
|
|
|
131
132
|
remainingCount = 0,
|
|
132
133
|
dailyRedemptionLimit = 0,
|
|
133
134
|
reachedAmountLimit = false,
|
|
135
|
+
rebateDistributionTime = 0,
|
|
134
136
|
} = event.data
|
|
135
137
|
|
|
136
138
|
return {
|
|
@@ -151,6 +153,7 @@ export default function (request) {
|
|
|
151
153
|
remainingCount,
|
|
152
154
|
dailyRedemptionLimit,
|
|
153
155
|
reachedAmountLimit,
|
|
156
|
+
rebateDistributionTime,
|
|
154
157
|
}
|
|
155
158
|
}),
|
|
156
159
|
setClaimesult: assign((context, event) => {
|
|
@@ -50,8 +50,21 @@ export default function (request, context) {
|
|
|
50
50
|
},
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
-
received: {
|
|
53
|
+
received: {
|
|
54
|
+
entry: 'setDuration',
|
|
55
|
+
after: {
|
|
56
|
+
1000: {
|
|
57
|
+
target: 'received',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
54
61
|
receivable: {
|
|
62
|
+
entry: 'setDuration',
|
|
63
|
+
after: {
|
|
64
|
+
1000: {
|
|
65
|
+
target: 'receivable',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
55
68
|
on: {
|
|
56
69
|
RECEIVE_REWARD: {
|
|
57
70
|
target: 'receiving',
|
|
@@ -102,8 +115,16 @@ export default function (request, context) {
|
|
|
102
115
|
context.callback(event.data.type)
|
|
103
116
|
},
|
|
104
117
|
setDuration: assign((context, event) => {
|
|
118
|
+
let endTime = 0
|
|
119
|
+
if (context?.activityDetail?.taskTimer) {
|
|
120
|
+
const taskTimer = context?.activityDetail?.taskTimer * 60 * 60 * 1000
|
|
121
|
+
const registerTime = context?.activityDetail?.registerTime
|
|
122
|
+
endTime = (taskTimer + registerTime) / 1000
|
|
123
|
+
} else {
|
|
124
|
+
endTime = context?.activityDetail?.activityEndTime
|
|
125
|
+
}
|
|
105
126
|
return {
|
|
106
|
-
duration: Math.max(
|
|
127
|
+
duration: Math.max(endTime - new Date().getTime() / 1000, 0),
|
|
107
128
|
}
|
|
108
129
|
}),
|
|
109
130
|
},
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { assign, createMachine } from 'xstate'
|
|
2
|
+
import game from '../api/game.js'
|
|
3
|
+
|
|
4
|
+
export default function (request, context) {
|
|
5
|
+
// const { appSecret } = request.config
|
|
6
|
+
const { providerId, seqNo, lang } = context
|
|
7
|
+
return createMachine(
|
|
8
|
+
{
|
|
9
|
+
id: 'game_replay',
|
|
10
|
+
initial: 'fetching',
|
|
11
|
+
context: {
|
|
12
|
+
gameReplayInfo: {},
|
|
13
|
+
},
|
|
14
|
+
states: {
|
|
15
|
+
fetching: {
|
|
16
|
+
invoke: {
|
|
17
|
+
src: 'fetchGameReplayInfo',
|
|
18
|
+
onDone: {
|
|
19
|
+
target: 'idle',
|
|
20
|
+
actions: 'setGameReplayInfo',
|
|
21
|
+
},
|
|
22
|
+
onError: {
|
|
23
|
+
target: 'idle',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
idle: {},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
actions: {
|
|
32
|
+
setGameReplayInfo: assign((context, event) => {
|
|
33
|
+
return {
|
|
34
|
+
gameReplayInfo: event.data.data,
|
|
35
|
+
}
|
|
36
|
+
}),
|
|
37
|
+
},
|
|
38
|
+
services: {
|
|
39
|
+
// 取得遊戲重播資訊
|
|
40
|
+
fetchGameReplayInfo: async (context, event) => {
|
|
41
|
+
return await request.send(game.getGameReplayInfo({ providerId, seqNo, lang }))
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
}
|
package/src/machine/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import game_search_cash from './game_search_cash.js'
|
|
|
9
9
|
import game_search_v2 from './game_search_v2.js'
|
|
10
10
|
import game_hot_new from './game_hot_new.js'
|
|
11
11
|
import game_info from './game_info.js'
|
|
12
|
+
import game_replay from './game_replay.js'
|
|
12
13
|
import inbox from './inbox.js'
|
|
13
14
|
import merge from './merge.js'
|
|
14
15
|
import payment_data from './payment_data.js'
|
|
@@ -49,6 +50,7 @@ export default {
|
|
|
49
50
|
game_search_v2,
|
|
50
51
|
game_hot_new,
|
|
51
52
|
game_info,
|
|
53
|
+
game_replay,
|
|
52
54
|
inbox,
|
|
53
55
|
merge,
|
|
54
56
|
payment_data,
|
|
@@ -58,39 +58,35 @@ export default function (request) {
|
|
|
58
58
|
src: 'withdrawCheck',
|
|
59
59
|
onDone: [
|
|
60
60
|
{
|
|
61
|
-
target: '
|
|
62
|
-
cond: 'isNotWithdrawMinDepositAmount',
|
|
61
|
+
target: 'checkingWithdrawStatus',
|
|
63
62
|
actions: assign((context, event) => {
|
|
64
63
|
return {
|
|
65
64
|
withdrawCheck: event.data,
|
|
66
65
|
}
|
|
67
66
|
}),
|
|
68
67
|
},
|
|
69
|
-
{
|
|
70
|
-
target: 'passWithdrawCooldownTime',
|
|
71
|
-
cond: 'isPassWithdrawCooldownTime',
|
|
72
|
-
actions: assign((context, event) => {
|
|
73
|
-
return {
|
|
74
|
-
withdrawCheck: event.data,
|
|
75
|
-
}
|
|
76
|
-
}),
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
target: 'notWithdrawable',
|
|
80
|
-
cond: 'isNotWithdrawable',
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
target: 'withdrawable',
|
|
84
|
-
},
|
|
85
68
|
],
|
|
86
69
|
onError: {
|
|
87
70
|
target: '#withdraw_krway.fail',
|
|
88
71
|
},
|
|
89
72
|
},
|
|
90
73
|
},
|
|
74
|
+
checkingWithdrawStatus: {
|
|
75
|
+
always: [
|
|
76
|
+
// 提款最低存款金額
|
|
77
|
+
{ target: 'notWithdrawMinDepositAmount', cond: 'isNotWithdrawMinDepositAmount' },
|
|
78
|
+
// 提款冷卻時間
|
|
79
|
+
{ target: 'passWithdrawCooldownTime', cond: 'isPassWithdrawCooldownTime' },
|
|
80
|
+
// 提款服務時間
|
|
81
|
+
{ target: 'withdrawServiceTime', cond: 'isNotWIthdrawServiceTime' },
|
|
82
|
+
{ target: 'notWithdrawable', cond: 'isNotWithdrawable' },
|
|
83
|
+
{ target: 'withdrawable' },
|
|
84
|
+
],
|
|
85
|
+
},
|
|
91
86
|
notWithdrawMinDepositAmount: {},
|
|
92
87
|
passWithdrawCooldownTime: {},
|
|
93
88
|
inProcessing: {},
|
|
89
|
+
withdrawServiceTime: {},
|
|
94
90
|
notWithdrawable: {},
|
|
95
91
|
withdrawable: {
|
|
96
92
|
on: {
|
|
@@ -180,10 +176,16 @@ export default function (request) {
|
|
|
180
176
|
return !enableWithdraw || balance < minWithdrawAmount
|
|
181
177
|
},
|
|
182
178
|
isNotWithdrawMinDepositAmount: (context, event) => {
|
|
183
|
-
|
|
179
|
+
const { withdrawCheck } = context
|
|
180
|
+
return !withdrawCheck?.passDepositeLimit
|
|
184
181
|
},
|
|
185
182
|
isPassWithdrawCooldownTime: (context, event) => {
|
|
186
|
-
|
|
183
|
+
const { withdrawCheck } = context
|
|
184
|
+
return !withdrawCheck?.passWithdrawCooldownTime
|
|
185
|
+
},
|
|
186
|
+
isNotWIthdrawServiceTime: (context, event) => {
|
|
187
|
+
const { withdrawCheck } = context
|
|
188
|
+
return !withdrawCheck?.withdrawInServiceTime
|
|
187
189
|
},
|
|
188
190
|
},
|
|
189
191
|
services: {
|
|
@@ -168,41 +168,35 @@ export default function (request) {
|
|
|
168
168
|
invoke: {
|
|
169
169
|
src: 'withdrawCheck',
|
|
170
170
|
onDone: [
|
|
171
|
-
// 提款最低存款金額
|
|
172
171
|
{
|
|
173
|
-
target: '
|
|
174
|
-
cond: 'isNotWithdrawMinDepositAmount',
|
|
172
|
+
target: 'checkingWithdrawStatus',
|
|
175
173
|
actions: assign((context, event) => {
|
|
176
174
|
return {
|
|
177
175
|
withdrawCheck: event.data,
|
|
178
176
|
}
|
|
179
177
|
}),
|
|
180
178
|
},
|
|
181
|
-
// 提款冷卻時間
|
|
182
|
-
{
|
|
183
|
-
target: 'passWithdrawCooldownTime',
|
|
184
|
-
cond: 'isPassWithdrawCooldownTime',
|
|
185
|
-
actions: assign((context, event) => {
|
|
186
|
-
return {
|
|
187
|
-
withdrawCheck: event.data,
|
|
188
|
-
}
|
|
189
|
-
}),
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
target: 'notWithdrawable',
|
|
193
|
-
cond: 'isNotWithdrawable',
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
target: 'withdrawable',
|
|
197
|
-
},
|
|
198
179
|
],
|
|
199
180
|
onError: {
|
|
200
181
|
target: '#withdraw_manual.fail',
|
|
201
182
|
},
|
|
202
183
|
},
|
|
203
184
|
},
|
|
185
|
+
checkingWithdrawStatus: {
|
|
186
|
+
always: [
|
|
187
|
+
// 提款最低存款金額
|
|
188
|
+
{ target: 'notWithdrawMinDepositAmount', cond: 'isNotWithdrawMinDepositAmount' },
|
|
189
|
+
// 提款冷卻時間
|
|
190
|
+
{ target: 'passWithdrawCooldownTime', cond: 'isPassWithdrawCooldownTime' },
|
|
191
|
+
// 提款服務時間
|
|
192
|
+
{ target: 'withdrawServiceTime', cond: 'isNotWIthdrawServiceTime' },
|
|
193
|
+
{ target: 'notWithdrawable', cond: 'isNotWithdrawable' },
|
|
194
|
+
{ target: 'withdrawable' },
|
|
195
|
+
],
|
|
196
|
+
},
|
|
204
197
|
notWithdrawMinDepositAmount: {},
|
|
205
198
|
passWithdrawCooldownTime: {},
|
|
199
|
+
withdrawServiceTime: {},
|
|
206
200
|
notWithdrawable: {},
|
|
207
201
|
unbound: {
|
|
208
202
|
// to bank_binding.js
|
|
@@ -525,10 +519,16 @@ export default function (request) {
|
|
|
525
519
|
return event.data?.status === 'otp-verifying'
|
|
526
520
|
},
|
|
527
521
|
isNotWithdrawMinDepositAmount: (context, event) => {
|
|
528
|
-
|
|
522
|
+
const { withdrawCheck } = context
|
|
523
|
+
return !withdrawCheck?.passDepositeLimit
|
|
529
524
|
},
|
|
530
525
|
isPassWithdrawCooldownTime: (context, event) => {
|
|
531
|
-
|
|
526
|
+
const { withdrawCheck } = context
|
|
527
|
+
return !withdrawCheck?.passWithdrawCooldownTime
|
|
528
|
+
},
|
|
529
|
+
isNotWIthdrawServiceTime: (context, event) => {
|
|
530
|
+
const { withdrawCheck } = context
|
|
531
|
+
return !withdrawCheck?.withdrawInServiceTime
|
|
532
532
|
},
|
|
533
533
|
},
|
|
534
534
|
services: {
|
|
@@ -142,38 +142,34 @@ export default function (request) {
|
|
|
142
142
|
src: 'withdrawCheck',
|
|
143
143
|
onDone: [
|
|
144
144
|
{
|
|
145
|
-
target: '
|
|
146
|
-
cond: 'isNotWithdrawMinDepositAmount',
|
|
145
|
+
target: 'checkingWithdrawStatus',
|
|
147
146
|
actions: assign((context, event) => {
|
|
148
147
|
return {
|
|
149
148
|
withdrawCheck: event.data,
|
|
150
149
|
}
|
|
151
150
|
}),
|
|
152
151
|
},
|
|
153
|
-
{
|
|
154
|
-
target: 'passWithdrawCooldownTime',
|
|
155
|
-
cond: 'isPassWithdrawCooldownTime',
|
|
156
|
-
actions: assign((context, event) => {
|
|
157
|
-
return {
|
|
158
|
-
withdrawCheck: event.data,
|
|
159
|
-
}
|
|
160
|
-
}),
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
target: 'notWithdrawable',
|
|
164
|
-
cond: 'isNotWithdrawable',
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
target: 'withdrawable',
|
|
168
|
-
},
|
|
169
152
|
],
|
|
170
153
|
onError: {
|
|
171
154
|
target: '#withdraw_vn.fail',
|
|
172
155
|
},
|
|
173
156
|
},
|
|
174
157
|
},
|
|
158
|
+
checkingWithdrawStatus: {
|
|
159
|
+
always: [
|
|
160
|
+
// 提款最低存款金額
|
|
161
|
+
{ target: 'notWithdrawMinDepositAmount', cond: 'isNotWithdrawMinDepositAmount' },
|
|
162
|
+
// 提款冷卻時間
|
|
163
|
+
{ target: 'passWithdrawCooldownTime', cond: 'isPassWithdrawCooldownTime' },
|
|
164
|
+
// 提款服務時間
|
|
165
|
+
{ target: 'withdrawServiceTime', cond: 'isNotWIthdrawServiceTime' },
|
|
166
|
+
{ target: 'notWithdrawable', cond: 'isNotWithdrawable' },
|
|
167
|
+
{ target: 'withdrawable' },
|
|
168
|
+
],
|
|
169
|
+
},
|
|
175
170
|
notWithdrawMinDepositAmount: {},
|
|
176
171
|
passWithdrawCooldownTime: {},
|
|
172
|
+
withdrawServiceTime: {},
|
|
177
173
|
notWithdrawable: {},
|
|
178
174
|
unbound: {
|
|
179
175
|
// to bank_binding.js
|
|
@@ -459,10 +455,16 @@ export default function (request) {
|
|
|
459
455
|
},
|
|
460
456
|
isNewWalletMode: (context, event) => context.siteConfig.walletMode > 0,
|
|
461
457
|
isNotWithdrawMinDepositAmount: (context, event) => {
|
|
462
|
-
|
|
458
|
+
const { withdrawCheck } = context
|
|
459
|
+
return !withdrawCheck?.passDepositeLimit
|
|
463
460
|
},
|
|
464
461
|
isPassWithdrawCooldownTime: (context, event) => {
|
|
465
|
-
|
|
462
|
+
const { withdrawCheck } = context
|
|
463
|
+
return !withdrawCheck?.passWithdrawCooldownTime
|
|
464
|
+
},
|
|
465
|
+
isNotWIthdrawServiceTime: (context, event) => {
|
|
466
|
+
const { withdrawCheck } = context
|
|
467
|
+
return !withdrawCheck?.withdrawInServiceTime
|
|
466
468
|
},
|
|
467
469
|
},
|
|
468
470
|
services: {
|
|
@@ -170,38 +170,34 @@ export default function (request) {
|
|
|
170
170
|
src: 'withdrawCheck',
|
|
171
171
|
onDone: [
|
|
172
172
|
{
|
|
173
|
-
target: '
|
|
174
|
-
cond: 'isNotWithdrawMinDepositAmount',
|
|
173
|
+
target: 'checkingWithdrawStatus',
|
|
175
174
|
actions: assign((context, event) => {
|
|
176
175
|
return {
|
|
177
176
|
withdrawCheck: event.data,
|
|
178
177
|
}
|
|
179
178
|
}),
|
|
180
179
|
},
|
|
181
|
-
{
|
|
182
|
-
target: 'passWithdrawCooldownTime',
|
|
183
|
-
cond: 'isPassWithdrawCooldownTime',
|
|
184
|
-
actions: assign((context, event) => {
|
|
185
|
-
return {
|
|
186
|
-
withdrawCheck: event.data,
|
|
187
|
-
}
|
|
188
|
-
}),
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
target: 'notWithdrawable',
|
|
192
|
-
cond: 'isNotWithdrawable',
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
target: 'withdrawable',
|
|
196
|
-
},
|
|
197
180
|
],
|
|
198
181
|
onError: {
|
|
199
182
|
target: '#withdraw_vn2.fail',
|
|
200
183
|
},
|
|
201
184
|
},
|
|
202
185
|
},
|
|
186
|
+
checkingWithdrawStatus: {
|
|
187
|
+
always: [
|
|
188
|
+
// 提款最低存款金額
|
|
189
|
+
{ target: 'notWithdrawMinDepositAmount', cond: 'isNotWithdrawMinDepositAmount' },
|
|
190
|
+
// 提款冷卻時間
|
|
191
|
+
{ target: 'passWithdrawCooldownTime', cond: 'isPassWithdrawCooldownTime' },
|
|
192
|
+
// 提款服務時間
|
|
193
|
+
{ target: 'withdrawServiceTime', cond: 'isNotWIthdrawServiceTime' },
|
|
194
|
+
{ target: 'notWithdrawable', cond: 'isNotWithdrawable' },
|
|
195
|
+
{ target: 'withdrawable' },
|
|
196
|
+
],
|
|
197
|
+
},
|
|
203
198
|
notWithdrawMinDepositAmount: {},
|
|
204
199
|
passWithdrawCooldownTime: {},
|
|
200
|
+
withdrawServiceTime: {},
|
|
205
201
|
notWithdrawable: {},
|
|
206
202
|
unbound: {
|
|
207
203
|
// to bank_binding.js
|
|
@@ -484,10 +480,16 @@ export default function (request) {
|
|
|
484
480
|
return event.data?.status === 'otp-verifying'
|
|
485
481
|
},
|
|
486
482
|
isNotWithdrawMinDepositAmount: (context, event) => {
|
|
487
|
-
|
|
483
|
+
const { withdrawCheck } = context
|
|
484
|
+
return !withdrawCheck?.passDepositeLimit
|
|
488
485
|
},
|
|
489
486
|
isPassWithdrawCooldownTime: (context, event) => {
|
|
490
|
-
|
|
487
|
+
const { withdrawCheck } = context
|
|
488
|
+
return !withdrawCheck?.passWithdrawCooldownTime
|
|
489
|
+
},
|
|
490
|
+
isNotWIthdrawServiceTime: (context, event) => {
|
|
491
|
+
const { withdrawCheck } = context
|
|
492
|
+
return !withdrawCheck?.withdrawInServiceTime
|
|
491
493
|
},
|
|
492
494
|
},
|
|
493
495
|
services: {
|