@jetthai/cuora 1.1.70 → 1.1.71
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.71](https://github.com/jetthai/cuora-module/compare/v1.1.70...v1.1.71) (2023-04-07)
|
|
6
|
+
|
|
5
7
|
### [1.1.70](https://github.com/jetthai/cuora-module/compare/v1.1.69...v1.1.70) (2023-04-07)
|
|
6
8
|
|
|
7
9
|
### [1.1.69](https://github.com/jetthai/cuora-module/compare/v1.1.68...v1.1.69) (2023-04-06)
|
package/dist/bundle.mjs
CHANGED
|
@@ -23187,9 +23187,9 @@ function loadcard_vn (request) {
|
|
|
23187
23187
|
{
|
|
23188
23188
|
target: 'fetching',
|
|
23189
23189
|
cond: (context, event) => {
|
|
23190
|
-
const { siteConfig = {}, promotion = {} } = context;
|
|
23190
|
+
const { siteConfig = {}, promotion = {}, selectedCard } = context;
|
|
23191
23191
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig;
|
|
23192
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
23192
|
+
return !!selectedCard && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
23193
23193
|
},
|
|
23194
23194
|
},
|
|
23195
23195
|
{ target: 'loaded' },
|
|
@@ -23551,9 +23551,9 @@ function qrcode_v2 (request) {
|
|
|
23551
23551
|
{
|
|
23552
23552
|
target: 'fetching',
|
|
23553
23553
|
cond: (context, event) => {
|
|
23554
|
-
const { siteConfig = {}, promotion = {} } = context;
|
|
23554
|
+
const { siteConfig = {}, promotion = {}, selectedQrcode } = context;
|
|
23555
23555
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig;
|
|
23556
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
23556
|
+
return !!selectedQrcode && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
23557
23557
|
},
|
|
23558
23558
|
},
|
|
23559
23559
|
{
|
|
@@ -24879,9 +24879,9 @@ function crypto_button (request) {
|
|
|
24879
24879
|
{
|
|
24880
24880
|
target: 'fetching',
|
|
24881
24881
|
cond: (context, event) => {
|
|
24882
|
-
const { siteConfig = {}, promotion = {} } = context;
|
|
24882
|
+
const { siteConfig = {}, promotion = {}, selectedCrypto } = context;
|
|
24883
24883
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig;
|
|
24884
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
24884
|
+
return !!selectedCrypto && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
24885
24885
|
},
|
|
24886
24886
|
},
|
|
24887
24887
|
{ target: 'loaded' },
|
package/package.json
CHANGED
|
@@ -53,9 +53,9 @@ export default function (request) {
|
|
|
53
53
|
{
|
|
54
54
|
target: 'fetching',
|
|
55
55
|
cond: (context, event) => {
|
|
56
|
-
const { siteConfig = {}, promotion = {} } = context
|
|
56
|
+
const { siteConfig = {}, promotion = {}, selectedCrypto } = context
|
|
57
57
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig
|
|
58
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
58
|
+
return !!selectedCrypto && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
{ target: 'loaded' },
|
|
@@ -48,9 +48,9 @@ export default function (request) {
|
|
|
48
48
|
{
|
|
49
49
|
target: 'fetching',
|
|
50
50
|
cond: (context, event) => {
|
|
51
|
-
const { siteConfig = {}, promotion = {} } = context
|
|
51
|
+
const { siteConfig = {}, promotion = {}, selectedCard } = context
|
|
52
52
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig
|
|
53
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
53
|
+
return !!selectedCard && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
54
54
|
},
|
|
55
55
|
},
|
|
56
56
|
{ target: 'loaded' },
|
|
@@ -48,9 +48,9 @@ export default function (request) {
|
|
|
48
48
|
{
|
|
49
49
|
target: 'fetching',
|
|
50
50
|
cond: (context, event) => {
|
|
51
|
-
const { siteConfig = {}, promotion = {} } = context
|
|
51
|
+
const { siteConfig = {}, promotion = {}, selectedQrcode } = context
|
|
52
52
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig
|
|
53
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
53
|
+
return !!selectedQrcode && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
54
54
|
},
|
|
55
55
|
},
|
|
56
56
|
{
|