@jetthai/cuora 1.1.163 → 1.1.165

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,10 @@
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.165](https://github.com/jetthai/cuora-module/compare/v1.1.164...v1.1.165) (2023-08-28)
6
+
7
+ ### [1.1.164](https://github.com/jetthai/cuora-module/compare/v1.1.163...v1.1.164) (2023-08-28)
8
+
5
9
  ### [1.1.163](https://github.com/jetthai/cuora-module/compare/v1.1.162...v1.1.163) (2023-08-25)
6
10
 
7
11
  ### [1.1.162](https://github.com/jetthai/cuora-module/compare/v1.1.161...v1.1.162) (2023-08-16)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.163",
3
+ "version": "1.1.165",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -237,7 +237,7 @@ export default function (request, context) {
237
237
  )
238
238
  },
239
239
  submitDeposit: async (context, event) => {
240
- const { selectedCrypto, selectedNetwork, calculation, sourceAddress } = context
240
+ const { selectedCrypto, selectedNetwork, calculation, sourceAddress, promotion } = context
241
241
  return await request.send(
242
242
  payment.submitDepositTransactionCrypto({
243
243
  method: selectedCrypto.method,
@@ -245,6 +245,7 @@ export default function (request, context) {
245
245
  cryptoCurrency: selectedCrypto.channel,
246
246
  cryptoNetwork: selectedNetwork.value,
247
247
  sourceAddress: sourceAddress,
248
+ promotionsNo: promotion?.promotionsNo,
248
249
  })
249
250
  )
250
251
  },
@@ -196,7 +196,7 @@ export default function (request, context) {
196
196
  payment.getDepositExpectedResult({
197
197
  method: selectedDirect.method,
198
198
  amount: selectedAmount,
199
- promotionsNo: promotion?.activityNo,
199
+ promotionsNo: promotion?.promotionsNo,
200
200
  })
201
201
  )
202
202
  },
@@ -207,7 +207,7 @@ export default function (request, context) {
207
207
  method: selectedDirect.method,
208
208
  amount: selectedAmount,
209
209
  applyerBankCode: selectedUserBank.bankCode,
210
- promotionsNo: promotion?.activityNo,
210
+ promotionsNo: promotion?.promotionsNo,
211
211
  })
212
212
  )
213
213
  },