videomail-client 10.2.42 → 10.2.44

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.
@@ -9973,7 +9973,7 @@ var __webpack_modules__ = {
9973
9973
  }
9974
9974
  }
9975
9975
  },
9976
- "../../node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl": function(module, __webpack_exports__, __webpack_require__) {
9976
+ "./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl": function(module, __webpack_exports__, __webpack_require__) {
9977
9977
  "use strict";
9978
9978
  __webpack_require__.d(__webpack_exports__, {
9979
9979
  Z: ()=>__WEBPACK_DEFAULT_EXPORT__
@@ -13751,7 +13751,7 @@ var __webpack_exports__ = {};
13751
13751
  return this.classList;
13752
13752
  }
13753
13753
  constructor(message, options, classList, errData){
13754
- super(message, errData), VideomailError_define_property(this, "title", "Error thrown from videomail-client npm package"), VideomailError_define_property(this, "location", window.location.href), VideomailError_define_property(this, "explanation", void 0), VideomailError_define_property(this, "logLines", void 0), VideomailError_define_property(this, "siteName", void 0), VideomailError_define_property(this, "cookie", void 0), VideomailError_define_property(this, "err", void 0), VideomailError_define_property(this, "promise", void 0), VideomailError_define_property(this, "reason", void 0), VideomailError_define_property(this, "browser", void 0), VideomailError_define_property(this, "cpu", void 0), VideomailError_define_property(this, "device", void 0), VideomailError_define_property(this, "engine", void 0), VideomailError_define_property(this, "os", void 0), VideomailError_define_property(this, "screen", void 0), VideomailError_define_property(this, "orientation", void 0), VideomailError_define_property(this, "classList", void 0);
13754
+ super(message, errData), VideomailError_define_property(this, "title", "Error from videomail-client npm package"), VideomailError_define_property(this, "location", window.location.href), VideomailError_define_property(this, "explanation", void 0), VideomailError_define_property(this, "logLines", void 0), VideomailError_define_property(this, "siteName", void 0), VideomailError_define_property(this, "cookie", void 0), VideomailError_define_property(this, "err", void 0), VideomailError_define_property(this, "promise", void 0), VideomailError_define_property(this, "reason", void 0), VideomailError_define_property(this, "browser", void 0), VideomailError_define_property(this, "cpu", void 0), VideomailError_define_property(this, "device", void 0), VideomailError_define_property(this, "engine", void 0), VideomailError_define_property(this, "os", void 0), VideomailError_define_property(this, "screen", void 0), VideomailError_define_property(this, "orientation", void 0), VideomailError_define_property(this, "classList", void 0);
13755
13755
  this.explanation = null == errData ? void 0 : errData.explanation;
13756
13756
  this.logLines = null == errData ? void 0 : errData.logLines;
13757
13757
  this.siteName = options.siteName;
@@ -14375,7 +14375,7 @@ var __webpack_exports__ = {};
14375
14375
  }
14376
14376
  const wrappers_form = Form;
14377
14377
  var package_namespaceObject = {
14378
- i8: "10.2.42"
14378
+ i8: "10.2.44"
14379
14379
  };
14380
14380
  function resource_define_property(obj, key, value) {
14381
14381
  if (key in obj) Object.defineProperty(obj, key, {
@@ -17955,7 +17955,7 @@ var __webpack_exports__ = {};
17955
17955
  var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
17956
17956
  var styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
17957
17957
  var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
17958
- var main = __webpack_require__("../../node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl");
17958
+ var main = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl");
17959
17959
  var main_options = {};
17960
17960
  main_options.styleTagTransform = styleTagTransform_default();
17961
17961
  main_options.setAttributes = setAttributesWithoutAttributes_default();
@@ -3,7 +3,7 @@ import { FullVideomailErrorData, VideomailErrorData } from "./types/error";
3
3
  import VideomailEvents from "./types/events";
4
4
  import { VideomailClientOptions } from "./types/options";
5
5
  import RecordingStats from "./types/RecordingStats";
6
- import Videomail from "./types/Videomail";
6
+ import Videomail, { PartialVideomail } from "./types/Videomail";
7
7
  import { VideoType } from "./types/VideoType";
8
8
  import { Command, CommandArgs } from "./types/command";
9
9
  export type { Videomail };
@@ -11,5 +11,5 @@ export type { VideomailEvents };
11
11
  export type { RecordingStats };
12
12
  export type { VideomailClientOptions };
13
13
  export { VideoType, VideomailClient };
14
- export type { VideomailErrorData, FullVideomailErrorData };
14
+ export type { VideomailErrorData, FullVideomailErrorData, PartialVideomail };
15
15
  export type { Command, CommandArgs };
package/dist/esm/index.js CHANGED
@@ -3109,7 +3109,7 @@ var __webpack_modules__ = {
3109
3109
  return tryTypedArrays(value);
3110
3110
  };
3111
3111
  },
3112
- "../../node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl": function(module, __webpack_exports__, __webpack_require__) {
3112
+ "./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl": function(module, __webpack_exports__, __webpack_require__) {
3113
3113
  __webpack_require__.d(__webpack_exports__, {
3114
3114
  Z: ()=>__WEBPACK_DEFAULT_EXPORT__
3115
3115
  });
@@ -3670,7 +3670,7 @@ class HTTPError_HTTPError extends Error {
3670
3670
  }
3671
3671
  const HTTPError = HTTPError_HTTPError;
3672
3672
  class VideomailError extends HTTPError {
3673
- title = "Error thrown from videomail-client npm package";
3673
+ title = "Error from videomail-client npm package";
3674
3674
  location = window.location.href;
3675
3675
  explanation;
3676
3676
  logLines;
@@ -4182,7 +4182,7 @@ class Form extends util_Despot {
4182
4182
  }
4183
4183
  const wrappers_form = Form;
4184
4184
  var package_namespaceObject = {
4185
- i8: "10.2.42"
4185
+ i8: "10.2.44"
4186
4186
  };
4187
4187
  function findOriginalExc(exc) {
4188
4188
  if (exc instanceof Error && "response" in exc) {
@@ -7500,7 +7500,7 @@ var insertStyleElement = __webpack_require__("./node_modules/@rsbuild/core/compi
7500
7500
  var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
7501
7501
  var styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
7502
7502
  var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
7503
- var main = __webpack_require__("../../node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl");
7503
+ var main = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl");
7504
7504
  var main_options = {};
7505
7505
  main_options.styleTagTransform = styleTagTransform_default();
7506
7506
  main_options.setAttributes = setAttributesWithoutAttributes_default();
@@ -7,7 +7,7 @@ export interface ErrData extends ErrorOptions {
7
7
  err?: Error | undefined;
8
8
  }
9
9
  declare class VideomailError extends HTTPError {
10
- readonly title = "Error thrown from videomail-client npm package";
10
+ readonly title = "Error from videomail-client npm package";
11
11
  readonly location: string;
12
12
  explanation: string | undefined;
13
13
  logLines?: string[] | undefined;
package/dist/umd/index.js CHANGED
@@ -9979,7 +9979,7 @@
9979
9979
  }
9980
9980
  }
9981
9981
  },
9982
- "../../node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl": function(module1, __webpack_exports__, __webpack_require__) {
9982
+ "./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl": function(module1, __webpack_exports__, __webpack_require__) {
9983
9983
  "use strict";
9984
9984
  __webpack_require__.d(__webpack_exports__, {
9985
9985
  Z: ()=>__WEBPACK_DEFAULT_EXPORT__
@@ -13715,7 +13715,7 @@
13715
13715
  }
13716
13716
  const HTTPError = HTTPError_HTTPError;
13717
13717
  class VideomailError extends HTTPError {
13718
- title = "Error thrown from videomail-client npm package";
13718
+ title = "Error from videomail-client npm package";
13719
13719
  location = window.location.href;
13720
13720
  explanation;
13721
13721
  logLines;
@@ -14342,7 +14342,7 @@
14342
14342
  }
14343
14343
  const wrappers_form = Form;
14344
14344
  var package_namespaceObject = {
14345
- i8: "10.2.42"
14345
+ i8: "10.2.44"
14346
14346
  };
14347
14347
  function findOriginalExc(exc) {
14348
14348
  if (exc instanceof Error && "response" in exc) {
@@ -17738,7 +17738,7 @@
17738
17738
  var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
17739
17739
  var styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
17740
17740
  var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
17741
- var main = __webpack_require__("../../node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!../../node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl");
17741
+ var main = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[11].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[11].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[11].use[3]!./src/styles/main.styl");
17742
17742
  var main_options = {};
17743
17743
  main_options.styleTagTransform = styleTagTransform_default();
17744
17744
  main_options.setAttributes = setAttributesWithoutAttributes_default();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "10.2.42",
3
+ "version": "10.2.44",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -74,52 +74,52 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@chromatic-com/storybook": "3.2.6",
77
- "@eslint/js": "9.26.0",
77
+ "@eslint/js": "9.28.0",
78
78
  "@rsbuild/plugin-node-polyfill": "1.3.0",
79
79
  "@rsbuild/plugin-stylus": "1.1.1",
80
80
  "@rsdoctor/rspack-plugin": "1.1.2",
81
- "@rslib/core": "0.7.1",
82
- "@storybook/addon-a11y": "8.6.12",
81
+ "@rslib/core": "0.9.1",
82
+ "@storybook/addon-a11y": "8.6.14",
83
83
  "@storybook/addon-console": "3.0.0",
84
- "@storybook/addon-essentials": "8.6.12",
85
- "@storybook/addon-interactions": "8.6.12",
86
- "@storybook/addon-links": "8.6.12",
87
- "@storybook/html": "8.6.12",
88
- "@storybook/manager-api": "8.6.12",
89
- "@storybook/theming": "8.6.12",
90
- "@tsconfig/node22": "22.0.1",
84
+ "@storybook/addon-essentials": "8.6.14",
85
+ "@storybook/addon-interactions": "8.6.14",
86
+ "@storybook/addon-links": "8.6.14",
87
+ "@storybook/html": "8.6.14",
88
+ "@storybook/manager-api": "8.6.14",
89
+ "@storybook/theming": "8.6.14",
90
+ "@tsconfig/node22": "22.0.2",
91
91
  "@tsconfig/strictest": "2.0.5",
92
92
  "@types/defined": "1.0.2",
93
- "@types/node": "22.15.18",
93
+ "@types/node": "22.15.29",
94
94
  "@types/superagent": "8.1.9",
95
95
  "@types/ua-parser-js": "0.7.39",
96
- "@vitest/eslint-plugin": "1.1.44",
96
+ "@vitest/eslint-plugin": "1.2.1",
97
97
  "audit-ci": "7.1.0",
98
98
  "chromatic": "11.28.2",
99
99
  "cross-env": "7.0.3",
100
- "eslint": "9.26.0",
101
- "eslint-import-resolver-typescript": "4.3.4",
100
+ "eslint": "9.28.0",
101
+ "eslint-import-resolver-typescript": "4.4.2",
102
102
  "eslint-plugin-depend": "1.2.0",
103
- "eslint-plugin-import-x": "4.11.1",
103
+ "eslint-plugin-import-x": "4.14.1",
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.1.0",
108
+ "globals": "16.2.0",
109
109
  "jsdom": "26.1.0",
110
- "msw": "2.8.2",
110
+ "msw": "2.8.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.12",
114
+ "prettier-plugin-packagejson": "2.5.14",
115
115
  "prettier-plugin-sh": "0.17.4",
116
- "release-it": "19.0.2",
117
- "storybook": "8.6.12",
116
+ "release-it": "19.0.3",
117
+ "storybook": "8.6.14",
118
118
  "storybook-html-rsbuild": "1.0.1",
119
119
  "type-fest": "4.41.0",
120
120
  "typescript": "5.8.3",
121
- "typescript-eslint": "8.32.1",
122
- "vitest": "3.1.3"
121
+ "typescript-eslint": "8.33.0",
122
+ "vitest": "3.1.4"
123
123
  },
124
124
  "engines": {
125
125
  "node": "^22.8.0",