@everymatrix/player-account-controller 0.0.310 → 0.0.313

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": "0.0.310",
3
+ "version": "0.0.313",
4
4
  "main": "dist/player-account-controller.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -29,8 +29,8 @@
29
29
  "typescript": "^3.9.3"
30
30
  },
31
31
  "dependencies": {
32
- "@everymatrix/player-account-menu": "^0.0.310",
33
- "@everymatrix/player-account-notifications": "^0.0.310",
32
+ "@everymatrix/player-account-menu": "^0.0.313",
33
+ "@everymatrix/player-account-notifications": "^0.0.313",
34
34
  "cross-env": "^7.0.3",
35
35
  "sirv-cli": "^1.0.0",
36
36
  "svelte": "^3.0.0"
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "3955cf9d2fc7c1740b79c97d5e06492ea705194f"
41
+ "gitHead": "af5aea6963b17715112943ab526d7735afa34800"
42
42
  }
@@ -110,6 +110,7 @@
110
110
  case 'ChangeAccountPage':
111
111
  switchContent = true;
112
112
  pagePath = e.data.page.path;
113
+
113
114
  selected = e.data.page.id;
114
115
  if(pagePath == '/profile-info') {
115
116
  getUserProfileInfo();
@@ -400,7 +401,7 @@
400
401
  body: JSON.stringify(limitsDeleteData)
401
402
  };
402
403
 
403
- url = new URL(`v1/player/${userId}/limits/${limitName}`, endpoint)
404
+ url = new URL(`v2/player/${userId}/limits/${limitName}`, endpoint)
404
405
 
405
406
  //if single limit send string
406
407
  if (Array.isArray(deletedPeriodLimit)) {
@@ -721,7 +722,7 @@
721
722
  <player-withdrawal {endpoint} {session} {playerid} {lang}></player-withdrawal>
722
723
  {:else if switchContent && pagePath === widgetPath[12]}
723
724
  <player-pending-withdrawals {endpoint} {session} {playerid} {lang}></player-pending-withdrawals>
724
- {:else if switchContent && pagePath === widgetPath[13]}
725
+ {:else if switchContent} <!-- TODO: Fix pagePath comming twich on last item -->
725
726
  <player-transaction-history {endpoint} {session} {playerid} {lang}></player-transaction-history>
726
727
  {/if}
727
728
  {/if}
@@ -741,9 +742,7 @@
741
742
  {:else if switchContent && pagePath === widgetPath[4]}
742
743
  <player-account-closure {lang}></player-account-closure>
743
744
  {:else if switchContent && pagePath == widgetPath[5]}
744
- <player-account-gaming-limits
745
- use:sendLimitsData {playercurrency} {separatelimits}>
746
- </player-account-gaming-limits>
745
+ <player-account-gaming-limits use:sendLimitsData {playercurrency} {separatelimits}></player-account-gaming-limits>
747
746
  {:else if switchContent && pagePath === widgetPath[6]}
748
747
  <player-account-self-exclusion {lang} {operator}></player-account-self-exclusion>
749
748
  {:else if switchContent && pagePath === widgetPath[7]}
@@ -758,7 +757,7 @@
758
757
  <player-withdrawal {endpoint} {session} {playerid} {lang}></player-withdrawal>
759
758
  {:else if switchContent && pagePath === widgetPath[12]}
760
759
  <player-pending-withdrawals {endpoint} {session} {playerid} {lang}></player-pending-withdrawals>
761
- {:else if switchContent && pagePath === widgetPath[13]}
760
+ {:else if switchContent} <!-- TODO: Fix pagePath comming twich on last item -->
762
761
  <player-transaction-history {endpoint} {session} {playerid} {lang}></player-transaction-history>
763
762
  {/if}
764
763
  </main>