@everymatrix/player-profile-info 1.2.1 → 1.3.0
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-profile-info",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"main": "dist/player-profile-info.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": "ac0e71f6ea97bb7428ee75f5667c1408cbdc3146"
|
|
40
40
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
export let countrycode:string = 'IR';
|
|
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 = true;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
let isOnNative:boolean = false;
|
|
57
57
|
|
|
58
58
|
const setTranslationUrl = ():void => {
|
|
59
|
-
let url:string =
|
|
59
|
+
let url:string = translationurl;
|
|
60
60
|
|
|
61
61
|
fetch(url).then((res:any) => res.json())
|
|
62
62
|
.then((res) => {
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
$: endpoint && getPhoneCodes();
|
|
445
445
|
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
446
446
|
$: clientstyling && customStylingContainer && setClientStyling();
|
|
447
|
-
$:
|
|
447
|
+
$: translationurl && setTranslationUrl();
|
|
448
448
|
</script>
|
|
449
449
|
|
|
450
450
|
<div bind:this={customStylingContainer}>
|