@everymatrix/player-account-controller 0.0.235 → 0.0.236
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
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
<player-account-controller
|
|
34
34
|
endpoint="https://demo-api.stage.norway.everymatrix.com/v1"
|
|
35
35
|
cmsendpoint="https://wt1-stage.everymatrix.com/apijson"
|
|
36
|
-
playerid="
|
|
37
|
-
session="
|
|
36
|
+
playerid="3856617"
|
|
37
|
+
session="98e4463e-4196-4882-b6b8-fd79d664abd7"
|
|
38
38
|
customnotifications="#58586B,#2687F6,#D0046C"
|
|
39
39
|
lang="en"
|
|
40
40
|
env="stage"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/player-account-controller",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.236",
|
|
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.
|
|
33
|
-
"@everymatrix/player-account-notifications": "^0.0.
|
|
32
|
+
"@everymatrix/player-account-menu": "^0.0.236",
|
|
33
|
+
"@everymatrix/player-account-notifications": "^0.0.236",
|
|
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": "
|
|
41
|
+
"gitHead": "43b4bf97936766e6e83c4522d412c4ff3049d9e2"
|
|
42
42
|
}
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
let storedRealityCheck:string = '';
|
|
56
56
|
let errorPasswordChanged:string = '';
|
|
57
57
|
let showErrorPasswordChanged:boolean = false;
|
|
58
|
+
let selected:string;
|
|
58
59
|
|
|
59
60
|
const widgetTitle = ['Profile Info',
|
|
60
61
|
'Change password',
|
|
@@ -91,6 +92,10 @@
|
|
|
91
92
|
case 'SetActivePage':
|
|
92
93
|
switchContent = true;
|
|
93
94
|
pageName = e.data.pageName;
|
|
95
|
+
let aux:any = menuData.filter((item) => {
|
|
96
|
+
return item.label == pageName;
|
|
97
|
+
});
|
|
98
|
+
selected = aux[0].id;
|
|
94
99
|
getUserProfileInfo();
|
|
95
100
|
break;
|
|
96
101
|
|
|
@@ -633,7 +638,7 @@
|
|
|
633
638
|
{/if}
|
|
634
639
|
{:else}
|
|
635
640
|
<nav>
|
|
636
|
-
<player-account-menu {endpoint} {session} {playerid} {lang}></player-account-menu>
|
|
641
|
+
<player-account-menu {endpoint} {session} {playerid} {lang} selecteditem={selected}></player-account-menu>
|
|
637
642
|
</nav>
|
|
638
643
|
<main>
|
|
639
644
|
{#if switchContent && pageName === widgetTitle[0]}
|