@everymatrix/player-bonus-history 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/player-bonus-history",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.2",
|
4
4
|
"main": "dist/player-bonus-history",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -37,5 +37,5 @@
|
|
37
37
|
"publishConfig": {
|
38
38
|
"access": "public"
|
39
39
|
},
|
40
|
-
"gitHead": "
|
40
|
+
"gitHead": "02dbae5b4d167acdb57c72905b756343a318870a"
|
41
41
|
}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
export let lang:string = 'en';
|
16
16
|
export let clientstyling:string = '';
|
17
17
|
export let clientstylingurl:string = '';
|
18
|
-
export let
|
18
|
+
export let translationurl:string = '';
|
19
19
|
|
20
20
|
let customStylingContainer:HTMLElement;
|
21
21
|
let isLoading:boolean = false;
|
@@ -41,7 +41,7 @@
|
|
41
41
|
let bonusesList:Array<Object> = [];
|
42
42
|
|
43
43
|
const setTranslationUrl = ():void => {
|
44
|
-
let url:string =
|
44
|
+
let url:string = translationurl;
|
45
45
|
|
46
46
|
fetch(url).then((res:any) => res.json())
|
47
47
|
.then((res) => {
|
@@ -149,7 +149,7 @@
|
|
149
149
|
$: session && playerid && endpoint && getBonuses(0);
|
150
150
|
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
151
151
|
$: clientstyling && customStylingContainer && setClientStyling();
|
152
|
-
$:
|
152
|
+
$: translationurl && setTranslationUrl();
|
153
153
|
</script>
|
154
154
|
|
155
155
|
<div bind:this={customStylingContainer}>
|