@everymatrix/player-account-balance-modal 1.2.1 → 1.2.2
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/player-account-balance-modal",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"main": "dist/player-account-balance-modal.js",
|
|
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
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
export let lang:string = 'en';
|
|
12
12
|
export let clientstyling:string = '';
|
|
13
13
|
export let clientstylingurl:string = '';
|
|
14
|
-
export let
|
|
14
|
+
export let translationurl:string = '';
|
|
15
15
|
|
|
16
16
|
let showBalance:boolean = false;
|
|
17
17
|
let totalBalance:string = '';
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
// setupI18n({ withLocale: 'en', translations: {}});
|
|
27
27
|
|
|
28
28
|
const setTranslationUrl = ():void => {
|
|
29
|
-
let url:string =
|
|
29
|
+
let url:string = translationurl;
|
|
30
30
|
|
|
31
31
|
fetch(url).then((res:any) => res.json())
|
|
32
32
|
.then((res) => {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
;
|
|
208
208
|
$: clientstyling && customStylingContainer && setClientStyling();
|
|
209
209
|
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
210
|
-
$:
|
|
210
|
+
$: translationurl && setTranslationUrl();
|
|
211
211
|
</script>
|
|
212
212
|
|
|
213
213
|
<div bind:this={customStylingContainer}>
|