@jetthai/cuora 1.1.128 → 1.1.129
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 +2 -0
- package/package.json +1 -1
- package/src/machine/deposit/manual_vn.js +2 -6
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.129](https://github.com/jetthai/cuora-module/compare/v1.1.128...v1.1.129) (2023-06-28)
|
|
6
|
+
|
|
5
7
|
### [1.1.128](https://github.com/jetthai/cuora-module/compare/v1.1.127...v1.1.128) (2023-06-28)
|
|
6
8
|
|
|
7
9
|
### [1.1.127](https://github.com/jetthai/cuora-module/compare/v1.1.126...v1.1.127) (2023-06-28)
|
package/package.json
CHANGED
|
@@ -135,14 +135,10 @@ export default function (request) {
|
|
|
135
135
|
target: 'pending',
|
|
136
136
|
cond: (context, event) => {
|
|
137
137
|
const { siteConfig = {}, calculation, promotion } = context
|
|
138
|
-
const { walletMode
|
|
138
|
+
const { walletMode } = siteConfig
|
|
139
139
|
const { promotionsNo, activityNo } = promotion
|
|
140
140
|
const isNoBonus = promotionsNo === 'none' || activityNo === 'none'
|
|
141
|
-
|
|
142
|
-
return walletMode === '4' && !!calculation && !isNoBonus
|
|
143
|
-
} else {
|
|
144
|
-
return walletMode === '4' && !!calculation
|
|
145
|
-
}
|
|
141
|
+
return walletMode === '4' && !!calculation && !isNoBonus
|
|
146
142
|
},
|
|
147
143
|
},
|
|
148
144
|
{
|