@everymatrix/casino-game-page 0.0.253 → 0.0.254
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": "0.0.
|
3
|
+
"version": "0.0.254",
|
4
4
|
"main": "dist/casino-game-page.js",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"publishConfig": {
|
37
37
|
"access": "public"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "454ff35bbd275f884b20cf31dae10609840f5abc"
|
40
40
|
}
|
@@ -33,6 +33,7 @@
|
|
33
33
|
|
34
34
|
export let clockformat:string = '';
|
35
35
|
export let haspanicbutton:string = 'false';
|
36
|
+
export let playforfun:string = 'true';
|
36
37
|
|
37
38
|
let time:Object;
|
38
39
|
let iframe:any;
|
@@ -103,8 +104,8 @@
|
|
103
104
|
|
104
105
|
if (game.launchUrl) {
|
105
106
|
detailsObtained = true;
|
106
|
-
funMode = game.hasFunMode;
|
107
|
-
anonymousFunMode = game.hasAnonymousFunMode;
|
107
|
+
funMode = playforfun == 'true' ? game.hasFunMode : false;
|
108
|
+
anonymousFunMode = playforfun == 'true' ? game.hasAnonymousFunMode : false;
|
108
109
|
|
109
110
|
let url:any = new URL(game.launchUrl);
|
110
111
|
|
@@ -207,8 +208,8 @@
|
|
207
208
|
game = formatGameLaunchUrl(data[0]);
|
208
209
|
|
209
210
|
if (game.launchUrl) {
|
210
|
-
anonymousFunMode = game.hasAnonymousFunMode;
|
211
|
-
funMode = gameFunMode;
|
211
|
+
anonymousFunMode = playforfun == 'true' ? game.hasAnonymousFunMode : false;
|
212
|
+
funMode = playforfun == 'true' ? gameFunMode : false;
|
212
213
|
detailsObtained = true;
|
213
214
|
game.isFavored = checkFavorite(game.id);
|
214
215
|
}
|
@@ -475,7 +476,6 @@
|
|
475
476
|
{/if}
|
476
477
|
<p>{time}</p>
|
477
478
|
</div>
|
478
|
-
|
479
479
|
{:else if anonymousFunMode}
|
480
480
|
<div class="GameDetails" part="GameDetails">
|
481
481
|
<h3>{game.name}</h3>
|