videomail-client 15.7.2 → 15.7.4

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.
@@ -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.2"
10935
+ rE: "15.7.4"
10936
10936
  };
10937
10937
  function isAudioEnabled(options) {
10938
10938
  return Boolean(options.audio.enabled);
@@ -10949,9 +10949,10 @@ var __webpack_exports__ = {};
10949
10949
  function inspect(element) {
10950
10950
  return util_default().inspect(element, {
10951
10951
  colors: false,
10952
- compact: true,
10952
+ compact: false,
10953
10953
  depth: 4,
10954
- breakLength: 1 / 0
10954
+ breakLength: 1 / 0,
10955
+ showHidden: true
10955
10956
  }).replace(/\s+/gu, " ").replace(/\r?\n/gu, "");
10956
10957
  }
10957
10958
  function pretty(anything) {
@@ -17548,7 +17549,8 @@ var __webpack_exports__ = {};
17548
17549
  const online = navigator.onLine;
17549
17550
  const elapsedMs = this.connectingStartedAt ? Date.now() - this.connectingStartedAt : void 0;
17550
17551
  const closeEvent = this.lastCloseEvent;
17551
- this.options.logger.debug(`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
+ 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"}`;
17553
+ this.options.logger.debug(debugLine);
17552
17554
  let explanation;
17553
17555
  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
17556
  else {
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.2"
3623
+ rE: "15.7.4"
3624
3624
  };
3625
3625
  function isAudioEnabled(options) {
3626
3626
  return Boolean(options.audio.enabled);
@@ -3637,9 +3637,10 @@ var util_default = /*#__PURE__*/ __webpack_require__.n(util);
3637
3637
  function inspect(element) {
3638
3638
  return util_default().inspect(element, {
3639
3639
  colors: false,
3640
- compact: true,
3640
+ compact: false,
3641
3641
  depth: 4,
3642
- breakLength: 1 / 0
3642
+ breakLength: 1 / 0,
3643
+ showHidden: true
3643
3644
  }).replace(/\s+/gu, " ").replace(/\r?\n/gu, "");
3644
3645
  }
3645
3646
  function pretty(anything) {
@@ -6610,7 +6611,8 @@ class Recorder extends util_Despot {
6610
6611
  const online = navigator.onLine;
6611
6612
  const elapsedMs = this.connectingStartedAt ? Date.now() - this.connectingStartedAt : void 0;
6612
6613
  const closeEvent = this.lastCloseEvent;
6613
- this.options.logger.debug(`Recorder: failConnection() diagnostic - cause=${cause}, online=${online}, elapsedMs=${elapsedMs ?? "unknown"}, closeCode=${closeEvent?.code ?? "none"}, closeReason=${closeEvent?.reason || "none"}, wasClean=${closeEvent?.wasClean ?? "unknown"}`);
6614
+ const debugLine = `Recorder: failConnection() diagnostic - cause=${cause}, online=${online}, elapsedMs=${elapsedMs ?? "unknown"}, closeCode=${closeEvent?.code ?? "none"}, closeReason=${closeEvent?.reason || "none"}, wasClean=${closeEvent?.wasClean ?? "unknown"}`;
6615
+ this.options.logger.debug(debugLine);
6614
6616
  let explanation;
6615
6617
  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
6618
  else {
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.2"
10941
+ rE: "15.7.4"
10942
10942
  };
10943
10943
  function isAudioEnabled(options) {
10944
10944
  return Boolean(options.audio.enabled);
@@ -10955,9 +10955,10 @@
10955
10955
  function inspect(element) {
10956
10956
  return util_default().inspect(element, {
10957
10957
  colors: false,
10958
- compact: true,
10958
+ compact: false,
10959
10959
  depth: 4,
10960
- breakLength: 1 / 0
10960
+ breakLength: 1 / 0,
10961
+ showHidden: true
10961
10962
  }).replace(/\s+/gu, " ").replace(/\r?\n/gu, "");
10962
10963
  }
10963
10964
  function pretty(anything) {
@@ -17319,7 +17320,8 @@
17319
17320
  const online = navigator.onLine;
17320
17321
  const elapsedMs = this.connectingStartedAt ? Date.now() - this.connectingStartedAt : void 0;
17321
17322
  const closeEvent = this.lastCloseEvent;
17322
- this.options.logger.debug(`Recorder: failConnection() diagnostic - cause=${cause}, online=${online}, elapsedMs=${elapsedMs ?? "unknown"}, closeCode=${closeEvent?.code ?? "none"}, closeReason=${closeEvent?.reason || "none"}, wasClean=${closeEvent?.wasClean ?? "unknown"}`);
17323
+ const debugLine = `Recorder: failConnection() diagnostic - cause=${cause}, online=${online}, elapsedMs=${elapsedMs ?? "unknown"}, closeCode=${closeEvent?.code ?? "none"}, closeReason=${closeEvent?.reason || "none"}, wasClean=${closeEvent?.wasClean ?? "unknown"}`;
17324
+ this.options.logger.debug(debugLine);
17323
17325
  let explanation;
17324
17326
  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
17327
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "15.7.2",
3
+ "version": "15.7.4",
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.0",
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.0",
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",