videomail-client 15.7.2 → 15.7.3
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/cjs/index.cjs +4 -3
- package/dist/esm/index.js +4 -3
- package/dist/umd/index.js +4 -3
- package/package.json +3 -3
package/dist/cjs/index.cjs
CHANGED
|
@@ -10932,7 +10932,7 @@ var __webpack_exports__ = {};
|
|
|
10932
10932
|
var client = __webpack_require__(5734);
|
|
10933
10933
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10934
10934
|
var package_namespaceObject = {
|
|
10935
|
-
rE: "15.7.
|
|
10935
|
+
rE: "15.7.3"
|
|
10936
10936
|
};
|
|
10937
10937
|
function isAudioEnabled(options) {
|
|
10938
10938
|
return Boolean(options.audio.enabled);
|
|
@@ -17548,12 +17548,13 @@ var __webpack_exports__ = {};
|
|
|
17548
17548
|
const online = navigator.onLine;
|
|
17549
17549
|
const elapsedMs = this.connectingStartedAt ? Date.now() - this.connectingStartedAt : void 0;
|
|
17550
17550
|
const closeEvent = this.lastCloseEvent;
|
|
17551
|
-
|
|
17551
|
+
const debugLine = `Recorder: failConnection() diagnostic - cause=${cause}, online=${online}, elapsedMs=${null != elapsedMs ? elapsedMs : "unknown"}, closeCode=${null != (_ref = null == closeEvent ? void 0 : closeEvent.code) ? _ref : "none"}, closeReason=${(null == closeEvent ? void 0 : closeEvent.reason) || "none"}, wasClean=${null != (_ref1 = null == closeEvent ? void 0 : closeEvent.wasClean) ? _ref1 : "unknown"}`;
|
|
17552
|
+
this.options.logger.debug(debugLine);
|
|
17552
17553
|
let explanation;
|
|
17553
17554
|
if (online) if ("timeout" === cause) explanation = `The server at ${url2Connect} did not respond within ${this.options.timeouts.connection}ms, even though your device is online. This usually points to a firewall or proxy silently dropping the connection. Please try a different network. If the problem persists, contact us.`;
|
|
17554
17555
|
else {
|
|
17555
17556
|
const closeSuffix = closeEvent ? ` (close code ${closeEvent.code})` : "";
|
|
17556
|
-
explanation = `The connection to ${url2Connect} was refused or could not be reached${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us
|
|
17557
|
+
explanation = `The connection to ${url2Connect} was refused or could not be reached${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us.\n\nDebug info: ${debugLine}`;
|
|
17557
17558
|
}
|
|
17558
17559
|
else explanation = "Your device appears to be offline. Please check your internet connection and try again.";
|
|
17559
17560
|
if (this.stream) {
|
package/dist/esm/index.js
CHANGED
|
@@ -3620,7 +3620,7 @@ const constants = {
|
|
|
3620
3620
|
}
|
|
3621
3621
|
};
|
|
3622
3622
|
var package_namespaceObject = {
|
|
3623
|
-
rE: "15.7.
|
|
3623
|
+
rE: "15.7.3"
|
|
3624
3624
|
};
|
|
3625
3625
|
function isAudioEnabled(options) {
|
|
3626
3626
|
return Boolean(options.audio.enabled);
|
|
@@ -6610,12 +6610,13 @@ class Recorder extends util_Despot {
|
|
|
6610
6610
|
const online = navigator.onLine;
|
|
6611
6611
|
const elapsedMs = this.connectingStartedAt ? Date.now() - this.connectingStartedAt : void 0;
|
|
6612
6612
|
const closeEvent = this.lastCloseEvent;
|
|
6613
|
-
|
|
6613
|
+
const debugLine = `Recorder: failConnection() diagnostic - cause=${cause}, online=${online}, elapsedMs=${elapsedMs ?? "unknown"}, closeCode=${closeEvent?.code ?? "none"}, closeReason=${closeEvent?.reason || "none"}, wasClean=${closeEvent?.wasClean ?? "unknown"}`;
|
|
6614
|
+
this.options.logger.debug(debugLine);
|
|
6614
6615
|
let explanation;
|
|
6615
6616
|
if (online) if ("timeout" === cause) explanation = `The server at ${url2Connect} did not respond within ${this.options.timeouts.connection}ms, even though your device is online. This usually points to a firewall or proxy silently dropping the connection. Please try a different network. If the problem persists, contact us.`;
|
|
6616
6617
|
else {
|
|
6617
6618
|
const closeSuffix = closeEvent ? ` (close code ${closeEvent.code})` : "";
|
|
6618
|
-
explanation = `The connection to ${url2Connect} was refused or could not be reached${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us
|
|
6619
|
+
explanation = `The connection to ${url2Connect} was refused or could not be reached${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us.\n\nDebug info: ${debugLine}`;
|
|
6619
6620
|
}
|
|
6620
6621
|
else explanation = "Your device appears to be offline. Please check your internet connection and try again.";
|
|
6621
6622
|
if (this.stream) {
|
package/dist/umd/index.js
CHANGED
|
@@ -10938,7 +10938,7 @@
|
|
|
10938
10938
|
var client = __webpack_require__(5734);
|
|
10939
10939
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10940
10940
|
var package_namespaceObject = {
|
|
10941
|
-
rE: "15.7.
|
|
10941
|
+
rE: "15.7.3"
|
|
10942
10942
|
};
|
|
10943
10943
|
function isAudioEnabled(options) {
|
|
10944
10944
|
return Boolean(options.audio.enabled);
|
|
@@ -17319,12 +17319,13 @@
|
|
|
17319
17319
|
const online = navigator.onLine;
|
|
17320
17320
|
const elapsedMs = this.connectingStartedAt ? Date.now() - this.connectingStartedAt : void 0;
|
|
17321
17321
|
const closeEvent = this.lastCloseEvent;
|
|
17322
|
-
|
|
17322
|
+
const debugLine = `Recorder: failConnection() diagnostic - cause=${cause}, online=${online}, elapsedMs=${elapsedMs ?? "unknown"}, closeCode=${closeEvent?.code ?? "none"}, closeReason=${closeEvent?.reason || "none"}, wasClean=${closeEvent?.wasClean ?? "unknown"}`;
|
|
17323
|
+
this.options.logger.debug(debugLine);
|
|
17323
17324
|
let explanation;
|
|
17324
17325
|
if (online) if ("timeout" === cause) explanation = `The server at ${url2Connect} did not respond within ${this.options.timeouts.connection}ms, even though your device is online. This usually points to a firewall or proxy silently dropping the connection. Please try a different network. If the problem persists, contact us.`;
|
|
17325
17326
|
else {
|
|
17326
17327
|
const closeSuffix = closeEvent ? ` (close code ${closeEvent.code})` : "";
|
|
17327
|
-
explanation = `The connection to ${url2Connect} was refused or could not be reached${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us
|
|
17328
|
+
explanation = `The connection to ${url2Connect} was refused or could not be reached${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us.\n\nDebug info: ${debugLine}`;
|
|
17328
17329
|
}
|
|
17329
17330
|
else explanation = "Your device appears to be offline. Please check your internet connection and try again.";
|
|
17330
17331
|
if (this.stream) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "15.7.
|
|
3
|
+
"version": "15.7.3",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, for Deaf and Sign Language!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@tsconfig/node26": "26.0.1",
|
|
90
90
|
"@tsconfig/strictest": "2.0.8",
|
|
91
91
|
"@types/defined": "1.0.2",
|
|
92
|
-
"@types/node": "26.5.
|
|
92
|
+
"@types/node": "26.5.1",
|
|
93
93
|
"@types/superagent": "8.1.11",
|
|
94
94
|
"@types/ua-parser-js": "0.7.39",
|
|
95
95
|
"@vitest/eslint-plugin": "1.6.27",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"eslint-plugin-de-morgan": "2.1.3",
|
|
102
102
|
"eslint-plugin-depend": "1.5.0",
|
|
103
103
|
"eslint-plugin-import-x": "4.17.1",
|
|
104
|
-
"eslint-plugin-package-json": "1.8.
|
|
104
|
+
"eslint-plugin-package-json": "1.8.1",
|
|
105
105
|
"eslint-plugin-regexp": "3.3.0",
|
|
106
106
|
"eslint-plugin-simple-import-sort": "14.0.0",
|
|
107
107
|
"globals": "17.12.0",
|