@everymatrix/casino-last-played-section 1.19.5 → 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-last-played-section",
|
|
3
|
-
"version": "1.
|
|
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": "
|
|
38
|
+
"gitHead": "cce8ceef88ab812968208af95253b28b94fc43d2"
|
|
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) {
|