@jetthai/cuora 1.1.164 → 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,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.165](https://github.com/jetthai/cuora-module/compare/v1.1.164...v1.1.165) (2023-08-28)
6
+
5
7
  ### [1.1.164](https://github.com/jetthai/cuora-module/compare/v1.1.163...v1.1.164) (2023-08-28)
6
8
 
7
9
  ### [1.1.163](https://github.com/jetthai/cuora-module/compare/v1.1.162...v1.1.163) (2023-08-25)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.164",
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
  },