@everymatrix/casino-last-played-section 1.19.6 → 1.20.1

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.19.6",
3
+ "version": "1.20.1",
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": "0b1fb1b94c3fde91682c565fa9920e559c6b2a80"
39
39
  }
@@ -57,7 +57,7 @@
57
57
 
58
58
  const getLastPlayedCategory = ():Promise<any> => {
59
59
  return new Promise((resolve, reject) => {
60
- let url = new URL(`${endpoint}/player/${userid}/games/last-played`);
60
+ let url = new URL(`${endpoint}/v1/player/${userid}/games/last-played`);
61
61
 
62
62
  url.searchParams.append('unique', lastplayedunique);
63
63
  url.searchParams.append('limit', lastplayedlimit);
@@ -107,7 +107,7 @@
107
107
  let promises:any = [];
108
108
 
109
109
  res.items.forEach((item:any) => {
110
- let url:URL = new URL(`${endpoint}/casino/games/${item.gameId}`);
110
+ let url:URL = new URL(`${endpoint}/v1/casino/games/${item.gameId}`);
111
111
 
112
112
  url.searchParams.append('datasource', datasource);
113
113
  if (livecasino) {