@everymatrix/general-player-register-form-step1 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/general-player-register-form-step1",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"main": "dist/general-player-register-form-step1.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": "02dbae5b4d167acdb57c72905b756343a318870a"
|
|
40
40
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
export let simplepasswordvalidation:string = 'false';
|
|
13
13
|
export let clientstyling:string = '';
|
|
14
14
|
export let clientstylingurl:string = '';
|
|
15
|
-
export let
|
|
15
|
+
export let translationurl:string = '';
|
|
16
16
|
|
|
17
17
|
let invalidEmail:boolean = false;
|
|
18
18
|
let invalidName:boolean = false;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
// setupI18n({ withLocale: 'en', translations: {}});
|
|
58
58
|
|
|
59
59
|
const setTranslationUrl = ():void => {
|
|
60
|
-
let url:string =
|
|
60
|
+
let url:string = translationurl;
|
|
61
61
|
|
|
62
62
|
fetch(url).then((res:any) => res.json())
|
|
63
63
|
.then((res) => {
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
$: simplepasswordvalidation && verifyTypeOfPassword();
|
|
308
308
|
$: clientstyling && customStylingContainer && setClientStyling();
|
|
309
309
|
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
310
|
-
$:
|
|
310
|
+
$: translationurl && setTranslationUrl();
|
|
311
311
|
</script>
|
|
312
312
|
|
|
313
313
|
<div bind:this={customStylingContainer}>
|