@everymatrix/casino-games-category-section 1.31.0 → 1.31.1
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/index.html
CHANGED
|
@@ -31,12 +31,15 @@
|
|
|
31
31
|
|
|
32
32
|
<div class="webcomponent">
|
|
33
33
|
<casino-games-category-section
|
|
34
|
-
displayedgamecount="
|
|
34
|
+
displayedgamecount=""
|
|
35
35
|
endpoint="https://demo-api.stage.norway.everymatrix.com"
|
|
36
36
|
lang="en"
|
|
37
37
|
datasource="RNG"
|
|
38
38
|
categoryid="RNG$jacpots"
|
|
39
|
-
fetchviaevent=""
|
|
39
|
+
fetchviaevent="false"
|
|
40
|
+
gamepagemodalurl="true"
|
|
41
|
+
integratedgameframedesktop="true"
|
|
42
|
+
integratedgameframemobile="true">
|
|
40
43
|
</casino-games-category-section>
|
|
41
44
|
</div>
|
|
42
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-games-category-section",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.1",
|
|
4
4
|
"main": "dist/casino-games-category-section.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": "0b3995d8c9121bfc27eb9aed6a034bbd1583400b"
|
|
39
39
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
export let categoryid:string = '';
|
|
29
29
|
export let showgamename:string = '';
|
|
30
30
|
export let livecasino:string = 'false';
|
|
31
|
-
export let gamepagemodalurl:string = '
|
|
31
|
+
export let gamepagemodalurl:string = 'true';
|
|
32
32
|
export let integratedgameframedesktop:string = 'false';
|
|
33
33
|
export let integratedgameframemobile:string = 'false';
|
|
34
34
|
export let casinomygames:string = 'false';
|
|
@@ -268,6 +268,7 @@
|
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
//Standalone fetching games using categoryid when fetchviaevent is false
|
|
271
272
|
const fetchGamesByCategory = (categoryid, displayedgamecount) => {
|
|
272
273
|
if(categoryid !== ''){
|
|
273
274
|
searched = false;
|
|
@@ -647,14 +648,14 @@
|
|
|
647
648
|
}
|
|
648
649
|
|
|
649
650
|
return () => {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
651
|
+
window.removeEventListener('message', messageHandler);
|
|
652
|
+
window.removeEventListener('visibilitychange', messageHandler);
|
|
653
|
+
}
|
|
653
654
|
}
|
|
654
655
|
});
|
|
655
656
|
|
|
656
657
|
$: lang && setActiveLanguage();
|
|
657
|
-
$:
|
|
658
|
+
$: (fetchviaevent === 'false' || fetchviaevent === '') && endpoint && lang && categoryid && datasource && displayedgamecount && fetchGamesByCategory(categoryid, displayedgamecount);
|
|
658
659
|
$: dataloaded && thumbnailContainer && setupObserver();
|
|
659
660
|
$: lang && categoryid && initialSetup();
|
|
660
661
|
$: translationurl && setTranslationUrl();
|