@everymatrix/casino-games-category-section 1.13.19 → 1.13.21

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.13.19",
3
+ "version": "1.13.21",
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": "c41f6902c80a09a74b0c770eae26bc4a1860dc3f"
38
+ "gitHead": "1fd2c3fb4f093d3a94b66d5f2986335d61b38215"
39
39
  }
@@ -183,7 +183,7 @@
183
183
  }
184
184
 
185
185
  // @TODO categoryId type
186
- const getData = (categoryId:any, offset:number, limit:number, filterArray:Array<Object> = []) => {
186
+ const getData = (categoryId:any, offset:number, limit:number) => {
187
187
  isLoading = true;
188
188
  let categoryidparsed = '';
189
189
  let url:any = '';
@@ -252,7 +252,6 @@
252
252
  .then((res:any) => res.json())
253
253
  .then((categoryData:any) => {
254
254
  isLoading = false;
255
-
256
255
  if((categoryid.match(/\$/g) || []).length > 1) {
257
256
  categoryData = categoryData.items.filter(subcategory => {
258
257
  if(subcategory.id == categoryid) return subcategory;