@everymatrix/casino-tournaments-thumbnail-rule 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/casino-tournaments-thumbnail-rule",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"main": "index.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
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
export let products:string='{}';
|
|
21
21
|
export let clientstyling:string = '';
|
|
22
22
|
export let clientstylingurl:string = '';
|
|
23
|
-
export let
|
|
23
|
+
export let translationurl:string = '';
|
|
24
24
|
|
|
25
25
|
let customStylingContainer: HTMLElement;
|
|
26
26
|
let displayNone:boolean = false;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
setupI18n({ withLocale: 'en', translations: {}});
|
|
36
36
|
|
|
37
37
|
const setTranslationUrl = ():void => {
|
|
38
|
-
let url:string =
|
|
38
|
+
let url:string = translationurl;
|
|
39
39
|
|
|
40
40
|
fetch(url).then((res:any) => res.json())
|
|
41
41
|
.then((res) => {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
$: products && parseProductInfo();
|
|
111
111
|
$: clientstyling && customStylingContainer && setClientStyling();
|
|
112
112
|
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
113
|
-
$:
|
|
113
|
+
$: translationurl && setTranslationUrl();
|
|
114
114
|
</script>
|
|
115
115
|
|
|
116
116
|
|