videomail-client 10.2.2 → 10.2.3

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.
@@ -13870,7 +13870,7 @@ var __webpack_exports__ = {};
13870
13870
  }
13871
13871
  const wrappers_form = Form;
13872
13872
  var package_namespaceObject = {
13873
- i8: "10.2.2"
13873
+ i8: "10.2.3"
13874
13874
  };
13875
13875
  function resource_define_property(obj, key, value) {
13876
13876
  if (key in obj) Object.defineProperty(obj, key, {
@@ -3,10 +3,9 @@ import { FullVideomailErrorData, VideomailErrorData } from "./types/error";
3
3
  import VideomailEvents from "./types/events";
4
4
  import { PartialVideomailClientOptions } from "./types/options";
5
5
  import RecordingStats from "./types/RecordingStats";
6
- import Videomail, { PartialVideomail } from "./types/Videomail";
6
+ import Videomail from "./types/Videomail";
7
7
  import { VideoType } from "./types/VideoType";
8
8
  export type { Videomail };
9
- export type { PartialVideomail };
10
9
  export type { VideomailEvents };
11
10
  export type { PartialVideomailClientOptions };
12
11
  export type { RecordingStats };
package/dist/esm/index.js CHANGED
@@ -3966,7 +3966,7 @@ class Form extends Despot {
3966
3966
  }
3967
3967
  const wrappers_form = Form;
3968
3968
  var package_namespaceObject = {
3969
- i8: "10.2.2"
3969
+ i8: "10.2.3"
3970
3970
  };
3971
3971
  function findOriginalExc(exc) {
3972
3972
  if (exc instanceof Error && "response" in exc) {
@@ -1,4 +1,4 @@
1
- import { DeepPartial } from "./DeepPartial";
1
+ import { PartialDeep } from "type-fest";
2
2
  import RecordingStats from "./RecordingStats";
3
3
  import VideoFormat from "./VideoFormat";
4
4
  interface Videomail {
@@ -50,5 +50,5 @@ interface Videomail {
50
50
  webm?: string;
51
51
  width?: number | undefined;
52
52
  }
53
- export type PartialVideomail = DeepPartial<Videomail>;
53
+ export type PartialVideomail = PartialDeep<Videomail>;
54
54
  export default Videomail;
@@ -1,4 +1,4 @@
1
- import { DeepPartial } from "./DeepPartial";
1
+ import { PartialDeep } from "type-fest";
2
2
  import { PartialVideomail } from "./Videomail";
3
3
  export interface VideomailClientOptions {
4
4
  logger: {
@@ -116,4 +116,4 @@ export interface VideomailClientOptions {
116
116
  ninjaFormPlugin?: string | undefined;
117
117
  };
118
118
  }
119
- export type PartialVideomailClientOptions = DeepPartial<VideomailClientOptions>;
119
+ export type PartialVideomailClientOptions = PartialDeep<VideomailClientOptions>;
@@ -15,8 +15,8 @@ declare class Form extends Despot {
15
15
  private readonly FORM_FIELDS;
16
16
  constructor(container: Container, formElement: HTMLFormElement, options: VideomailClientOptions);
17
17
  private getData;
18
- transformFormData(formInputs: FormInputs): import("../types/DeepPartial").DeepPartial<Videomail>;
19
- getRecipients(): import("../types/DeepPartial").DeepPartial<Videomail>;
18
+ transformFormData(formInputs: FormInputs): import("type-fest/source/partial-deep").PartialObjectDeep<Videomail, {}>;
19
+ getRecipients(): import("type-fest/source/partial-deep").PartialObjectDeep<Videomail, {}>;
20
20
  loadVideomail(videomail: Videomail): void;
21
21
  private setDisabled;
22
22
  private hideAll;
package/dist/umd/index.js CHANGED
@@ -13838,7 +13838,7 @@
13838
13838
  }
13839
13839
  const wrappers_form = Form;
13840
13840
  var package_namespaceObject = {
13841
- i8: "10.2.2"
13841
+ i8: "10.2.3"
13842
13842
  };
13843
13843
  function findOriginalExc(exc) {
13844
13844
  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.2",
3
+ "version": "10.2.3",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -78,21 +78,21 @@
78
78
  "@rsbuild/plugin-stylus": "1.0.7",
79
79
  "@rsdoctor/rspack-plugin": "0.4.13",
80
80
  "@rslib/core": "0.4.1",
81
- "@storybook/addon-a11y": "8.5.4",
81
+ "@storybook/addon-a11y": "8.5.5",
82
82
  "@storybook/addon-console": "3.0.0",
83
- "@storybook/addon-essentials": "8.5.4",
84
- "@storybook/addon-interactions": "8.5.4",
85
- "@storybook/addon-links": "8.5.4",
86
- "@storybook/html": "8.5.4",
87
- "@storybook/manager-api": "8.5.4",
88
- "@storybook/theming": "8.5.4",
83
+ "@storybook/addon-essentials": "8.5.5",
84
+ "@storybook/addon-interactions": "8.5.5",
85
+ "@storybook/addon-links": "8.5.5",
86
+ "@storybook/html": "8.5.5",
87
+ "@storybook/manager-api": "8.5.5",
88
+ "@storybook/theming": "8.5.5",
89
89
  "@tsconfig/node22": "22.0.0",
90
90
  "@tsconfig/strictest": "2.0.5",
91
91
  "@types/defined": "1.0.2",
92
- "@types/node": "22.13.1",
92
+ "@types/node": "22.13.2",
93
93
  "@types/superagent": "8.1.9",
94
94
  "@types/ua-parser-js": "0.7.39",
95
- "@vitest/eslint-plugin": "1.1.28",
95
+ "@vitest/eslint-plugin": "1.1.31",
96
96
  "audit-ci": "7.1.0",
97
97
  "chromatic": "11.25.2",
98
98
  "cross-env": "7.0.3",
@@ -104,7 +104,7 @@
104
104
  "eslint-plugin-regexp": "2.7.0",
105
105
  "eslint-plugin-security": "3.0.1",
106
106
  "eslint-plugin-storybook": "0.11.2",
107
- "globals": "15.14.0",
107
+ "globals": "15.15.0",
108
108
  "jsdom": "26.0.0",
109
109
  "msw": "2.7.0",
110
110
  "msw-storybook-addon": "2.0.4",
@@ -113,8 +113,9 @@
113
113
  "prettier-plugin-packagejson": "2.5.8",
114
114
  "prettier-plugin-sh": "0.14.0",
115
115
  "release-it": "18.1.2",
116
- "storybook": "8.5.4",
116
+ "storybook": "8.5.5",
117
117
  "storybook-html-rsbuild": "0.1.9",
118
+ "type-fest": "4.34.1",
118
119
  "typescript": "5.7.3",
119
120
  "typescript-eslint": "8.24.0",
120
121
  "vitest": "2.1.8"
@@ -1,3 +0,0 @@
1
- export type DeepPartial<T> = {
2
- [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
3
- };