@everymatrix/casino-lobby 0.0.284 → 0.0.287
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/dist/casino-lobby.js +1 -1
- package/dist/casino-lobby.js.map +1 -1
- package/documentation.md +1 -0
- package/package.json +2 -2
- package/src/CasinoLobby.svelte +9 -6
package/documentation.md
CHANGED
|
@@ -162,6 +162,7 @@ Full example (`not logged in user`):
|
|
|
162
162
|
|clockformat|no|The clock format for the game page - more details here - https://momentjs.com/docs/#/displaying/format/. Default: 'LTS'|
|
|
163
163
|
|visiblegames|no|Provides the option to set the number of games that is to be displayed on `Casino Lobby` for each category. The default is set to 10 games.
|
|
164
164
|
|integratedgameframe|no|Changes the way that the game iframe opens on mobile devices - instead of opening the iframe in a new tab, it opens it inside the the widget, thus giving the client control over the styling and giving him the option to display banners alongside the game. Default: 'false'|
|
|
165
|
+
|gamepagemodalurl|no|When opening the game page on mobile, if the `gamepagemodalurl` is set to 'true', the game page will open in a modal with a unique id, adding to the URL the game id. Default: 'false'|
|
|
165
166
|
|
|
166
167
|
## Releases
|
|
167
168
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-lobby",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.287",
|
|
4
4
|
"main": "dist/casino-lobby.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": "973f4782abe43cd2dca7d33de222172f1704b38c"
|
|
40
40
|
}
|
package/src/CasinoLobby.svelte
CHANGED
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
export let playrandomgame:string = 'false';
|
|
53
53
|
export let visiblegames:string = '10';
|
|
54
54
|
export let integratedgameframe:string = 'false';
|
|
55
|
+
export let gamepagemodalurl:string = 'false';
|
|
55
56
|
|
|
56
57
|
let endpointURL:string;
|
|
57
58
|
let DS:string;
|
|
@@ -213,7 +214,7 @@
|
|
|
213
214
|
endpoint={endpointURL}
|
|
214
215
|
datasource={DS}
|
|
215
216
|
lang={language}
|
|
216
|
-
session={
|
|
217
|
+
session={sessionID}
|
|
217
218
|
userid={userid}
|
|
218
219
|
{actionevent}
|
|
219
220
|
{mostplayed}
|
|
@@ -225,7 +226,7 @@
|
|
|
225
226
|
{containermaxwidth}
|
|
226
227
|
></casino-categories-slider>
|
|
227
228
|
<casino-page
|
|
228
|
-
session={
|
|
229
|
+
session={sessionID}
|
|
229
230
|
userid={userid}
|
|
230
231
|
endpoint={endpointURL}
|
|
231
232
|
datasource={DS}
|
|
@@ -244,18 +245,20 @@
|
|
|
244
245
|
{haspanicbutton}
|
|
245
246
|
{livecasino}
|
|
246
247
|
{currency}
|
|
248
|
+
{gamepagemodalurl}
|
|
247
249
|
></casino-page>
|
|
248
250
|
{#if gamemodal == 'true'}
|
|
249
251
|
<casino-modal
|
|
250
|
-
session={
|
|
252
|
+
session={sessionID}
|
|
251
253
|
userid={userid}
|
|
252
254
|
endpoint={endpointURL}
|
|
253
255
|
datasource={DS}
|
|
254
256
|
lang={language}
|
|
255
257
|
{clientstyling}
|
|
256
258
|
{clientstylingurl}
|
|
259
|
+
{gamepagemodalurl}
|
|
257
260
|
><casino-game-page
|
|
258
|
-
session={
|
|
261
|
+
session={sessionID}
|
|
259
262
|
userid={userid}
|
|
260
263
|
endpoint={endpointURL}
|
|
261
264
|
datasource={DS}
|
|
@@ -276,14 +279,14 @@
|
|
|
276
279
|
{/if}
|
|
277
280
|
<casino-filter-modal
|
|
278
281
|
{clientstylingurl}
|
|
279
|
-
session={
|
|
282
|
+
session={sessionID}
|
|
280
283
|
userid={userid}
|
|
281
284
|
endpoint={endpointURL}
|
|
282
285
|
datasource={DS}
|
|
283
286
|
lang={language}
|
|
284
287
|
{clientstyling}>
|
|
285
288
|
<casino-filter-page
|
|
286
|
-
session={
|
|
289
|
+
session={sessionID}
|
|
287
290
|
userid={userid}
|
|
288
291
|
endpoint={endpointURL}
|
|
289
292
|
datasource={DS}
|