@everymatrix/casino-game-thumbnail 1.22.10 → 1.23.0
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-thumbnail",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"main": "dist/casino-game-thumbnail.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": "e1f96f1273bd4af5ca8e311c90006f51ca00a642"
|
|
39
39
|
}
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
export let gamethumbnail:string = '';
|
|
20
20
|
export let gamename:string = '';
|
|
21
21
|
export let gamevendor:string = '';
|
|
22
|
+
export let gamelaunchurl:string = '';
|
|
22
23
|
export let gameid:string = '';
|
|
23
24
|
export let gameisnew:string = '';
|
|
24
25
|
export let gametag:string = '';
|
|
@@ -189,14 +190,14 @@
|
|
|
189
190
|
|
|
190
191
|
// Case mobile
|
|
191
192
|
if (isMobile(userAgent) && integratedgameframemobile == "true") {
|
|
192
|
-
window.postMessage({ type: 'OpenGameFrame', gameId, gamefunmode, gamepagemodalurl, isMobile: isMobile(userAgent), source: 'GameThumbnail', identifier: 'Lobby'
|
|
193
|
+
window.postMessage({ type: 'OpenGameFrame', gameId, gamefunmode, gamepagemodalurl, isMobile: isMobile(userAgent), source: 'GameThumbnail', identifier: 'Lobby', subVendor: gamevendor, launchUrl: gamelaunchurl }, window.location.href);
|
|
193
194
|
} else if(isMobile(userAgent) && integratedgameframemobile == "false") {
|
|
194
195
|
window.postMessage({ type: 'ShowGameModal', gameId, isMobile: isMobile(userAgent) }, window.location.href);
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
// Case desktop
|
|
198
199
|
if (!isMobile(userAgent) && integratedgameframedesktop == "true") {
|
|
199
|
-
window.postMessage({ type: 'OpenGameFrame', gameId, gamefunmode, gamepagemodalurl, isMobile: isMobile(userAgent), identifier: 'Lobby'
|
|
200
|
+
window.postMessage({ type: 'OpenGameFrame', gameId, gamefunmode, gamepagemodalurl, isMobile: isMobile(userAgent), identifier: 'Lobby', subVendor: gamevendor, launchUrl: gamelaunchurl }, window.location.href)
|
|
200
201
|
} else if(!isMobile(userAgent) && integratedgameframedesktop == "false") {
|
|
201
202
|
window.postMessage({ type: 'ShowGameModal', gameId, isMobile: isMobile(userAgent) }, window.location.href);
|
|
202
203
|
}
|