@jetthai/cuora 1.1.413-dev-1 → 1.1.413-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,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.413-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.413-dev-1...v1.1.413-dev-2) (2026-02-25)
6
+
5
7
  ### [1.1.413-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.413...v1.1.413-dev-1) (2026-02-25)
6
8
 
7
9
  ### [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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.413-dev-1",
3
+ "version": "1.1.413-dev-2",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -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?.label || '',
261
+ cryptoNetwork: network?.networkCode,
262
262
  cryptoAddress: cryptoAddress,
263
263
  walletCode: walletCode?.bankCode || '',
264
264
  branch: branch === 'BLANK' ? '' : branch, // 'BLANK'會置換成空值
@@ -1,3 +1,4 @@
1
+ // 棄用
1
2
  import { assign, createMachine } from 'xstate'
2
3
  import payment from '../api/payment.js'
3
4
 
@@ -1,3 +1,4 @@
1
+ // 棄用
1
2
  import { assign, createMachine } from 'xstate'
2
3
  import payment from '../../api/payment.js'
3
4
 
@@ -1,3 +1,4 @@
1
+ // 棄用
1
2
  import { assign, createMachine } from 'xstate'
2
3
  import toNumber from 'lodash/toNumber.js'
3
4
  import payment from '../../api/payment.js'
@@ -1,3 +1,4 @@
1
+ // 棄用
1
2
  import { assign, createMachine } from 'xstate'
2
3
  import payment from '../../api/payment.js'
3
4
  import common from '../../api/common.js'
@@ -1,3 +1,4 @@
1
+ // 棄用
1
2
  import { assign, createMachine } from 'xstate'
2
3
  import payment from '../../api/payment.js'
3
4
  import common from '../../api/common.js'
@@ -1,3 +1,4 @@
1
+ // 棄用
1
2
  import { assign, createMachine } from 'xstate'
2
3
  import findLastIndex from 'lodash/findLastIndex.js'
3
4
  import payment from '../../api/payment.js'