@everymatrix/casino-games-category-section 1.17.2 → 1.17.3

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.17.2",
3
+ "version": "1.17.3",
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": "462a557bf7dab099fad999a6d0998f5155877620"
38
+ "gitHead": "89baba5648f1fb1c1ff4fbe9369eb83965480ce7"
39
39
  }
@@ -191,12 +191,11 @@
191
191
  let vendorFilters = JSON.parse(localStorage.getItem('vendorFiltersByCategory'));
192
192
  let vendorSort = JSON.parse(localStorage.getItem('vendorSortingBy'));
193
193
 
194
- 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
195
194
  if((categoryid.match(/\$/g) || []).length > 1) {
196
195
  categoryidparsed = categoryid.split('$').slice(0, 2).join('$');
197
- url = new URL(`${tempEndpoint}/casino/groups/${datasource}/${categoryidparsed}/subGroups`);
196
+ url = new URL(`${endpoint}/v2/casino/groups/${datasource}/${categoryidparsed}/subGroups`);
198
197
  } else {
199
- url = new URL(`${tempEndpoint}/casino/groups/${datasource}/${categoryid}`);
198
+ url = new URL(`${endpoint}/v2/casino/groups/${datasource}/${categoryid}`);
200
199
  }
201
200
 
202
201
  return new Promise((resolve, reject) => {
@@ -470,7 +469,7 @@
470
469
  playerID = e.data.userID;
471
470
  if (favorites == 'true') {
472
471
  if (playerID && playerID.length && sessionID && sessionID.length > 0) {
473
- getFavoredGames(`${endpoint}/player/${playerID}/favorites/`, sessionID);
472
+ getFavoredGames(`${endpoint}/v1/player/${playerID}/favorites/`, sessionID);
474
473
  }
475
474
  }
476
475
 
@@ -949,14 +948,14 @@
949
948
 
950
949
  .CategoryName,
951
950
  .StatusText {
952
- color: var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));
951
+ color: var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));
953
952
  font-size: 22px;
954
953
  font-weight: 500;
955
954
  }
956
955
 
957
956
  .CategoryLoadMore {
958
957
  font-size: 14px;
959
- color: var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));
958
+ color: var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));
960
959
  }
961
960
 
962
961
  .NoSearchResults {