@jetthai/cuora 1.1.15-1 → 1.1.15
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 +0 -2
- package/dist/bundle.mjs +3 -20
- package/package.json +1 -1
- package/src/machine/deposit/loadcard_vn.js +3 -20
package/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
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.15-1](https://github.com/jetthai/cuora-module/compare/v1.1.15...v1.1.15-1) (2023-01-03)
|
|
6
|
-
|
|
7
5
|
### [1.1.15](https://github.com/jetthai/cuora-module/compare/v1.1.14...v1.1.15) (2022-12-24)
|
|
8
6
|
|
|
9
7
|
### [1.1.14](https://github.com/jetthai/cuora-module/compare/v1.1.13...v1.1.14) (2022-12-24)
|
package/dist/bundle.mjs
CHANGED
|
@@ -16293,7 +16293,6 @@ function loadcard_vn (request) {
|
|
|
16293
16293
|
currentCategory: 'loadcard',
|
|
16294
16294
|
currentMethod: null,
|
|
16295
16295
|
currentPayment: null,
|
|
16296
|
-
result: null,
|
|
16297
16296
|
},
|
|
16298
16297
|
states: {
|
|
16299
16298
|
loading: {
|
|
@@ -16370,15 +16369,9 @@ function loadcard_vn (request) {
|
|
|
16370
16369
|
target: 'debouncing',
|
|
16371
16370
|
actions: 'setAmount',
|
|
16372
16371
|
},
|
|
16373
|
-
CONFIRM:
|
|
16374
|
-
|
|
16375
|
-
|
|
16376
|
-
cond: 'jumpLinkEnable',
|
|
16377
|
-
},
|
|
16378
|
-
{
|
|
16379
|
-
target: 'cardInfo',
|
|
16380
|
-
},
|
|
16381
|
-
],
|
|
16372
|
+
CONFIRM: {
|
|
16373
|
+
target: 'cardInfo',
|
|
16374
|
+
},
|
|
16382
16375
|
BACK: {
|
|
16383
16376
|
target: 'loaded',
|
|
16384
16377
|
},
|
|
@@ -16411,7 +16404,6 @@ function loadcard_vn (request) {
|
|
|
16411
16404
|
src: 'submitDeposit',
|
|
16412
16405
|
onDone: {
|
|
16413
16406
|
target: 'submitted',
|
|
16414
|
-
actions: 'setResult',
|
|
16415
16407
|
},
|
|
16416
16408
|
onError: {
|
|
16417
16409
|
target: 'cardInfo',
|
|
@@ -16478,21 +16470,12 @@ function loadcard_vn (request) {
|
|
|
16478
16470
|
calculation: null,
|
|
16479
16471
|
}
|
|
16480
16472
|
}),
|
|
16481
|
-
setResult: assign((context, event) => {
|
|
16482
|
-
return {
|
|
16483
|
-
result: event.data,
|
|
16484
|
-
}
|
|
16485
|
-
}),
|
|
16486
16473
|
},
|
|
16487
16474
|
guards: {
|
|
16488
16475
|
isSubmittable: (context, event) => {
|
|
16489
16476
|
const { cardNumber, serialNumber } = context;
|
|
16490
16477
|
return cardNumber && serialNumber
|
|
16491
16478
|
},
|
|
16492
|
-
jumpLinkEnable: (context, event) => {
|
|
16493
|
-
const { selectedCard } = context;
|
|
16494
|
-
return selectedCard.jumpLinkEnable === 1
|
|
16495
|
-
},
|
|
16496
16479
|
},
|
|
16497
16480
|
services: {
|
|
16498
16481
|
fetchInitData: async (context, event) => {
|
package/package.json
CHANGED
|
@@ -21,7 +21,6 @@ export default function (request) {
|
|
|
21
21
|
currentCategory: 'loadcard',
|
|
22
22
|
currentMethod: null,
|
|
23
23
|
currentPayment: null,
|
|
24
|
-
result: null,
|
|
25
24
|
},
|
|
26
25
|
states: {
|
|
27
26
|
loading: {
|
|
@@ -98,15 +97,9 @@ export default function (request) {
|
|
|
98
97
|
target: 'debouncing',
|
|
99
98
|
actions: 'setAmount',
|
|
100
99
|
},
|
|
101
|
-
CONFIRM:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
cond: 'jumpLinkEnable',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
target: 'cardInfo',
|
|
108
|
-
},
|
|
109
|
-
],
|
|
100
|
+
CONFIRM: {
|
|
101
|
+
target: 'cardInfo',
|
|
102
|
+
},
|
|
110
103
|
BACK: {
|
|
111
104
|
target: 'loaded',
|
|
112
105
|
},
|
|
@@ -139,7 +132,6 @@ export default function (request) {
|
|
|
139
132
|
src: 'submitDeposit',
|
|
140
133
|
onDone: {
|
|
141
134
|
target: 'submitted',
|
|
142
|
-
actions: 'setResult',
|
|
143
135
|
},
|
|
144
136
|
onError: {
|
|
145
137
|
target: 'cardInfo',
|
|
@@ -206,21 +198,12 @@ export default function (request) {
|
|
|
206
198
|
calculation: null,
|
|
207
199
|
}
|
|
208
200
|
}),
|
|
209
|
-
setResult: assign((context, event) => {
|
|
210
|
-
return {
|
|
211
|
-
result: event.data,
|
|
212
|
-
}
|
|
213
|
-
}),
|
|
214
201
|
},
|
|
215
202
|
guards: {
|
|
216
203
|
isSubmittable: (context, event) => {
|
|
217
204
|
const { cardNumber, serialNumber } = context
|
|
218
205
|
return cardNumber && serialNumber
|
|
219
206
|
},
|
|
220
|
-
jumpLinkEnable: (context, event) => {
|
|
221
|
-
const { selectedCard } = context
|
|
222
|
-
return selectedCard.jumpLinkEnable === 1
|
|
223
|
-
},
|
|
224
207
|
},
|
|
225
208
|
services: {
|
|
226
209
|
fetchInitData: async (context, event) => {
|