@everymatrix/player-account-controller 1.15.0 → 1.15.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/player-account-controller",
3
- "version": "1.15.0",
3
+ "version": "1.15.2",
4
4
  "main": "dist/player-account-controller.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "15ce8765c213b2c036dd5fbc5007d6ea5a666dc1"
38
+ "gitHead": "c590519dbcc5d9ba61081face50b61df6f79981d"
39
39
  }
@@ -23,6 +23,7 @@
23
23
  import '@everymatrix/player-transaction-history';
24
24
  import '@everymatrix/player-gaming-history';
25
25
  import '@everymatrix/player-account-betting-history';
26
+ import '@everymatrix/player-account-gaming-limits-wrapper-2';
26
27
  import type { OmWidgets } from './PlayerAccountController.types';
27
28
 
28
29
  export let cmsendpoint:string = '';
@@ -42,6 +43,15 @@
42
43
  export let hasdefaultamount:string = 'false';
43
44
  export let userroles:string = '';
44
45
  export let simplepasswordvalidation:string = 'false';
46
+ export let tablabels:string = '';
47
+ export let historyenabled:string = '';
48
+ export let deletelimit:string = '';
49
+ export let limitsamount:string = '';
50
+ export let limitsperiods:string = '';
51
+ export let numberofentries:string = '';
52
+ export let customcurrencysymbols:string = '';
53
+ export let currency:string = '';
54
+ export let apiversion:string = '';
45
55
  export let clientstyling:string = '';
46
56
  export let clientstylingurl:string = '';
47
57
  export let translationurl:string = '';
@@ -91,7 +101,8 @@
91
101
  'Withdrawal',
92
102
  'Pending Withdrawals',
93
103
  'Transaction History',
94
- 'Betting History'];
104
+ 'Betting History',
105
+ 'Limits'];
95
106
  const widgetPath = ['/profile-info',
96
107
  '/change-password',
97
108
  '/reality-check',
@@ -106,7 +117,8 @@
106
117
  '/withdrawal',
107
118
  '/pending-withdrawals',
108
119
  '/transaction-history',
109
- '/betting-history'];
120
+ '/betting-history',
121
+ '/limits'];
110
122
 
111
123
  let switchContent:boolean = false;
112
124
 
@@ -870,6 +882,8 @@
870
882
  <player-transaction-history {endpoint} {session} {playerid} {lang} {clientstyling} {clientstylingurl}></player-transaction-history>
871
883
  {:else if switchContent && pagePath === widgetPath[14]}
872
884
  <player-account-betting-history {endpoint} {session} {playerid} {lang} {clientstyling} {clientstylingurl}></player-account-betting-history>
885
+ {:else if switchContent && pagePath === widgetPath[15]}
886
+ <player-account-gaming-limits-wrapper-2 {endpoint} userid={playerid} {session} {lang} {tablabels} {historyenabled} {deletelimit} {limitsamount} {limitsperiods} {numberofentries} {customcurrencysymbols} {currency} {apiversion} {translationurl} {clientstyling} {clientstylingurl}></player-account-gaming-limits-wrapper-2>
873
887
  {/if}
874
888
  {/if}
875
889
  {:else}
@@ -907,6 +921,8 @@
907
921
  <player-transaction-history {endpoint} {session} {playerid} {lang} {clientstyling} {clientstylingurl}></player-transaction-history>
908
922
  {:else if switchContent && pagePath === widgetPath[14]}
909
923
  <player-account-betting-history {endpoint} {session} {playerid} {lang} {clientstyling} {clientstylingurl}></player-account-betting-history>
924
+ {:else if switchContent && pagePath === widgetPath[15]}
925
+ <player-account-gaming-limits-wrapper-2 {endpoint} userid={playerid} {session} {tablabels} {lang} {historyenabled} {deletelimit} {limitsamount} {limitsperiods} {numberofentries} {customcurrencysymbols} {currency} {apiversion} {translationurl} {clientstyling} {clientstylingurl}></player-account-gaming-limits-wrapper-2>
910
926
  {/if}
911
927
  </main>
912
928
  <aside>