videomail-client 10.2.33 → 10.2.35

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.
@@ -13774,7 +13774,9 @@ var __webpack_exports__ = {};
13774
13774
  this.err = null == errData ? void 0 : errData.err;
13775
13775
  var _errData_cause;
13776
13776
  const stackTarget = null != (_errData_cause = null == errData ? void 0 : errData.cause) ? _errData_cause : null == errData ? void 0 : errData.err;
13777
- if (stackTarget) Error.captureStackTrace(stackTarget, VideomailError);
13777
+ if (stackTarget) {
13778
+ if ("captureStackTrace" in Error) Error.captureStackTrace(stackTarget, VideomailError);
13779
+ }
13778
13780
  }
13779
13781
  }
13780
13782
  VideomailError_define_property(VideomailError, "PERMISSION_DENIED", "PERMISSION_DENIED");
@@ -14373,7 +14375,7 @@ var __webpack_exports__ = {};
14373
14375
  }
14374
14376
  const wrappers_form = Form;
14375
14377
  var package_namespaceObject = {
14376
- i8: "10.2.33"
14378
+ i8: "10.2.35"
14377
14379
  };
14378
14380
  function resource_define_property(obj, key, value) {
14379
14381
  if (key in obj) Object.defineProperty(obj, key, {
@@ -16869,7 +16871,7 @@ var __webpack_exports__ = {};
16869
16871
  let explanation = "(No explanation given)";
16870
16872
  if (null == (_command_args = command.args) ? void 0 : null == (_command_args_err = _command_args.err) ? void 0 : _command_args_err.message) explanation = command.args.err.message;
16871
16873
  const err = createError({
16872
- message: "Oh no, server error!",
16874
+ message: "Oh no, websocket server error!",
16873
16875
  explanation,
16874
16876
  err: deserializeError(null == (_command_args1 = command.args) ? void 0 : _command_args1.err),
16875
16877
  options: this.options
@@ -17522,6 +17524,8 @@ var __webpack_exports__ = {};
17522
17524
  var _this_replayElement1;
17523
17525
  null == (_this_replayElement1 = this.replayElement) || _this_replayElement1.pause();
17524
17526
  }
17527
+ }, {
17528
+ passive: true
17525
17529
  });
17526
17530
  this.replayElement.addEventListener("click", (e)=>{
17527
17531
  var _this_replayElement;
package/dist/esm/index.js CHANGED
@@ -3722,7 +3722,9 @@ class VideomailError extends HTTPError {
3722
3722
  if (screen.orientation) this.orientation = screen.orientation.type.toString();
3723
3723
  this.err = errData?.err;
3724
3724
  const stackTarget = errData?.cause ?? errData?.err;
3725
- if (stackTarget) Error.captureStackTrace(stackTarget, VideomailError);
3725
+ if (stackTarget) {
3726
+ if ("captureStackTrace" in Error) Error.captureStackTrace(stackTarget, VideomailError);
3727
+ }
3726
3728
  }
3727
3729
  hasClass(name) {
3728
3730
  return this.classList?.includes(name);
@@ -4180,7 +4182,7 @@ class Form extends util_Despot {
4180
4182
  }
4181
4183
  const wrappers_form = Form;
4182
4184
  var package_namespaceObject = {
4183
- i8: "10.2.33"
4185
+ i8: "10.2.35"
4184
4186
  };
4185
4187
  function findOriginalExc(exc) {
4186
4188
  if (exc instanceof Error && "response" in exc) {
@@ -6473,7 +6475,7 @@ class Recorder extends util_Despot {
6473
6475
  let explanation = "(No explanation given)";
6474
6476
  if (command.args?.err?.message) explanation = command.args.err.message;
6475
6477
  const err = error_createError({
6476
- message: "Oh no, server error!",
6478
+ message: "Oh no, websocket server error!",
6477
6479
  explanation,
6478
6480
  err: (0, __WEBPACK_EXTERNAL_MODULE_serialize_error_ecb1f3fc__.deserializeError)(command.args?.err),
6479
6481
  options: this.options
@@ -7092,6 +7094,8 @@ class Replay extends util_Despot {
7092
7094
  throw err;
7093
7095
  });
7094
7096
  else this.replayElement?.pause();
7097
+ }, {
7098
+ passive: true
7095
7099
  });
7096
7100
  this.replayElement.addEventListener("click", (e)=>{
7097
7101
  e.preventDefault();
package/dist/umd/index.js CHANGED
@@ -13767,7 +13767,9 @@
13767
13767
  if (screen.orientation) this.orientation = screen.orientation.type.toString();
13768
13768
  this.err = errData?.err;
13769
13769
  const stackTarget = errData?.cause ?? errData?.err;
13770
- if (stackTarget) Error.captureStackTrace(stackTarget, VideomailError);
13770
+ if (stackTarget) {
13771
+ if ("captureStackTrace" in Error) Error.captureStackTrace(stackTarget, VideomailError);
13772
+ }
13771
13773
  }
13772
13774
  hasClass(name) {
13773
13775
  return this.classList?.includes(name);
@@ -14340,7 +14342,7 @@
14340
14342
  }
14341
14343
  const wrappers_form = Form;
14342
14344
  var package_namespaceObject = {
14343
- i8: "10.2.33"
14345
+ i8: "10.2.35"
14344
14346
  };
14345
14347
  function findOriginalExc(exc) {
14346
14348
  if (exc instanceof Error && "response" in exc) {
@@ -16711,7 +16713,7 @@
16711
16713
  let explanation = "(No explanation given)";
16712
16714
  if (command.args?.err?.message) explanation = command.args.err.message;
16713
16715
  const err = error_createError({
16714
- message: "Oh no, server error!",
16716
+ message: "Oh no, websocket server error!",
16715
16717
  explanation,
16716
16718
  err: deserializeError(command.args?.err),
16717
16719
  options: this.options
@@ -17330,6 +17332,8 @@
17330
17332
  throw err;
17331
17333
  });
17332
17334
  else this.replayElement?.pause();
17335
+ }, {
17336
+ passive: true
17333
17337
  });
17334
17338
  this.replayElement.addEventListener("click", (e)=>{
17335
17339
  e.preventDefault();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "10.2.33",
3
+ "version": "10.2.35",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -68,7 +68,7 @@
68
68
  "is-power-of-two": "1.0.0",
69
69
  "nanoevents": "9.1.0",
70
70
  "serialize-error": "12.0.0",
71
- "superagent": "10.2.0",
71
+ "superagent": "10.2.1",
72
72
  "ua-parser-js": "2.0.3",
73
73
  "websocket-stream": "5.5.2"
74
74
  },
@@ -77,7 +77,7 @@
77
77
  "@eslint/js": "9.26.0",
78
78
  "@rsbuild/plugin-node-polyfill": "1.3.0",
79
79
  "@rsbuild/plugin-stylus": "1.1.1",
80
- "@rsdoctor/rspack-plugin": "1.0.2",
80
+ "@rsdoctor/rspack-plugin": "1.1.0",
81
81
  "@rslib/core": "0.6.8",
82
82
  "@storybook/addon-a11y": "8.6.12",
83
83
  "@storybook/addon-console": "3.0.0",
@@ -90,7 +90,7 @@
90
90
  "@tsconfig/node22": "22.0.1",
91
91
  "@tsconfig/strictest": "2.0.5",
92
92
  "@types/defined": "1.0.2",
93
- "@types/node": "22.15.3",
93
+ "@types/node": "22.15.12",
94
94
  "@types/superagent": "8.1.9",
95
95
  "@types/ua-parser-js": "0.7.39",
96
96
  "@vitest/eslint-plugin": "1.1.44",
@@ -107,19 +107,19 @@
107
107
  "eslint-plugin-storybook": "0.12.0",
108
108
  "globals": "16.0.0",
109
109
  "jsdom": "26.1.0",
110
- "msw": "2.7.5",
110
+ "msw": "2.7.6",
111
111
  "msw-storybook-addon": "2.0.4",
112
112
  "prettier": "3.5.3",
113
113
  "prettier-plugin-curly": "0.3.2",
114
- "prettier-plugin-packagejson": "2.5.10",
114
+ "prettier-plugin-packagejson": "2.5.11",
115
115
  "prettier-plugin-sh": "0.17.2",
116
- "release-it": "19.0.1",
116
+ "release-it": "19.0.2",
117
117
  "storybook": "8.6.12",
118
118
  "storybook-html-rsbuild": "1.0.1",
119
- "type-fest": "4.40.1",
119
+ "type-fest": "4.41.0",
120
120
  "typescript": "5.8.3",
121
- "typescript-eslint": "8.31.1",
122
- "vitest": "3.1.2"
121
+ "typescript-eslint": "8.32.0",
122
+ "vitest": "3.1.3"
123
123
  },
124
124
  "engines": {
125
125
  "node": "^22.8.0",