@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.205",
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": "6dce99b13a7f9044dfab5b03c11def9ce42cbbe3"
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, setupI18n } from './i18n';
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
 
package/src/en.js DELETED
@@ -1,9 +0,0 @@
1
- export const en = {
2
- gamePage: {
3
- signIn: 'SIGN IN',
4
- register: 'REGISTER',
5
- deposit: 'DEPOSIT',
6
- playForFun: 'PLAY FOR FUN',
7
- playNow: 'PLAY NOW'
8
- }
9
- }