@everymatrix/casino-game-page 0.0.205 → 0.0.209
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-game-page",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.209",
|
4
4
|
"main": "dist/casino-game-page.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": "0cdc5a5de8fee8ead3a559d272a436d01db74a1c"
|
40
40
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<script lang="typescript">
|
4
4
|
import { onMount } from "svelte";
|
5
5
|
import { isMobile, checkSession, getDevice } from 'rvhelper';
|
6
|
-
import { _, addNewMessages
|
6
|
+
import { _, addNewMessages } from './i18n';
|
7
7
|
import { GamePageTranslations } from './translations';
|
8
8
|
|
9
9
|
import moment from 'moment';
|
@@ -57,8 +57,6 @@
|
|
57
57
|
let favoriteGames: Array<Object> = [];
|
58
58
|
let customStylingContainer:HTMLElement;
|
59
59
|
|
60
|
-
setupI18n({ withLocale: 'en', translations: {}});
|
61
|
-
|
62
60
|
Object.keys(GamePageTranslations).forEach((item) => {
|
63
61
|
addNewMessages(item, GamePageTranslations[item]);
|
64
62
|
});
|
@@ -278,7 +276,7 @@
|
|
278
276
|
|
279
277
|
const toggleDeposit = () => {
|
280
278
|
if (depositevent) {
|
281
|
-
window.postMessage(depositevent, window.location.href);
|
279
|
+
window.postMessage({ type: depositevent }, window.location.href);
|
282
280
|
window.postMessage({ type: 'ModalClosed' }, window.location.href);
|
283
281
|
}
|
284
282
|
|