@jetthai/cuora 1.1.418 → 1.1.419
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 +2 -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/bonus.js +1 -0
- package/src/machine/deposit/amb.js +1 -0
- package/src/machine/deposit/crypto_bank_cash.js +1 -1
- package/src/machine/deposit/crypto_way_cash.js +4 -3
- 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/withdraw/withdraw_krway.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.419](https://github.com/jetthai/cuora-module/compare/v1.1.418...v1.1.419) (2026-03-09)
|
|
6
|
+
|
|
5
7
|
### [1.1.418](https://github.com/jetthai/cuora-module/compare/v1.1.417...v1.1.418) (2026-03-06)
|
|
6
8
|
|
|
7
9
|
### [1.1.417](https://github.com/jetthai/cuora-module/compare/v1.1.416...v1.1.417) (2026-03-06)
|
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/bonus.js
CHANGED
|
@@ -286,7 +286,7 @@ export default function (request, context) {
|
|
|
286
286
|
method: selectedCrypto.value,
|
|
287
287
|
amount: selectedAmount,
|
|
288
288
|
cryptoCurrency: selectedCrypto.symbol,
|
|
289
|
-
cryptoNetwork: selectedCrypto.
|
|
289
|
+
cryptoNetwork: selectedCrypto.networkCode,
|
|
290
290
|
sourceAddress: selectedCrypto.address,
|
|
291
291
|
promotionsNo: promotion?.promotionsNo,
|
|
292
292
|
depositTime,
|
|
@@ -132,10 +132,11 @@ export default function (request, context) {
|
|
|
132
132
|
const payments = paymentDetail.filter((item) => item.category === context.currentCategory)
|
|
133
133
|
const cryptos = payments.map((payment) => ({
|
|
134
134
|
...payment,
|
|
135
|
-
label: payment.
|
|
136
|
-
network: payment.networkName?.[0],
|
|
135
|
+
label: `${payment?.currency} - ${payment.networks?.[0]?.networkDisplayName}`,
|
|
136
|
+
// network: payment.networkName?.[0], // 改由 networkCode 取代
|
|
137
137
|
value: payment.method,
|
|
138
138
|
icon: payment.channel,
|
|
139
|
+
networkCode: payment.networks?.[0]?.networkCode,
|
|
139
140
|
}))
|
|
140
141
|
|
|
141
142
|
return {
|
|
@@ -245,7 +246,7 @@ export default function (request, context) {
|
|
|
245
246
|
method: selectedCrypto.method,
|
|
246
247
|
amount: selectedAmount,
|
|
247
248
|
cryptoCurrency: selectedCrypto.channel,
|
|
248
|
-
cryptoNetwork: selectedCrypto.
|
|
249
|
+
cryptoNetwork: selectedCrypto.networkCode,
|
|
249
250
|
sourceAddress: sourceAddress,
|
|
250
251
|
promotionsNo: promotion?.promotionsNo,
|
|
251
252
|
})
|