@everymatrix/casino-random-game 1.2.0 → 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-random-game",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"main": "dist/casino-random-game.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
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
export let lang:string = '';
|
|
12
12
|
export let randombuttonicon:string = '';
|
|
13
13
|
export let buttontext: string = '';
|
|
14
|
-
export let
|
|
14
|
+
export let translationurl:string = '';
|
|
15
15
|
export let clientstyling:string = '';
|
|
16
16
|
export let clientstylingurl:string = '';
|
|
17
17
|
export let filteredrandomgamecategories:string = '';
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
setupI18n({ withLocale: 'en', translations: {}});
|
|
31
31
|
|
|
32
32
|
const setTranslationUrl = ():void => {
|
|
33
|
-
let url:string =
|
|
33
|
+
let url:string = translationurl;
|
|
34
34
|
|
|
35
35
|
fetch(url).then((res:any) => res.json())
|
|
36
36
|
.then((res) => {
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
$: lang && setActiveLanguage();
|
|
160
|
-
$:
|
|
160
|
+
$: translationurl && setTranslationUrl();
|
|
161
161
|
$: endpoint && datasource && fetchGameList();
|
|
162
162
|
$: clientstyling && customStylingContainer && setClientStyling();
|
|
163
163
|
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|