web-manager 3.1.37 → 3.1.39
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +26 -5
- package/package.json +1 -1
package/index.js
CHANGED
@@ -96,7 +96,20 @@ function Manager() {
|
|
96
96
|
contact: {
|
97
97
|
emailSupport: '',
|
98
98
|
emailBusiness: '',
|
99
|
-
},
|
99
|
+
},
|
100
|
+
download: {
|
101
|
+
windows: '',
|
102
|
+
mac: '',
|
103
|
+
linuxDebian: '',
|
104
|
+
linuxSnap: '',
|
105
|
+
},
|
106
|
+
extension: {
|
107
|
+
chrome: '',
|
108
|
+
firefox: '',
|
109
|
+
edge: '',
|
110
|
+
opera: '',
|
111
|
+
safari: '',
|
112
|
+
},
|
100
113
|
validRedirectHosts: [],
|
101
114
|
// preferences: {
|
102
115
|
// // firebase: {
|
@@ -628,9 +641,12 @@ function Manager() {
|
|
628
641
|
This.properties.global.version = configuration.global.version;
|
629
642
|
This.properties.global.url = configuration.global.url;
|
630
643
|
This.properties.global.cacheBreaker = configuration.global.cacheBreaker;
|
631
|
-
|
632
|
-
This.properties.global.
|
633
|
-
This.properties.global.contact
|
644
|
+
|
645
|
+
This.properties.global.brand = configuration.global.brand;
|
646
|
+
This.properties.global.contact = configuration.global.contact;
|
647
|
+
This.properties.global.download = configuration.global.download;
|
648
|
+
This.properties.global.extension = configuration.global.extension;
|
649
|
+
|
634
650
|
This.properties.global.validRedirectHosts = configuration.global.validRedirectHosts;
|
635
651
|
This.properties.meta.environment = utilities.get(configuration, 'global.settings.debug.environment', This.properties.meta.environment);
|
636
652
|
This.properties.page.queryString = new URLSearchParams(window.location.search);
|
@@ -1427,7 +1443,11 @@ function Manager() {
|
|
1427
1443
|
|
1428
1444
|
var load_chatsy = function(This, options) {
|
1429
1445
|
return new Promise(function(resolve, reject) {
|
1430
|
-
|
1446
|
+
|
1447
|
+
if (
|
1448
|
+
options.libraries.chatsy.enabled === true
|
1449
|
+
&& !This.properties.page._chatsyRequested
|
1450
|
+
) {
|
1431
1451
|
var chatsyPath = 'libraries.chatsy.config';
|
1432
1452
|
|
1433
1453
|
loadScript({
|
@@ -1455,6 +1475,7 @@ function Manager() {
|
|
1455
1475
|
resolve();
|
1456
1476
|
})
|
1457
1477
|
|
1478
|
+
This.properties.page._chatsyRequested = true;
|
1458
1479
|
} else {
|
1459
1480
|
resolve();
|
1460
1481
|
}
|
package/package.json
CHANGED