@everymatrix/casino-most-played-section 1.19.6 → 1.20.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.19.6",
3
+ "version": "1.20.0",
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": "f507ed6544a49ba6d7857c275bec9ac5a244131f"
38
+ "gitHead": "cce8ceef88ab812968208af95253b28b94fc43d2"
39
39
  }
@@ -57,7 +57,7 @@
57
57
  let customStylingContainer:HTMLElement;
58
58
 
59
59
  const getMostPlayedGames = (options:any) => {
60
- let url = new URL(`${endpoint}/player/${userid}/games/most-played`);
60
+ let url = new URL(`${endpoint}/v1/player/${userid}/games/most-played`);
61
61
 
62
62
  if (options.limit) {
63
63
  url.searchParams.append('limit', options.limit);
@@ -125,7 +125,7 @@
125
125
  let promises:any = [];
126
126
 
127
127
  res.items.forEach((item:any) => {
128
- let url:URL = new URL(`${endpoint}/casino/games/${item.gameId}`);
128
+ let url:URL = new URL(`${endpoint}/v1/casino/games/${item.gameId}`);
129
129
 
130
130
  url.searchParams.append('datasource', datasource);
131
131
  if (livecasino) {