@everymatrix/player-account-gaming-limits-wrapper-2 0.0.382 → 0.0.384

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/index.html CHANGED
@@ -24,14 +24,14 @@
24
24
  <div class="webcomponent">
25
25
  <player-account-gaming-limits-wrapper-2
26
26
  userid="4500790"
27
- session="bd2709d8-f564-4cc5-a5e8-dc1cc0987db6"
27
+ session="cf5f040b-65f9-4700-b3fd-4691040ebd2d"
28
28
  endpoint="https://betathome-com-stage-api.stage.norway.everymatrix.com/"
29
29
  apiversion="gmcore"
30
30
  currency = 'EUR'
31
31
  lang="en"
32
32
 
33
- includedlimits = "deposit"
34
- tablabels = 'Deposit Limit'
33
+ includedlimits = "deposit, stake"
34
+ tablabels = 'Deposit Limit, Slots Limit, Other'
35
35
  historyenabled = "true"
36
36
 
37
37
  clientstyling = ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-gaming-limits-wrapper-2",
3
- "version": "0.0.382",
3
+ "version": "0.0.384",
4
4
  "main": "dist/player-account-gaming-limits-wrapper-2.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -29,9 +29,9 @@
29
29
  "typescript": "^3.9.3"
30
30
  },
31
31
  "dependencies": {
32
- "@everymatrix/player-account-gaming-limits-history-2": "^0.0.382",
33
- "@everymatrix/player-account-gaming-limits-page-2-gm16": "^0.0.382",
34
- "@everymatrix/player-account-gaming-limits-page-2-gmcore": "^0.0.382",
32
+ "@everymatrix/player-account-gaming-limits-history-2": "^0.0.384",
33
+ "@everymatrix/player-account-gaming-limits-page-2-gm16": "^0.0.384",
34
+ "@everymatrix/player-account-gaming-limits-page-2-gmcore": "^0.0.384",
35
35
  "cross-env": "^7.0.3",
36
36
  "sirv-cli": "^1.0.0",
37
37
  "svelte": "^3.0.0"
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "05dd503a333153f5a56f5c5ef71dec9543999d9d"
42
+ "gitHead": "8fcc220fe4f2cf0038e915def16816ada1d3e022"
43
43
  }
@@ -1,6 +1,8 @@
1
1
  <svelte:options tag={null} />
2
2
 
3
3
  <script lang="ts">
4
+ import { onMount } from 'svelte';
5
+
4
6
  import '@everymatrix/player-account-gaming-limits-page-2-gmcore';
5
7
  import '@everymatrix/player-account-gaming-limits-page-2-gm16';
6
8
  import '@everymatrix/player-account-gaming-limits-history-2';
@@ -23,8 +25,8 @@
23
25
  let customStylingContainer:HTMLElement;
24
26
  let limitTabs:Array<string> = [];
25
27
  let tabLabelArray:Array<string>;
26
- let mainContainer:HTMLElement;
27
- let tabsContainer:HTMLElement;
28
+ let mainContainer:HTMLElement | undefined = undefined;
29
+ let tabsContainer:HTMLElement | undefined = undefined;
28
30
 
29
31
  const determineTabs = ():void => {
30
32
  limitTabs = includedlimits.split(',').map(word => word.trim());
@@ -67,6 +69,13 @@
67
69
  });
68
70
  }
69
71
 
72
+ onMount(() => {
73
+ return () => {
74
+ mainContainer = null;
75
+ tabsContainer = null;
76
+ }
77
+ });
78
+
70
79
  $:mainContainer && selectTab(0);
71
80
  $:clientstylingurl && setClientStylingURL();
72
81
  $:clientstyling && setClientStyling();