@jetthai/cuora 1.1.169 → 1.1.170
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.170](https://github.com/jetthai/cuora-module/compare/v1.1.169...v1.1.170) (2023-09-05)
|
|
6
|
+
|
|
5
7
|
### [1.1.169](https://github.com/jetthai/cuora-module/compare/v1.1.168...v1.1.169) (2023-09-02)
|
|
6
8
|
|
|
7
9
|
### [1.1.168](https://github.com/jetthai/cuora-module/compare/v1.1.167...v1.1.168) (2023-08-31)
|
package/package.json
CHANGED
|
@@ -131,6 +131,7 @@ export default function (request, context) {
|
|
|
131
131
|
actions: {
|
|
132
132
|
setInitData: assign((context, event) => {
|
|
133
133
|
const { currentPayment, banks, paymentInfo, processing } = event.data
|
|
134
|
+
|
|
134
135
|
const playerBanks = paymentInfo?.bankInfo || []
|
|
135
136
|
|
|
136
137
|
const houseBanks = currentPayment.banks.map((bank) => {
|
|
@@ -161,6 +162,7 @@ export default function (request, context) {
|
|
|
161
162
|
method: currentPayment.method,
|
|
162
163
|
processing,
|
|
163
164
|
houseBanks,
|
|
165
|
+
selectedAmount: max(promotion?.minimumAmount, currentPayment?.minimum, selectedAmount, 0),
|
|
164
166
|
selectedHouseBank: houseBanks[0],
|
|
165
167
|
userBanks,
|
|
166
168
|
selectedUserBank: userBanks[0],
|