@jetthai/cuora 1.1.273-withdraw-3 → 1.1.273-withdraw-4

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.273-withdraw-4](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-3...v1.1.273-withdraw-4) (2024-05-29)
6
+
5
7
  ### [1.1.273-withdraw-3](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-2...v1.1.273-withdraw-3) (2024-05-29)
6
8
 
7
9
  ### [1.1.273](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-2...v1.1.273) (2024-05-29)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.273-withdraw-3",
3
+ "version": "1.1.273-withdraw-4",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -163,12 +163,12 @@ export default {
163
163
  method: 'post',
164
164
  params: { transferType: 'DEPOSIT', amount, promotionsNo },
165
165
  }),
166
- submitWithdrawTransactionCrypto: ({ method, amount, cryptoCurrency, cryptoNetwork, targetAddress }) => ({
166
+ submitWithdrawTransactionCrypto: ({ method, amount, cryptoCurrency, cryptoNetwork, targetAddress, applyerHolderName }) => ({
167
167
  url: `payment/v2/${method}/transaction`,
168
168
  method: 'post',
169
- params: { transferType: 'WITHDRAW', amount, cryptoCurrency, cryptoNetwork, targetAddress },
169
+ params: { transferType: 'WITHDRAW', amount, cryptoCurrency, cryptoNetwork, targetAddress, applyerHolderName },
170
170
  }),
171
- submitWithdrawTransactionVN: ({ method, amount, applyerBankCode, applyerAccountNumber, branch, holderName }) => ({
171
+ submitWithdrawTransactionVN: ({ method, amount, applyerBankCode, applyerAccountNumber, branch, applyerHolderName }) => ({
172
172
  url: `payment/v2/${method}/transaction`,
173
173
  method: 'post',
174
174
  params: {
@@ -177,7 +177,7 @@ export default {
177
177
  applyerBankCode,
178
178
  applyerAccountNumber,
179
179
  branch,
180
- holderName,
180
+ applyerHolderName,
181
181
  },
182
182
  }),
183
183
  submitWithdrawTransactionAmb: ({ method, amount }) => ({
@@ -286,7 +286,7 @@ export default function (request, context) {
286
286
  applyerBankCode: selectedUserBank.bankCode,
287
287
  applyerAccountNumber: selectedUserBank.accountNumber,
288
288
  branch: branchTemp,
289
- holderName: selectedUserBank.holderName,
289
+ applyerHolderName: selectedUserBank.holderName,
290
290
  })
291
291
  )
292
292
  },
@@ -300,7 +300,7 @@ export default function (request, context) {
300
300
  cryptoCurrency: selectedUserBank.cryptoCurrency,
301
301
  cryptoNetwork: selectedUserBank.cryptoNetwork,
302
302
  targetAddress: selectedUserBank.cryptoAddress,
303
- holderName: selectedUserBank.holderName,
303
+ applyerHolderName: selectedUserBank.holderName,
304
304
  })
305
305
  )
306
306
  },