@everymatrix/casino-last-played-section 1.3.4 → 1.4.0

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-last-played-section",
3
- "version": "1.3.4",
3
+ "version": "1.4.0",
4
4
  "main": "index.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": "61b113dba12330dbbaeef6e4ba84771630a15e7f"
39
+ "gitHead": "be1fa07132bd9efec772e8532a8bc54c82eb1cb6"
40
40
  }
@@ -23,6 +23,7 @@
23
23
  export let visiblegames:string = '';
24
24
  export let favorites:string = '';
25
25
  export let lastplayedperiod:string = '';
26
+ export let casinomygames:string = 'false';
26
27
 
27
28
 
28
29
  let userAgent:any = window.navigator.userAgent;
@@ -113,6 +114,7 @@
113
114
  device: getDevice(userAgent),
114
115
  period: lastplayedperiod || 'Last30Days'
115
116
  }).then((res:any) => {
117
+ window.postMessage({ type: 'GetFavoredGame' }, window.location.href);
116
118
  isLoading = false;
117
119
  if (res.count > 0) {
118
120
  let promises:any = [];
@@ -175,24 +177,25 @@
175
177
  <p class="SearchLoading"> {$_('LastPlayedTranslations.noRecentGames')}</p>
176
178
  {:else}
177
179
  <casino-games-category-section
178
- session={session}
179
- userid={userid}
180
- endpoint={endpoint}
181
- datasource={datasource}
182
- lang={lang}
183
- currency={currency}
184
- favorites={favorites}
185
- categoryid="LASTPLAYED"
186
- categoryindex="1"
187
- categorygames="9"
188
- class="CategoryContainer"
189
- {clientstyling}
190
- {clientstylingurl}
191
- {livecasino}
192
- {visiblegames}
193
- {gamepagemodalurl}
194
- {integratedgameframedesktop}
195
- {integratedgameframemobile}
180
+ session={session}
181
+ userid={userid}
182
+ endpoint={endpoint}
183
+ datasource={datasource}
184
+ lang={lang}
185
+ currency={currency}
186
+ favorites={favorites}
187
+ categoryid="LASTPLAYED"
188
+ categoryindex="1"
189
+ categorygames="9"
190
+ class="CategoryContainer"
191
+ {clientstyling}
192
+ {clientstylingurl}
193
+ {livecasino}
194
+ {visiblegames}
195
+ {gamepagemodalurl}
196
+ {integratedgameframedesktop}
197
+ {integratedgameframemobile}
198
+ {casinomygames}
196
199
  />
197
200
  {/if}
198
201
  </div>