@everymatrix/casino-lobby 0.0.361 → 0.0.362

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
@@ -161,7 +161,9 @@ Full example (`not logged in user`):
161
161
  |alternativesearch|no|Provides the option to show the searchbar, in mobile view, at the top of the screen. Default: 'false'|
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
- |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'|
164
+ |integratedgameframedesktop|no|Changes the way that the game iframe opens on desktop - 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
+ |integratedgameframemobile|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'|
166
+ |gamebanneractive|no|When opening the game page, if the `gamebanneractive` is set to 'true', below the game a banner will be shown. This feature requires `integratedgameframedesktop` or `integratedgameframemobile` to be set to 'true'. Default: 'false'|
165
167
  |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. Make sure that the `gamemodal` is also set to 'true', else it will not open the game modal on mobile. Default: 'false'|
166
168
 
167
169
  ## Releases
package/index.html CHANGED
@@ -37,7 +37,8 @@
37
37
  playrandomgame="true"
38
38
  userid="3997218"
39
39
  session="39d4b8c3-ea36-414f-b779-cc771ece6a5f"
40
- integratedgameframe="true"
40
+ integratedgameframedesktop="true"
41
+ integratedgameframemobile="true"
41
42
  randombuttonicon='<svg width=35 height=35 part="RandomButtonSvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve">
42
43
  <style type="text/css">
43
44
  .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "0.0.361",
3
+ "version": "0.0.362",
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": "0fe9249cd4a3ea07ecc6ea0f11bee32a4d259c7b"
39
+ "gitHead": "154d1b620474e61bee3507cc52d40bfd33236024"
40
40
  }
@@ -51,7 +51,8 @@
51
51
  export let gamemodal:string = 'true';
52
52
  export let playrandomgame:string = 'false';
53
53
  export let visiblegames:string = '10';
54
- export let integratedgameframe:string = 'false';
54
+ export let integratedgameframedesktop:string = 'false';
55
+ export let integratedgameframemobile:string = 'false';
55
56
  export let gamepagemodalurl:string = 'false';
56
57
  export let enablecasinowinners:string = 'true';
57
58
  export let enablejackpotbanner:string = 'true';
@@ -140,7 +141,6 @@
140
141
  }
141
142
 
142
143
  const initialSetup = ():void => {
143
-
144
144
  checkAttrs();
145
145
  setLocale(lang);
146
146
  endpointURL = endpoint;
@@ -296,7 +296,8 @@
296
296
  {clockformat}
297
297
  {haspanicbutton}
298
298
  {currency}
299
- {integratedgameframe}
299
+ {integratedgameframedesktop}
300
+ {integratedgameframemobile}
300
301
  />
301
302
  </casino-modal>
302
303
  {/if}