@everymatrix/player-account-controller 0.0.317 → 0.0.318
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.
|
|
3
|
+
"version": "0.0.318",
|
|
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.318",
|
|
33
|
+
"@everymatrix/player-account-notifications": "^0.0.318",
|
|
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": "1eada1959a0f3cecaf9cbbb82243d5082534330e"
|
|
42
42
|
}
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
case 'PlayerAccountGamingLimitDelete':
|
|
367
367
|
let limitsDeleteData:any = e.data.limit ? e.data.limit : {};
|
|
368
368
|
let deletedPeriodLimit:any;
|
|
369
|
-
|
|
369
|
+
|
|
370
370
|
if (Array.isArray(limitsDeleteData)) {
|
|
371
371
|
deletedPeriodLimit = limitsDeleteData.map((item) => item.period);
|
|
372
372
|
} else {
|
|
@@ -420,11 +420,14 @@
|
|
|
420
420
|
type: 'success',
|
|
421
421
|
message: $_('playerAccount.limitsDeleteSuccess')
|
|
422
422
|
}}, window.location.href);
|
|
423
|
-
getGamingLimits(new URL(`v2/player/${userId}/limits`, endpoint));
|
|
424
423
|
} else {
|
|
425
424
|
// ERROR
|
|
426
425
|
}
|
|
426
|
+
}).then((res:any):void => {
|
|
427
|
+
getGamingLimits(new URL(`v2/player/${userId}/limits`, endpoint));
|
|
427
428
|
});
|
|
429
|
+
|
|
430
|
+
|
|
428
431
|
break;
|
|
429
432
|
|
|
430
433
|
case 'GamingLimitsConfirmChanges':
|
|
@@ -628,6 +631,7 @@
|
|
|
628
631
|
showdeletenotification,
|
|
629
632
|
lang,
|
|
630
633
|
}});
|
|
634
|
+
|
|
631
635
|
} else {
|
|
632
636
|
depositlimit = [];
|
|
633
637
|
wageringlimit = [];
|
|
@@ -651,7 +655,6 @@
|
|
|
651
655
|
getNotificationsDetails(new URL(`${cmsendpoint}/${lang}/support-information?env=${env}`));
|
|
652
656
|
getUserProfileInfo();
|
|
653
657
|
getUserProfileConsent();
|
|
654
|
-
getGamingLimits(new URL(`v2/player/${userId}/limits`, endpoint));
|
|
655
658
|
getRealityCheckData(new URL(`${endpoint}/player/${playerid}/realitycheck`));
|
|
656
659
|
}
|
|
657
660
|
|