@jetthai/cuora 1.1.70 → 1.1.72
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,10 @@
|
|
|
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.72](https://github.com/jetthai/cuora-module/compare/v1.1.71...v1.1.72) (2023-04-07)
|
|
6
|
+
|
|
7
|
+
### [1.1.71](https://github.com/jetthai/cuora-module/compare/v1.1.70...v1.1.71) (2023-04-07)
|
|
8
|
+
|
|
5
9
|
### [1.1.70](https://github.com/jetthai/cuora-module/compare/v1.1.69...v1.1.70) (2023-04-07)
|
|
6
10
|
|
|
7
11
|
### [1.1.69](https://github.com/jetthai/cuora-module/compare/v1.1.68...v1.1.69) (2023-04-06)
|
package/dist/bundle.mjs
CHANGED
|
@@ -21433,7 +21433,10 @@ function withdraw_vn (request) {
|
|
|
21433
21433
|
},
|
|
21434
21434
|
},
|
|
21435
21435
|
converted: {
|
|
21436
|
-
always: [
|
|
21436
|
+
always: [
|
|
21437
|
+
{ target: '#withdraw_vn.cash.unbound', cond: 'isBankNotBound' },
|
|
21438
|
+
{ target: '#withdraw_vn.cash.withdrawable', cond: 'hasAttachmentType' },
|
|
21439
|
+
],
|
|
21437
21440
|
},
|
|
21438
21441
|
},
|
|
21439
21442
|
},
|
|
@@ -23187,9 +23190,9 @@ function loadcard_vn (request) {
|
|
|
23187
23190
|
{
|
|
23188
23191
|
target: 'fetching',
|
|
23189
23192
|
cond: (context, event) => {
|
|
23190
|
-
const { siteConfig = {}, promotion = {} } = context;
|
|
23193
|
+
const { siteConfig = {}, promotion = {}, selectedCard } = context;
|
|
23191
23194
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig;
|
|
23192
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
23195
|
+
return !!selectedCard && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
23193
23196
|
},
|
|
23194
23197
|
},
|
|
23195
23198
|
{ target: 'loaded' },
|
|
@@ -23551,9 +23554,9 @@ function qrcode_v2 (request) {
|
|
|
23551
23554
|
{
|
|
23552
23555
|
target: 'fetching',
|
|
23553
23556
|
cond: (context, event) => {
|
|
23554
|
-
const { siteConfig = {}, promotion = {} } = context;
|
|
23557
|
+
const { siteConfig = {}, promotion = {}, selectedQrcode } = context;
|
|
23555
23558
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig;
|
|
23556
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
23559
|
+
return !!selectedQrcode && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
23557
23560
|
},
|
|
23558
23561
|
},
|
|
23559
23562
|
{
|
|
@@ -24879,9 +24882,9 @@ function crypto_button (request) {
|
|
|
24879
24882
|
{
|
|
24880
24883
|
target: 'fetching',
|
|
24881
24884
|
cond: (context, event) => {
|
|
24882
|
-
const { siteConfig = {}, promotion = {} } = context;
|
|
24885
|
+
const { siteConfig = {}, promotion = {}, selectedCrypto } = context;
|
|
24883
24886
|
const { walletMode = '', bonusPreviewEnable = '0' } = siteConfig;
|
|
24884
|
-
return walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
24887
|
+
return !!selectedCrypto && walletMode === '4' && bonusPreviewEnable === '1' && promotion.activityNo != 'none'
|
|
24885
24888
|
},
|
|
24886
24889
|
},
|
|
24887
24890
|
{ 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
|
{
|
|
@@ -119,7 +119,10 @@ export default function (request) {
|
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
121
|
converted: {
|
|
122
|
-
always: [
|
|
122
|
+
always: [
|
|
123
|
+
{ target: '#withdraw_vn.cash.unbound', cond: 'isBankNotBound' },
|
|
124
|
+
{ target: '#withdraw_vn.cash.withdrawable', cond: 'hasAttachmentType' },
|
|
125
|
+
],
|
|
123
126
|
},
|
|
124
127
|
},
|
|
125
128
|
},
|