@jetthai/cuora 1.1.413-dev-1 → 1.1.413-dev-3
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/payment.js +1 -1
- package/src/machine/bank_binding.js +2 -2
- package/src/machine/bank_binding_amb.js +1 -0
- package/src/machine/deposit/amb.js +1 -0
- package/src/machine/deposit/deposit_fc.js +1 -0
- package/src/machine/deposit/float.js +1 -0
- package/src/machine/deposit/vpay.js +1 -0
- package/src/machine/game_v2_1.js +4 -0
- package/src/machine/withdraw/withdraw_krway.js +1 -0
- package/src/machine/withdraw/withdraw_manual_cash.js +1 -1
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.413-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.413...v1.1.413-dev-3) (2026-03-03)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- add null check for appendContent to prevent TypeError ([ba1eabd](https://github.com/jetthai/cuora-module/commit/ba1eabd6a6b42a89fb88d55363f02c37e84a2dd3))
|
|
10
|
+
|
|
11
|
+
### [1.1.410-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.411...v1.1.410-dev-2) (2026-02-05)
|
|
12
|
+
|
|
13
|
+
### [1.1.410-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.410...v1.1.410-dev-1) (2026-02-04)
|
|
14
|
+
|
|
15
|
+
### [1.1.408-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.409...v1.1.408-dev-6) (2026-01-29)
|
|
16
|
+
|
|
17
|
+
### [1.1.408-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-4...v1.1.408-dev-5) (2026-01-26)
|
|
18
|
+
|
|
19
|
+
### [1.1.408-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-3...v1.1.408-dev-4) (2026-01-23)
|
|
20
|
+
|
|
21
|
+
### [1.1.408-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-2...v1.1.408-dev-3) (2026-01-20)
|
|
22
|
+
|
|
23
|
+
### [1.1.408-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.408-dev-1...v1.1.408-dev-2) (2026-01-16)
|
|
24
|
+
|
|
25
|
+
### [1.1.408-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.408...v1.1.408-dev-1) (2026-01-16)
|
|
26
|
+
|
|
27
|
+
### [1.1.413-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.413-dev-1...v1.1.413-dev-2) (2026-02-25)
|
|
28
|
+
|
|
5
29
|
### [1.1.413-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.413...v1.1.413-dev-1) (2026-02-25)
|
|
6
30
|
|
|
7
31
|
### [1.1.410-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.411...v1.1.410-dev-2) (2026-02-05)
|
package/package.json
CHANGED
package/src/api/payment.js
CHANGED
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
params: { ...payload },
|
|
8
8
|
}),
|
|
9
9
|
getTransactionHistoryOptions: () => ({ url: 'payment/v2/category/options', method: 'get' }),
|
|
10
|
-
getPaymentInfo: () => ({ url: `payment/v2/paymentInfo`, method: 'get' }),
|
|
10
|
+
getPaymentInfo: () => ({ url: `payment/v2/paymentInfo`, method: 'get' }), // 棄用
|
|
11
11
|
getBindingPaymentInfo: () => ({ url: `payment/v2/getBindingPaymentInfo`, method: 'get' }),
|
|
12
12
|
updatePaymentInfo: ({
|
|
13
13
|
bankCode,
|
|
@@ -231,7 +231,7 @@ export default function (request) {
|
|
|
231
231
|
fetchInitData: async (context, event) => {
|
|
232
232
|
const [paymentList, paymentInfo] = await Promise.all([
|
|
233
233
|
request.send(payment.getBindingPaymentList({ appSecret })),
|
|
234
|
-
request.send(payment.getPaymentInfo()),
|
|
234
|
+
// request.send(payment.getPaymentInfo()),
|
|
235
235
|
])
|
|
236
236
|
return { paymentList, paymentInfo }
|
|
237
237
|
},
|
|
@@ -258,7 +258,7 @@ export default function (request) {
|
|
|
258
258
|
ifscCode,
|
|
259
259
|
bankCode: bank?.bankCode || '',
|
|
260
260
|
cryptoCurrency: crypto?.symbol || '',
|
|
261
|
-
cryptoNetwork: network?.
|
|
261
|
+
cryptoNetwork: network?.networkCode,
|
|
262
262
|
cryptoAddress: cryptoAddress,
|
|
263
263
|
walletCode: walletCode?.bankCode || '',
|
|
264
264
|
branch: branch === 'BLANK' ? '' : branch, // 'BLANK'會置換成空值
|
package/src/machine/game_v2_1.js
CHANGED
|
@@ -390,6 +390,10 @@ export default function (request) {
|
|
|
390
390
|
}),
|
|
391
391
|
appendContent: assign((context, event) => {
|
|
392
392
|
const { room, additionEnable } = context
|
|
393
|
+
// [防呆] 確保有 categoryId
|
|
394
|
+
if (!room?.categoryId) {
|
|
395
|
+
return
|
|
396
|
+
}
|
|
393
397
|
if (room.categoryId === GAME_SEARCH) {
|
|
394
398
|
return
|
|
395
399
|
} else if (additionEnable) {
|
|
@@ -274,7 +274,7 @@ export default function (request, context) {
|
|
|
274
274
|
method: currentPayment.method,
|
|
275
275
|
amount: selectedAmount,
|
|
276
276
|
cryptoCurrency: selectedUserBank.cryptoCurrency,
|
|
277
|
-
cryptoNetwork: selectedUserBank.
|
|
277
|
+
cryptoNetwork: selectedUserBank.networkCode,
|
|
278
278
|
targetAddress: selectedUserBank.cryptoAddress,
|
|
279
279
|
applyerHolderName: selectedUserBank.holderName,
|
|
280
280
|
})
|