videomail-client 13.8.14 → 13.8.16

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.
@@ -10853,7 +10853,7 @@ var __webpack_exports__ = {};
10853
10853
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10854
10854
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10855
10855
  var package_namespaceObject = {
10856
- rE: "13.8.14"
10856
+ rE: "13.8.16"
10857
10857
  };
10858
10858
  function isAudioEnabled(options) {
10859
10859
  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 { ReactionKey, ReactionLabel, ReactionPrettyByUserKey, ReactionsByUserKey, ReactionsPrettyByUserKey, ReactionType, } from "./types/reaction";
12
13
  export { Reactions } from "./types/reaction";
13
14
  export type { RecordingStats } from "./types/RecordingStats";
14
15
  export type { PartialVideomail, Videomail } from "./types/Videomail";
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.14"
3622
+ rE: "13.8.16"
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 { ReactionsByUserKey, ReactionsPrettyByUserKey } from "./reaction";
5
6
  import { RecordingStats } from "./RecordingStats";
6
7
  import { UserKey } from "./user";
7
8
  import VideoFormat from "./VideoFormat";
@@ -34,6 +35,8 @@ export interface Videomail {
34
35
  recordLocation?: string | undefined;
35
36
  parentKey?: string | undefined;
36
37
  parentSnapshots?: Videomail[] | undefined;
38
+ reactions?: ReactionsByUserKey | undefined;
39
+ reactionsPretty?: ReactionsPrettyByUserKey | undefined;
37
40
  replyAllUrl?: string;
38
41
  replyUrl: string;
39
42
  shareUrl?: string;
@@ -20,3 +20,12 @@ export declare const Reactions: {
20
20
  readonly label: "Angry";
21
21
  };
22
22
  };
23
+ export type ReactionType = (typeof Reactions)[keyof typeof Reactions];
24
+ export type ReactionKey = ReactionType["key"];
25
+ export type ReactionLabel = ReactionType["label"];
26
+ export type ReactionsByUserKey = Partial<Record<ReactionKey, readonly string[]>>;
27
+ export interface ReactionPrettyByUserKey {
28
+ nickName?: string;
29
+ maskedEmailAddress?: string;
30
+ }
31
+ export type ReactionsPrettyByUserKey = Partial<Record<ReactionKey, Partial<Record<string, ReactionPrettyByUserKey>>>>;
@@ -106,6 +106,45 @@ 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?: readonly string[];
111
+ applause?: readonly string[];
112
+ foldedHands?: readonly string[];
113
+ grinningSweat?: readonly string[];
114
+ anger?: readonly string[];
115
+ } | undefined;
116
+ reactionsPretty?: {
117
+ love?: {
118
+ [x: string]: {
119
+ nickName?: string;
120
+ maskedEmailAddress?: string;
121
+ } | undefined;
122
+ };
123
+ applause?: {
124
+ [x: string]: {
125
+ nickName?: string;
126
+ maskedEmailAddress?: string;
127
+ } | undefined;
128
+ };
129
+ foldedHands?: {
130
+ [x: string]: {
131
+ nickName?: string;
132
+ maskedEmailAddress?: string;
133
+ } | undefined;
134
+ };
135
+ grinningSweat?: {
136
+ [x: string]: {
137
+ nickName?: string;
138
+ maskedEmailAddress?: string;
139
+ } | undefined;
140
+ };
141
+ anger?: {
142
+ [x: string]: {
143
+ nickName?: string;
144
+ maskedEmailAddress?: string;
145
+ } | undefined;
146
+ };
147
+ } | undefined;
109
148
  replyAllUrl?: string;
110
149
  replyUrl?: string;
111
150
  shareUrl?: string;
@@ -249,6 +288,45 @@ declare class Form extends Despot {
249
288
  recordLocation?: string | undefined | undefined;
250
289
  parentKey?: string | undefined | undefined;
251
290
  parentSnapshots?: Videomail[] | undefined | undefined;
291
+ reactions?: {
292
+ love?: readonly string[];
293
+ applause?: readonly string[];
294
+ foldedHands?: readonly string[];
295
+ grinningSweat?: readonly string[];
296
+ anger?: readonly string[];
297
+ } | undefined;
298
+ reactionsPretty?: {
299
+ love?: {
300
+ [x: string]: {
301
+ nickName?: string;
302
+ maskedEmailAddress?: string;
303
+ } | undefined;
304
+ };
305
+ applause?: {
306
+ [x: string]: {
307
+ nickName?: string;
308
+ maskedEmailAddress?: string;
309
+ } | undefined;
310
+ };
311
+ foldedHands?: {
312
+ [x: string]: {
313
+ nickName?: string;
314
+ maskedEmailAddress?: string;
315
+ } | undefined;
316
+ };
317
+ grinningSweat?: {
318
+ [x: string]: {
319
+ nickName?: string;
320
+ maskedEmailAddress?: string;
321
+ } | undefined;
322
+ };
323
+ anger?: {
324
+ [x: string]: {
325
+ nickName?: string;
326
+ maskedEmailAddress?: string;
327
+ } | undefined;
328
+ };
329
+ } | undefined;
252
330
  replyAllUrl?: string;
253
331
  replyUrl?: string;
254
332
  shareUrl?: string;
package/dist/umd/index.js CHANGED
@@ -10859,7 +10859,7 @@
10859
10859
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10860
10860
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10861
10861
  var package_namespaceObject = {
10862
- rE: "13.8.14"
10862
+ rE: "13.8.16"
10863
10863
  };
10864
10864
  function isAudioEnabled(options) {
10865
10865
  return Boolean(options.audio.enabled);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "13.8.14",
3
+ "version": "13.8.16",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",