videomail-client 13.8.5 → 13.8.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.
@@ -10826,7 +10826,7 @@ var __webpack_exports__ = {};
10826
10826
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10827
10827
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10828
10828
  var package_namespaceObject = {
10829
- rE: "13.8.5"
10829
+ rE: "13.8.7"
10830
10830
  };
10831
10831
  function isAudioEnabled(options) {
10832
10832
  return Boolean(options.audio.enabled);
@@ -9,6 +9,7 @@ export type { FullVideomailErrorData, VideomailErrorData } from "./types/error";
9
9
  export type { VideomailEvents } from "./types/events";
10
10
  export type * from "./types/events/params";
11
11
  export type { VideomailClientOptions } from "./types/options";
12
+ export type { Reaction, ReactionKey, ReactionLabel, Reactions } from "./types/reaction";
12
13
  export type { RecordingStats } from "./types/RecordingStats";
13
14
  export type { PartialVideomail, Videomail } from "./types/Videomail";
14
15
  export type { VideoTypeType } from "./types/VideoType";
package/dist/esm/index.js CHANGED
@@ -3619,7 +3619,7 @@ const constants = {
3619
3619
  }
3620
3620
  };
3621
3621
  var package_namespaceObject = {
3622
- rE: "13.8.5"
3622
+ rE: "13.8.7"
3623
3623
  };
