@everymatrix/casino-game-page 1.29.6 → 1.29.7
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-game-page",
|
3
|
-
"version": "1.29.
|
3
|
+
"version": "1.29.7",
|
4
4
|
"main": "dist/casino-game-page.js",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -35,5 +35,5 @@
|
|
35
35
|
"publishConfig": {
|
36
36
|
"access": "public"
|
37
37
|
},
|
38
|
-
"gitHead": "
|
38
|
+
"gitHead": "6774dd803fe9ab951334d05d7f0ec99f78b6c0a0"
|
39
39
|
}
|
@@ -423,7 +423,7 @@
|
|
423
423
|
|
424
424
|
const toggleDeposit = (mobileView:boolean):void => {
|
425
425
|
|
426
|
-
if (
|
426
|
+
if (isShortCashierEnabled && !mobileView) {
|
427
427
|
window.postMessage({ type: 'OpenShortCashier' }, window.location.href);
|
428
428
|
} else if (depositevent) {
|
429
429
|
window.postMessage({ type: depositevent }, window.location.href);
|
@@ -437,7 +437,7 @@
|
|
437
437
|
});
|
438
438
|
}
|
439
439
|
|
440
|
-
if (depositurl && !
|
440
|
+
if (depositurl && !isShortCashierEnabled) {
|
441
441
|
// @ts-ignore
|
442
442
|
window.location = depositurl;
|
443
443
|
}
|
@@ -594,6 +594,7 @@
|
|
594
594
|
}
|
595
595
|
|
596
596
|
$: lang && setActiveLanguage();
|
597
|
+
$: isShortCashierEnabled = shortcashierenabled.toLocaleLowerCase() === 'true';
|
597
598
|
$: endpoint && gameid && lang && createGameURL(gameid, true);
|
598
599
|
$: session && userid && endpoint && setSession();
|
599
600
|
$: checksession == 'false' && session && endpoint && setSession();
|