@everymatrix/casino-lobby 0.0.271 → 0.0.274

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
@@ -35,6 +35,8 @@
35
35
  livecasino="false"
36
36
  playforfun="true"
37
37
  playrandomgame="true"
38
+ userid="3856617"
39
+ session="b4045cc4-5fd5-40bb-912f-4c42a180b1bf"
38
40
  ></casino-lobby>
39
41
 
40
42
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "0.0.271",
3
+ "version": "0.0.274",
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": "656de48b1f32eaa465896b097c02035605903871"
39
+ "gitHead": "5f4a46f4ce5cd4820b4f3805beaf2130f76cd364"
40
40
  }
@@ -11,6 +11,7 @@
11
11
  import '@everymatrix/casino-game-page';
12
12
  import '@everymatrix/casino-filter-modal';
13
13
  import '@everymatrix/casino-filter-page';
14
+ import '@everymatrix/casino-integrated-game-page';
14
15
 
15
16
  export let endpoint:string = '';
16
17
  export let datasource:string = '';
@@ -49,6 +50,7 @@
49
50
  export let gamemodal:string = 'true';
50
51
  export let playrandomgame:string = 'false';
51
52
  export let visiblegames:string = '10';
53
+ export let integratedgameframe:string = 'false';
52
54
 
53
55
  let endpointURL:string;
54
56
  let DS:string;
@@ -67,6 +69,7 @@
67
69
  let customStylingContainer:HTMLElement;
68
70
  let mostPlayed;
69
71
  let fav;
72
+ let showIntegratedGameFrame:boolean = false;
70
73
 
71
74
  setupI18n({ withLocale: 'en', translations: {}});
72
75
 
@@ -92,6 +95,10 @@
92
95
  case 'CategoryChange':
93
96
  activecategory = e.data.itemId;
94
97
  break;
98
+
99
+ case 'OpenIntegratedGameFrame':
100
+ showIntegratedGameFrame = true;
101
+ break;
95
102
  }
96
103
  }
97
104
  }
@@ -241,33 +248,54 @@
241
248
  {livecasino}
242
249
  {currency}
243
250
  ></casino-page>
244
- {#if gamemodal == 'true'}
245
- <casino-modal
251
+ {#if showIntegratedGameFrame}
252
+ <casino-integrated-game-page
246
253
  session={session}
247
254
  userid={userid}
248
255
  endpoint={endpointURL}
249
256
  datasource={DS}
250
257
  lang={language}
258
+ loginevent={loginevent}
259
+ registerevent={registerevent}
260
+ depositevent={depositevent}
261
+ {playforfun}
262
+ {favorites}
251
263
  {clientstyling}
252
264
  {clientstylingurl}
253
- ><casino-game-page
265
+ {clockformat}
266
+ {haspanicbutton}
267
+ {currency}
268
+ ></casino-integrated-game-page>
269
+ {:else}
270
+ {#if gamemodal == 'true'}
271
+ <casino-modal
254
272
  session={session}
255
273
  userid={userid}
256
274
  endpoint={endpointURL}
257
275
  datasource={DS}
258
276
  lang={language}
259
- loginevent={loginevent}
260
- registerevent={registerevent}
261
- depositevent={depositevent}
262
- {playforfun}
263
- {favorites}
264
277
  {clientstyling}
265
278
  {clientstylingurl}
266
- {clockformat}
267
- {haspanicbutton}
268
- {currency}
269
- />
270
- </casino-modal>
279
+ ><casino-game-page
280
+ session={session}
281
+ userid={userid}
282
+ endpoint={endpointURL}
283
+ datasource={DS}
284
+ lang={language}
285
+ loginevent={loginevent}
286
+ registerevent={registerevent}
287
+ depositevent={depositevent}
288
+ {playforfun}
289
+ {favorites}
290
+ {clientstyling}
291
+ {clientstylingurl}
292
+ {clockformat}
293
+ {haspanicbutton}
294
+ {currency}
295
+ {integratedgameframe}
296
+ />
297
+ </casino-modal>
298
+ {/if}
271
299
  {/if}
272
300
  <casino-filter-modal
273
301
  {clientstylingurl}