@jetthai/cuora 1.1.258 → 1.1.259

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.259](https://github.com/jetthai/cuora-module/compare/v1.1.258...v1.1.259) (2024-05-07)
6
+
5
7
  ### [1.1.258](https://github.com/jetthai/cuora-module/compare/v1.1.257...v1.1.258) (2024-05-07)
6
8
 
7
9
  ### [1.1.257](https://github.com/jetthai/cuora-module/compare/v1.1.256...v1.1.257) (2024-05-06)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.258",
3
+ "version": "1.1.259",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -91,7 +91,7 @@ export default {
91
91
  method: 'post',
92
92
  params: { transferType: 'DEPOSIT', amount, cryptoCurrency, cryptoNetwork, sourceAddress, promotionsNo, receipt },
93
93
  }),
94
- submitDepositTransactionCryptoBank: ({ method, amount, cryptoCurrency, cryptoNetwork, targetAddress, promotionsNo, depositTime, receipt }) => ({
94
+ submitDepositTransactionCryptoBank: ({ method, amount, cryptoCurrency, cryptoNetwork, sourceAddress, promotionsNo, depositTime, receipt }) => ({
95
95
  url: `payment/v2/${method}/transaction`,
96
96
  method: 'post',
97
97
  params: {
@@ -99,7 +99,7 @@ export default {
99
99
  amount,
100
100
  cryptoCurrency,
101
101
  cryptoNetwork,
102
- targetAddress,
102
+ sourceAddress,
103
103
  promotionsNo,
104
104
  depositTime,
105
105
  receipt,
@@ -248,7 +248,7 @@ export default function (request) {
248
248
  amount: amount,
249
249
  cryptoCurrency: selectedCrypto.symbol,
250
250
  cryptoNetwork: selectedCrypto.network,
251
- targetAddress: selectedCrypto.address,
251
+ sourceAddress: selectedCrypto.address,
252
252
  promotionsNo: promotion?.activityNo,
253
253
  depositTime,
254
254
  receipt,
@@ -217,7 +217,7 @@ export default function (request, context) {
217
217
  amount: selectedAmount,
218
218
  cryptoCurrency: selectedCrypto.symbol,
219
219
  cryptoNetwork: selectedCrypto.network,
220
- targetAddress: selectedCrypto.address,
220
+ sourceAddress: selectedCrypto.address,
221
221
  promotionsNo: promotion?.promotionsNo,
222
222
  depositTime,
223
223
  receipt,