@everymatrix/casino-categories-slider 0.0.286 → 0.0.289
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-categories-slider",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.289",
|
|
4
4
|
"main": "dist/casino-categories-slider.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": "
|
|
39
|
+
"gitHead": "8d2b48830088db6de1cb354e113bf3a2a09f325b"
|
|
40
40
|
}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
export let containermaxwidth:string = '';
|
|
22
22
|
export let activecategory:string = '';
|
|
23
23
|
export let actionevent:string = '';
|
|
24
|
+
export let sessioncheck:string = '';
|
|
24
25
|
|
|
25
26
|
let identity:string = 'CasinoSliderData'
|
|
26
27
|
|
|
@@ -215,14 +216,18 @@
|
|
|
215
216
|
}
|
|
216
217
|
|
|
217
218
|
const setSession = ():void => {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
219
|
+
if (sessioncheck == 'true') {
|
|
220
|
+
checkSession(endpoint, session).then((res:any) => {
|
|
221
|
+
sessionID = res.Guid;
|
|
222
|
+
playerID = res.UserID;
|
|
223
|
+
isLoggedIn = true;
|
|
224
|
+
}, (err:any) => {
|
|
225
|
+
isLoggedIn = false;
|
|
226
|
+
console.error('err on session', err);
|
|
227
|
+
});
|
|
228
|
+
} else {
|
|
229
|
+
sessionID = session;
|
|
230
|
+
}
|
|
226
231
|
}
|
|
227
232
|
|
|
228
233
|
const setClientStyling = ():void => {
|