3624
3624
  function isAudioEnabled(options) {
3625
3625
  return Boolean(options.audio.enabled);
@@ -2,6 +2,7 @@ import { PartialDeep } from "type-fest";
2
2
  import { BrowserStats } from "./BrowserStats";
3
3
  import { DeliveryRecord } from "./Delivery";
4
4
  import { EmailAddress, EmailAddresses } from "./EmailAddress";
5
+ import { Reactions } from "./reaction";
5
6
  import { RecordingStats } from "./RecordingStats";
6
7
  import VideoFormat from "./VideoFormat";
7
8
  export interface Videomail {
@@ -33,6 +34,7 @@ export interface Videomail {
33
34
  recordLocation?: string | undefined;
34
35
  parentKey?: string | undefined;
35
36
  parentSnapshots?: Videomail[] | undefined;
37
+ reactions?: Reactions | undefined;
36
38
  replyAllUrl?: string;
37
39
  replyUrl: string;
38
40
  shareUrl?: string;
@@ -0,0 +1,27 @@
1
+ import { UserKey } from "./user";
2
+ export declare const Reaction: {
3
+ readonly LOVE: {
4
+ readonly key: "love";
5
+ readonly label: "Love";
6
+ };
7
+ readonly APPLAUSE: {
8
+ readonly key: "applause";
9
+ readonly label: "Applause";
10
+ };
11
+ readonly FOLDED_HANDS: {
12
+ readonly key: "foldedHands";
13
+ readonly label: "Pray / Beg";
14
+ };
15
+ readonly GRINNING_SWEAT: {
16
+ readonly key: "grinningSweat";
17
+ readonly label: "Smile / Grinning Sweat";
18
+ };
19
+ readonly ANGER: {
20
+ readonly key: "anger";
21
+ readonly label: "Angry";
22
+ };
23
+ };
24
+ export type Reaction = (typeof Reaction)[keyof typeof Reaction];
25
+ export type ReactionKey = Reaction["key"];
26
+ export type ReactionLabel = Reaction["label"];
27
+ export type Reactions = Partial<Record<ReactionKey, UserKey[]>>;
@@ -0,0 +1 @@
1
+ export type UserKey = string;
@@ -106,6 +106,13 @@ declare class Form extends Despot {
106
106
  recordLocation?: string | undefined | undefined;
107
107
  parentKey?: string | undefined | undefined;
108
108
  parentSnapshots?: Videomail[] | undefined | undefined;
109
+ reactions?: {
110
+ love?: string[];
111
+ applause?: string[];
112
+ foldedHands?: string[];
113
+ grinningSweat?: string[];
114
+ anger?: string[];
115
+ } | undefined;
109
116
  replyAllUrl?: string;
110
117
  replyUrl?: string;
111
118
  shareUrl?: string;
@@ -249,6 +256,13 @@ declare class Form extends Despot {
249
256
  recordLocation?: string | undefined | undefined;
250
257
  parentKey?: string | undefined | undefined;
251
258
  parentSnapshots?: Videomail[] | undefined | undefined;
259
+ reactions?: {
260
+ love?: string[];
261
+ applause?: string[];
262
+ foldedHands?: string[];
263
+ grinningSweat?: string[];
264
+ anger?: string[];
265
+ } | undefined;
252
266
  replyAllUrl?: string;
253
267
  replyUrl?: string;
254
268
  shareUrl?: string;
package/dist/umd/index.js CHANGED
@@ -10832,7 +10832,7 @@
10832
10832
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10833
10833
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10834
10834
  var package_namespaceObject = {
10835
- rE: "13.8.5"
10835
+ rE: "13.8.7"
10836
10836
  };
10837
10837
  function isAudioEnabled(options) {
10838
10838
  return Boolean(options.audio.enabled);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "13.8.5",
3
+ "version": "13.8.7",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -80,19 +80,19 @@
80
80
  "@eslint/js": "9.39.2",
81
81
  "@rsbuild/plugin-node-polyfill": "1.4.4",
82
82
  "@rsbuild/plugin-stylus": "1.3.1",
83
- "@rsdoctor/rspack-plugin": "1.5.5",
84
- "@rslib/core": "0.20.1",
85
- "@storybook/addon-a11y": "10.3.3",
86
- "@storybook/addon-docs": "10.3.3",
87
- "@storybook/addon-links": "10.3.3",
88
- "@storybook/html": "10.3.3",
83
+ "@rsdoctor/rspack-plugin": "1.5.7",
84
+ "@rslib/core": "0.20.3",
85
+ "@storybook/addon-a11y": "10.3.4",
86
+ "@storybook/addon-docs": "10.3.4",
87
+ "@storybook/addon-links": "10.3.4",
88
+ "@storybook/html": "10.3.4",
89
89
  "@tsconfig/node24": "24.0.4",
90
90
  "@tsconfig/strictest": "2.0.8",
91
91
  "@types/defined": "1.0.2",
92
92
  "@types/node": "24.10.8",
93
93
  "@types/superagent": "8.1.9",
94
94
  "@types/ua-parser-js": "0.7.39",
95
- "@vitest/eslint-plugin": "1.6.13",
95
+ "@vitest/eslint-plugin": "1.6.14",
96
96
  "audit-ci": "7.1.0",
97
97
  "chromatic": "15.3.0",
98
98
  "cross-env": "10.1.0",
@@ -102,7 +102,7 @@
102
102
  "eslint-plugin-depend": "1.5.0",
103
103
  "eslint-plugin-import-x": "4.16.2",
104
104
  "eslint-plugin-markdownlint": "0.9.0",
105
- "eslint-plugin-package-json": "0.91.0",
105
+ "eslint-plugin-package-json": "0.91.1",
106
106
  "eslint-plugin-promise": "7.2.1",
107
107
  "eslint-plugin-regexp": "3.1.0",
108
108
  "eslint-plugin-security": "4.0.0",
@@ -117,11 +117,11 @@
117
117
  "prettier-plugin-packagejson": "3.0.2",
118
118
  "prettier-plugin-sh": "0.18.0",
119
119
  "release-it": "19.2.4",
120
- "storybook": "10.3.3",
120
+ "storybook": "10.3.4",
121
121
  "storybook-html-rsbuild": "3.3.2",
122
122
  "type-fest": "5.5.0",
123
123
  "typescript": "5.9.3",
124
- "typescript-eslint": "8.57.2",
124
+ "typescript-eslint": "8.58.0",
125
125
  "vitest": "4.1.2"
126
126
  },
127
127
  "engines": {