videomail-client 10.2.34 → 10.2.36

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.34"
14378
+ i8: "10.2.36"
14377
14379
  };
14378
14380
  function resource_define_property(obj, key, value) {
14379
14381
  if (key in obj) Object.defineProperty(obj, key, {
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.34"
4185
+ i8: "10.2.36"
4184
4186
  };
4185
4187
  function findOriginalExc(exc) {
4186
4188
  if (exc instanceof Error && "response" in exc) {
@@ -28,6 +28,7 @@ export interface FullVideomailErrorData extends VideomailErrorData {
28
28
  orientation?: string | undefined;
29
29
  os?: IOS | undefined;
30
30
  screen: string;
31
- versions: VideomailErrorVersions | undefined;
31
+ versions?: VideomailErrorVersions | undefined;
32
+ clientIp?: string | null | undefined;
32
33
  }
33
34
  export {};
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.34"
14345
+ i8: "10.2.36"
14344
14346
  };
14345
14347
  function findOriginalExc(exc) {
14346
14348
  if (exc instanceof Error && "response" in exc) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "10.2.34",
3
+ "version": "10.2.36",
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.14",
94
94
  "@types/superagent": "8.1.9",
95
95
  "@types/ua-parser-js": "0.7.39",
96
96
  "@vitest/eslint-plugin": "1.1.44",
@@ -99,27 +99,27 @@
99
99
  "cross-env": "7.0.3",
100
100
  "eslint": "9.26.0",
101
101
  "eslint-import-resolver-typescript": "4.3.4",
102
- "eslint-plugin-depend": "1.0.0",
102
+ "eslint-plugin-depend": "1.1.0",
103
103
  "eslint-plugin-import-x": "4.11.0",
104
104
  "eslint-plugin-promise": "7.2.1",
105
105
  "eslint-plugin-regexp": "2.7.0",
106
106
  "eslint-plugin-security": "3.0.1",
107
107
  "eslint-plugin-storybook": "0.12.0",
108
- "globals": "16.0.0",
108
+ "globals": "16.1.0",
109
109
  "jsdom": "26.1.0",
110
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
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",