videomail-client 10.3.6 → 10.3.7

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.
@@ -10649,7 +10649,7 @@ var __webpack_exports__ = {};
10649
10649
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10650
10650
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10651
10651
  var package_namespaceObject = {
10652
- i8: "10.3.6"
10652
+ i8: "10.3.7"
10653
10653
  };
10654
10654
  var defined = __webpack_require__("./node_modules/defined/index.js");
10655
10655
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -13952,7 +13952,7 @@ var __webpack_exports__ = {};
13952
13952
  screen.height,
13953
13953
  screen.colorDepth
13954
13954
  ].join("\xd7");
13955
- if (screen.orientation) this.orientation = screen.orientation.type.toString();
13955
+ if (screen.orientation) this.orientation = screen.orientation.type;
13956
13956
  this.err = null == errData ? void 0 : errData.err;
13957
13957
  var _errData_cause;
13958
13958
  const stackTarget = null != (_errData_cause = null == errData ? void 0 : errData.cause) ? _errData_cause : null == errData ? void 0 : errData.err;
@@ -16042,7 +16042,7 @@ var __webpack_exports__ = {};
16042
16042
  }
16043
16043
  error(err) {
16044
16044
  const message = err.message;
16045
- const explanation = err.explanation ? err.explanation.toString() : void 0;
16045
+ const explanation = err.explanation;
16046
16046
  if (!message) this.options.logger.debug(`Weird empty error message generated for error ${util_pretty(err)}`);
16047
16047
  this.notify(message, explanation, {
16048
16048
  blocking: true,
package/dist/esm/index.js CHANGED
@@ -3602,7 +3602,7 @@ const constants = {
3602
3602
  }
3603
3603
  };
3604
3604
  var package_namespaceObject = {
3605
- i8: "10.3.6"
3605
+ i8: "10.3.7"
3606
3606
  };
3607
3607
  var VideoType_VideoType = /*#__PURE__*/ function(VideoType) {
3608
3608
  VideoType["WebM"] = "webm";
@@ -3782,7 +3782,7 @@ class VideomailError extends HTTPVideomailError {
3782
3782
  screen.height,
3783
3783
  screen.colorDepth
3784
3784
  ].join("\xd7");
3785
- if (screen.orientation) this.orientation = screen.orientation.type.toString();
3785
+ if (screen.orientation) this.orientation = screen.orientation.type;
3786
3786
  this.err = errData?.err;
3787
3787
  const stackTarget = errData?.cause ?? errData?.err;
3788
3788
  if (stackTarget) {
@@ -5603,7 +5603,7 @@ class Notifier extends util_Despot {
5603
5603
  }
5604
5604
  error(err) {
5605
5605
  const message = err.message;
5606
- const explanation = err.explanation ? err.explanation.toString() : void 0;
5606
+ const explanation = err.explanation;
5607
5607
  if (!message) this.options.logger.debug(`Weird empty error message generated for error ${util_pretty(err)}`);
5608
5608
  this.notify(message, explanation, {
5609
5609
  blocking: true,
package/dist/umd/index.js CHANGED
@@ -10655,7 +10655,7 @@
10655
10655
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10656
10656
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10657
10657
  var package_namespaceObject = {
10658
- i8: "10.3.6"
10658
+ i8: "10.3.7"
10659
10659
  };
10660
10660
  var defined = __webpack_require__("./node_modules/defined/index.js");
10661
10661
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -13946,7 +13946,7 @@
13946
13946
  screen.height,
13947
13947
  screen.colorDepth
13948
13948
  ].join("\xd7");
13949
- if (screen.orientation) this.orientation = screen.orientation.type.toString();
13949
+ if (screen.orientation) this.orientation = screen.orientation.type;
13950
13950
  this.err = errData?.err;
13951
13951
  const stackTarget = errData?.cause ?? errData?.err;
13952
13952
  if (stackTarget) {
@@ -15886,7 +15886,7 @@
15886
15886
  }
15887
15887
  error(err) {
15888
15888
  const message = err.message;
15889
- const explanation = err.explanation ? err.explanation.toString() : void 0;
15889
+ const explanation = err.explanation;
15890
15890
  if (!message) this.options.logger.debug(`Weird empty error message generated for error ${util_pretty(err)}`);
15891
15891
  this.notify(message, explanation, {
15892
15892
  blocking: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "10.3.6",
3
+ "version": "10.3.7",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -74,17 +74,17 @@
74
74
  "websocket-stream": "5.5.2"
75
75
  },
76
76
  "devDependencies": {
77
- "@chromatic-com/storybook": "4.0.1",
77
+ "@chromatic-com/storybook": "4.1.0",
78
78
  "@eslint/config-inspector": "1.1.0",
79
79
  "@eslint/js": "9.32.0",
80
- "@rsbuild/plugin-node-polyfill": "1.4.0",
81
- "@rsbuild/plugin-stylus": "1.1.2",
82
- "@rsdoctor/rspack-plugin": "1.1.10",
83
- "@rslib/core": "0.11.0",
84
- "@storybook/addon-a11y": "9.1.0",
85
- "@storybook/addon-docs": "9.1.0",
86
- "@storybook/addon-links": "9.1.0",
87
- "@storybook/html": "9.1.0",
80
+ "@rsbuild/plugin-node-polyfill": "1.4.1",
81
+ "@rsbuild/plugin-stylus": "1.1.3",
82
+ "@rsdoctor/rspack-plugin": "1.2.0",
83
+ "@rslib/core": "0.11.2",
84
+ "@storybook/addon-a11y": "9.1.1",
85
+ "@storybook/addon-docs": "9.1.1",
86
+ "@storybook/addon-links": "9.1.1",
87
+ "@storybook/html": "9.1.1",
88
88
  "@tsconfig/node22": "22.0.2",
89
89
  "@tsconfig/strictest": "2.0.5",
90
90
  "@types/defined": "1.0.2",
@@ -97,15 +97,15 @@
97
97
  "cross-env": "10.0.0",
98
98
  "eslint": "9.32.0",
99
99
  "eslint-import-resolver-typescript": "4.4.4",
100
- "eslint-plugin-de-morgan": "1.3.0",
100
+ "eslint-plugin-de-morgan": "1.3.1",
101
101
  "eslint-plugin-depend": "1.2.0",
102
102
  "eslint-plugin-import-x": "4.16.1",
103
- "eslint-plugin-package-json": "0.48.0",
103
+ "eslint-plugin-package-json": "0.52.1",
104
104
  "eslint-plugin-promise": "7.2.1",
105
- "eslint-plugin-regexp": "2.9.0",
105
+ "eslint-plugin-regexp": "2.10.0",
106
106
  "eslint-plugin-security": "3.0.1",
107
107
  "eslint-plugin-simple-import-sort": "12.1.1",
108
- "eslint-plugin-storybook": "9.1.0",
108
+ "eslint-plugin-storybook": "9.1.1",
109
109
  "globals": "16.3.0",
110
110
  "jsdom": "26.1.0",
111
111
  "msw": "2.10.4",
@@ -115,11 +115,11 @@
115
115
  "prettier-plugin-packagejson": "2.5.19",
116
116
  "prettier-plugin-sh": "0.18.0",
117
117
  "release-it": "19.0.4",
118
- "storybook": "9.1.0",
119
- "storybook-html-rsbuild": "2.0.2",
118
+ "storybook": "9.1.1",
119
+ "storybook-html-rsbuild": "2.0.3",
120
120
  "type-fest": "4.41.0",
121
121
  "typescript": "5.8.3",
122
- "typescript-eslint": "8.38.0",
122
+ "typescript-eslint": "8.39.0",
123
123
  "vitest": "3.2.4"
124
124
  },
125
125
  "engines": {