@jetthai/cuora 1.1.96 → 1.1.97
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.97](https://github.com/jetthai/cuora-module/compare/v1.1.96...v1.1.97) (2023-05-16)
|
|
6
|
+
|
|
5
7
|
### [1.1.96](https://github.com/jetthai/cuora-module/compare/v1.1.95...v1.1.96) (2023-05-15)
|
|
6
8
|
|
|
7
9
|
### [1.1.95](https://github.com/jetthai/cuora-module/compare/v1.1.94-cash-5...v1.1.95) (2023-05-12)
|
package/package.json
CHANGED
|
@@ -216,12 +216,13 @@ export default function (request, context) {
|
|
|
216
216
|
},
|
|
217
217
|
services: {
|
|
218
218
|
fetchCalculation: async (context, event) => {
|
|
219
|
-
const { selectedCrypto, selectedAmount } = context
|
|
219
|
+
const { selectedCrypto, selectedAmount, promotion } = context
|
|
220
220
|
return await request.send(
|
|
221
221
|
payment.getDepositExpectedResult({
|
|
222
222
|
method: selectedCrypto.method,
|
|
223
223
|
amount: selectedAmount,
|
|
224
224
|
cryptoCurrency: selectedCrypto.channel,
|
|
225
|
+
promotionsNo: promotion?.promotionsNo,
|
|
225
226
|
})
|
|
226
227
|
)
|
|
227
228
|
},
|