@everymatrix/casino-games-category-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-games-category-section",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"main": "dist/casino-games-category-section.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
|
}
|
|
@@ -195,9 +195,9 @@
|
|
|
195
195
|
let tempEndpoint:string = endpoint.replace(/.$/, "2"); // @TODO remove after we migrate with all endpoints to v2 - hack for the endpoint since the filtering of categories functionality was developed only for the v2 api
|
|
196
196
|
if((categoryid.match(/\$/g) || []).length > 1) {
|
|
197
197
|
categoryidparsed = categoryid.split('$').slice(0, 2).join('$');
|
|
198
|
-
url = new URL(`${tempEndpoint}/casino/groups/${datasource}/${categoryidparsed}/subGroups`);
|
|
198
|
+
url = new URL(`${tempEndpoint}/v2/casino/groups/${datasource}/${categoryidparsed}/subGroups`);
|
|
199
199
|
} else {
|
|
200
|
-
url = new URL(`${tempEndpoint}/casino/groups/${datasource}/${categoryid}`);
|
|
200
|
+
url = new URL(`${tempEndpoint}/v2/casino/groups/${datasource}/${categoryid}`);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
return new Promise((resolve, reject) => {
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
playerID = e.data.userID;
|
|
474
474
|
if (favorites == 'true') {
|
|
475
475
|
if (playerID && playerID.length && sessionID && sessionID.length > 0) {
|
|
476
|
-
getFavoredGames(`${endpoint}/player/${playerID}/favorites/`, sessionID);
|
|
476
|
+
getFavoredGames(`${endpoint}/v1/player/${playerID}/favorites/`, sessionID);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
|