@everymatrix/casino-most-played-section 1.8.4 → 1.9.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-most-played-section",
3
- "version": "1.8.4",
3
+ "version": "1.9.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": "58b0374c9527cbfb3a070ac6fb1744bc670aba27"
39
+ "gitHead": "931b121e18fe00e97d089fdc4f642515337a7091"
40
40
  }
@@ -23,6 +23,7 @@
23
23
  export let lastPlayedEmpty:string = '';
24
24
  export let casinomygames:string = 'false';
25
25
  export let mostplayedperiod:string = 'Last30Days';
26
+ export let mostplayedrounds: string = '10';
26
27
 
27
28
 
28
29
  let userAgent:any = window.navigator.userAgent;
@@ -97,7 +98,7 @@
97
98
  getMostPlayedGames({
98
99
  limit: 100,
99
100
  device: getDevice(userAgent),
100
- rounds: 10
101
+ rounds: mostplayedrounds
101
102
  }).then((res:any) => {
102
103
  isLoading = false;
103
104
  window.postMessage({ type: 'GetFavoredGame' }, window.location.href);