@everymatrix/casino-lobby 0.0.274 → 0.0.277

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/documentation.md CHANGED
@@ -36,7 +36,6 @@ These components can also be used on their own, and they still can communicate t
36
36
 
37
37
  ### A business driven widget
38
38
  This widget encapsulates knowledge and features of a world leading casino product which we developed and improved continuously for several years now. This means that every feature is designed in order to make the casino widget profitable, competitive and attractive both for our integrators and their clients.
39
-
40
39
  The casino lobby widget has the core functionality and features in place with even more to come and to improve upon. It is our commitment that we will treat this product with utmost importance and priority and that we will continuously add and develop new versions with state-of-the-art market features.
41
40
  ---
42
41
 
@@ -158,10 +157,11 @@ Full example (`not logged in user`):
158
157
  |depositurl|no|The URL where the user should be redirected when the `Deposit` button is clicked|
159
158
  |depositevent|no|The `postMessage` event that should be triggered when the `Deposit` button is clicked|
160
159
  |favorites|no|Provides the option to show/hide the `Favorites` tab in categories slider. Default: true|
161
- |mostplayed|no|Provides the option to show/hide the `Most Played Games` tab in categories slider. Default: true|
162
- |alternativesearch|no|Provides the option to show the searchbar, in mobile view, at the top of the screen. Default: false|
160
+ |mostplayed|no|Provides the option to show/hide the `Most Played Games` tab in categories slider. Default: 'true'|
161
+ |alternativesearch|no|Provides the option to show the searchbar, in mobile view, at the top of the screen. Default: 'false'|
163
162
  |clockformat|no|The clock format for the game page - more details here - https://momentjs.com/docs/#/displaying/format/. Default: 'LTS'|
164
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
+ |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
165
 
166
166
  ## Releases
167
167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "0.0.274",
3
+ "version": "0.0.277",
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": "5f4a46f4ce5cd4820b4f3805beaf2130f76cd364"
39
+ "gitHead": "d2e5336b4c4e4506334e1811991a2fbd332110ef"
40
40
  }
@@ -8,6 +8,7 @@
8
8
  import '@everymatrix/casino-categories-slider';
9
9
  import '@everymatrix/casino-page';
10
10
  import '@everymatrix/casino-modal';
11
+ // import '@everymatrix/casino-game-page-2';
11
12
  import '@everymatrix/casino-game-page';
12
13
  import '@everymatrix/casino-filter-modal';
13
14
  import '@everymatrix/casino-filter-page';
@@ -69,7 +70,6 @@
69
70
  let customStylingContainer:HTMLElement;
70
71
  let mostPlayed;
71
72
  let fav;
72
- let showIntegratedGameFrame:boolean = false;
73
73
 
74
74
  setupI18n({ withLocale: 'en', translations: {}});
75
75
 
@@ -95,10 +95,6 @@
95
95
  case 'CategoryChange':
96
96
  activecategory = e.data.itemId;
97
97
  break;
98
-
99
- case 'OpenIntegratedGameFrame':
100
- showIntegratedGameFrame = true;
101
- break;
102
98
  }
103
99
  }
104
100
  }
@@ -133,6 +129,7 @@
133
129
  }
134
130
 
135
131
  const initialSetup = ():void => {
132
+
136
133
  checkAttrs();
137
134
  setLocale(lang);
138
135
  endpointURL = endpoint;
@@ -248,54 +245,34 @@
248
245
  {livecasino}
249
246
  {currency}
250
247
  ></casino-page>
251
- {#if showIntegratedGameFrame}
252
- <casino-integrated-game-page
248
+ {#if gamemodal == 'true'}
249
+ <casino-modal
253
250
  session={session}
254
251
  userid={userid}
255
252
  endpoint={endpointURL}
256
253
  datasource={DS}
257
254
  lang={language}
258
- loginevent={loginevent}
259
- registerevent={registerevent}
260
- depositevent={depositevent}
261
- {playforfun}
262
- {favorites}
263
255
  {clientstyling}
264
256
  {clientstylingurl}
265
- {clockformat}
266
- {haspanicbutton}
267
- {currency}
268
- ></casino-integrated-game-page>
269
- {:else}
270
- {#if gamemodal == 'true'}
271
- <casino-modal
257
+ ><casino-game-page
272
258
  session={session}
273
259
  userid={userid}
274
260
  endpoint={endpointURL}
275
261
  datasource={DS}
276
262
  lang={language}
263
+ loginevent={loginevent}
264
+ registerevent={registerevent}
265
+ depositevent={depositevent}
266
+ {playforfun}
267
+ {favorites}
277
268
  {clientstyling}
278
269
  {clientstylingurl}
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}
270
+ {clockformat}
271
+ {haspanicbutton}
272
+ {currency}
273
+ {integratedgameframe}
274
+ />
275
+ </casino-modal>
299
276
  {/if}
300
277
  <casino-filter-modal
301
278
  {clientstylingurl}