videomail-client 13.8.6 → 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.
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/Videomail.d.ts +2 -0
- package/dist/esm/types/reaction.d.ts +27 -0
- package/dist/esm/types/user.d.ts +1 -0
- package/dist/esm/wrappers/form.d.ts +14 -0
- package/dist/umd/index.js +1 -1
- package/package.json +7 -7
package/dist/cjs/index.cjs
CHANGED
|
@@ -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.
|
|
10829
|
+
rE: "13.8.7"
|
|
10830
10830
|
};
|
|
10831
10831
|
function isAudioEnabled(options) {
|
|
10832
10832
|
return Boolean(options.audio.enabled);
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -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
|
@@ -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.
|
|
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.
|
|
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",
|
|
@@ -81,11 +81,11 @@
|
|
|
81
81
|
"@rsbuild/plugin-node-polyfill": "1.4.4",
|
|
82
82
|
"@rsbuild/plugin-stylus": "1.3.1",
|
|
83
83
|
"@rsdoctor/rspack-plugin": "1.5.7",
|
|
84
|
-
"@rslib/core": "0.20.
|
|
85
|
-
"@storybook/addon-a11y": "10.3.
|
|
86
|
-
"@storybook/addon-docs": "10.3.
|
|
87
|
-
"@storybook/addon-links": "10.3.
|
|
88
|
-
"@storybook/html": "10.3.
|
|
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",
|
|
@@ -117,7 +117,7 @@
|
|
|
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.
|
|
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",
|