@everymatrix/casino-tournaments-controller 0.0.362 → 0.0.365

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-tournaments-controller",
3
- "version": "0.0.362",
3
+ "version": "0.0.365",
4
4
  "main": "dist/casino-tournaments-controller.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "154d1b620474e61bee3507cc52d40bfd33236024"
39
+ "gitHead": "f4dabfce4df55a591981f327a670cc250a2ed257"
40
40
  }
@@ -27,6 +27,7 @@
27
27
  export let currency:string = 'EUR';
28
28
  export let containermaxwidth:string = '';
29
29
  export let keepbrowsercontext:string = 'false';
30
+ export let sorttype: string = '';
30
31
 
31
32
  // Variables of topics for communication
32
33
  let hasErrors:boolean = false;
@@ -128,6 +129,10 @@
128
129
 
129
130
  tournamentsUrl.searchParams.append('platform', getDevice(userAgent));
130
131
 
132
+ if(sorttype){
133
+ tournamentsUrl.searchParams.append('sortType', sorttype);
134
+ }
135
+
131
136
  if (isLoggedIn) {
132
137
  reqHeaders.append("X-SessionID", sessionID);
133
138
  }