mftsccs-browser 2.1.34-beta → 2.1.36-beta
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/dist/main.bundle.js
CHANGED
|
@@ -11958,6 +11958,8 @@ class Logger {
|
|
|
11958
11958
|
}
|
|
11959
11959
|
}
|
|
11960
11960
|
static logfunction(myfunction, ...args) {
|
|
11961
|
+
if (!this.logPackageActivationStatus)
|
|
11962
|
+
return;
|
|
11961
11963
|
// if(this.logPackageActivationStatus){
|
|
11962
11964
|
let myarguments = args;
|
|
11963
11965
|
//let size = Object.values(myarguments[0]).length;
|
|
@@ -12125,13 +12127,13 @@ class Logger {
|
|
|
12125
12127
|
});
|
|
12126
12128
|
if (!response.ok) {
|
|
12127
12129
|
const responseBody = yield response.text();
|
|
12128
|
-
this.applicationLogsData.push(...storedLogs);
|
|
12130
|
+
// this.applicationLogsData.push(...storedLogs);
|
|
12129
12131
|
// console.error("Failed to send app-logs:-", response.status, response.statusText, responseBody);
|
|
12130
12132
|
}
|
|
12131
12133
|
}
|
|
12132
12134
|
}
|
|
12133
12135
|
catch (error) {
|
|
12134
|
-
this.applicationLogsData.push(...storedLogs);
|
|
12136
|
+
//this.applicationLogsData.push(...storedLogs);
|
|
12135
12137
|
// console.error("Network error while sending logs:", error);
|
|
12136
12138
|
}
|
|
12137
12139
|
});
|
|
@@ -12163,7 +12165,7 @@ class Logger {
|
|
|
12163
12165
|
});
|
|
12164
12166
|
if (!response.ok) {
|
|
12165
12167
|
const responseBody = yield response.text();
|
|
12166
|
-
this.packageLogsData.push(...storedLogs);
|
|
12168
|
+
// this.packageLogsData.push(...storedLogs);
|
|
12167
12169
|
//console.error("Failed to send logs:-", response.status, response.statusText, responseBody);
|
|
12168
12170
|
return;
|
|
12169
12171
|
}
|
|
@@ -12172,7 +12174,7 @@ class Logger {
|
|
|
12172
12174
|
//this.packageLogsData = []
|
|
12173
12175
|
}
|
|
12174
12176
|
catch (error) {
|
|
12175
|
-
this.packageLogsData.push(...storedLogs);
|
|
12177
|
+
//this.packageLogsData.push(...storedLogs);
|
|
12176
12178
|
//console.error("Error while sending logs to server:", error);
|
|
12177
12179
|
}
|
|
12178
12180
|
});
|
|
@@ -11958,6 +11958,8 @@ class Logger {
|
|
|
11958
11958
|
}
|
|
11959
11959
|
}
|
|
11960
11960
|
static logfunction(myfunction, ...args) {
|
|
11961
|
+
if (!this.logPackageActivationStatus)
|
|
11962
|
+
return;
|
|
11961
11963
|
// if(this.logPackageActivationStatus){
|
|
11962
11964
|
let myarguments = args;
|
|
11963
11965
|
//let size = Object.values(myarguments[0]).length;
|
|
@@ -12125,13 +12127,13 @@ class Logger {
|
|
|
12125
12127
|
});
|
|
12126
12128
|
if (!response.ok) {
|
|
12127
12129
|
const responseBody = yield response.text();
|
|
12128
|
-
this.applicationLogsData.push(...storedLogs);
|
|
12130
|
+
// this.applicationLogsData.push(...storedLogs);
|
|
12129
12131
|
// console.error("Failed to send app-logs:-", response.status, response.statusText, responseBody);
|
|
12130
12132
|
}
|
|
12131
12133
|
}
|
|
12132
12134
|
}
|
|
12133
12135
|
catch (error) {
|
|
12134
|
-
this.applicationLogsData.push(...storedLogs);
|
|
12136
|
+
//this.applicationLogsData.push(...storedLogs);
|
|
12135
12137
|
// console.error("Network error while sending logs:", error);
|
|
12136
12138
|
}
|
|
12137
12139
|
});
|
|
@@ -12163,7 +12165,7 @@ class Logger {
|
|
|
12163
12165
|
});
|
|
12164
12166
|
if (!response.ok) {
|
|
12165
12167
|
const responseBody = yield response.text();
|
|
12166
|
-
this.packageLogsData.push(...storedLogs);
|
|
12168
|
+
// this.packageLogsData.push(...storedLogs);
|
|
12167
12169
|
//console.error("Failed to send logs:-", response.status, response.statusText, responseBody);
|
|
12168
12170
|
return;
|
|
12169
12171
|
}
|
|
@@ -12172,7 +12174,7 @@ class Logger {
|
|
|
12172
12174
|
//this.packageLogsData = []
|
|
12173
12175
|
}
|
|
12174
12176
|
catch (error) {
|
|
12175
|
-
this.packageLogsData.push(...storedLogs);
|
|
12177
|
+
//this.packageLogsData.push(...storedLogs);
|
|
12176
12178
|
//console.error("Error while sending logs to server:", error);
|
|
12177
12179
|
}
|
|
12178
12180
|
});
|