@everymatrix/casino-collections-providers 1.22.9 → 1.22.11

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-collections-providers",
3
- "version": "1.22.9",
3
+ "version": "1.22.11",
4
4
  "main": "index.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": "a02c1965e69c8e94cbd3ab9a0dc6a4f9a42ed3fc"
38
+ "gitHead": "1ec5c9d222dc5546dc0ef485ea93807daa2bb50c"
39
39
  }
@@ -122,8 +122,8 @@
122
122
  goToSlide();
123
123
  }
124
124
 
125
- const openGame = (gameId:any, launchUrl:URL, gameName:string):void => {
126
- window.postMessage({ type: 'OpenCollectionsProvidersGame', gameId, launchUrl, gameName}, window.location.href);
125
+ const openGame = (gameId:any, launchUrl:URL, gameName:string, subVendor: string):void => {
126
+ window.postMessage({ type: 'OpenCollectionsProvidersGame', gameId, launchUrl, gameName, subVendor }, window.location.href);
127
127
 
128
128
  //Analytics event
129
129
  if(typeof gtag == 'function'){
@@ -210,7 +210,7 @@
210
210
  <div class="CategorySlideGameContainer">
211
211
  {#each category.games as game}
212
212
  <div class="CategorySlideGames">
213
- <img class="CategorySlideGameImage" src="{game.defaultThumbnail}" alt="{game.name}" on:click|stopPropagation={() => openGame(game.gameId, game.launchUrl, game.name)}>
213
+ <img class="CategorySlideGameImage" src="{game.defaultThumbnail}" alt="{game.name}" on:click|stopPropagation={() => openGame(game.gameId, game.launchUrl, game.name, game.subVendor)}>
214
214
  {#if collectionprovidersgamenames == 'true'}
215
215
  <p title={game.name}> {game.name} </p>
216
216
  {/if}