videomail-client 13.8.1 → 13.8.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.
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.3"
|
|
10830
10830
|
};
|
|
10831
10831
|
function isAudioEnabled(options) {
|
|
10832
10832
|
return Boolean(options.audio.enabled);
|
|
@@ -17298,7 +17298,7 @@ var __webpack_exports__ = {};
|
|
|
17298
17298
|
this.connecting = this.connected = false;
|
|
17299
17299
|
const err = error_createError({
|
|
17300
17300
|
message: "Failed to connect to server",
|
|
17301
|
-
explanation: "
|
|
17301
|
+
explanation: "If this happens again, please contact us with the details of your environment.",
|
|
17302
17302
|
options: this.options,
|
|
17303
17303
|
exc
|
|
17304
17304
|
});
|
|
@@ -17328,9 +17328,9 @@ var __webpack_exports__ = {};
|
|
|
17328
17328
|
});
|
|
17329
17329
|
this.stream.on("data", (data)=>{
|
|
17330
17330
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *data* event emitted`);
|
|
17331
|
-
let command;
|
|
17332
17331
|
try {
|
|
17333
|
-
command = JSON.parse(data.toString());
|
|
17332
|
+
const command = JSON.parse(data.toString());
|
|
17333
|
+
this.executeCommand(command);
|
|
17334
17334
|
} catch (exc) {
|
|
17335
17335
|
this.options.logger.debug(`Failed to parse command: ${exc}`);
|
|
17336
17336
|
const err = error_createError({
|
|
@@ -17342,8 +17342,6 @@ var __webpack_exports__ = {};
|
|
|
17342
17342
|
this.emit("ERROR", {
|
|
17343
17343
|
err
|
|
17344
17344
|
});
|
|
17345
|
-
} finally{
|
|
17346
|
-
this.executeCommand(command);
|
|
17347
17345
|
}
|
|
17348
17346
|
});
|
|
17349
17347
|
this.stream.on("error", (err)=>{
|
package/dist/esm/index.js
CHANGED
|
@@ -3569,7 +3569,7 @@ const constants = {
|
|
|
3569
3569
|
}
|
|
3570
3570
|
};
|
|
3571
3571
|
var package_namespaceObject = {
|
|
3572
|
-
rE: "13.8.
|
|
3572
|
+
rE: "13.8.3"
|
|
3573
3573
|
};
|
|
3574
3574
|
function isAudioEnabled(options) {
|
|
3575
3575
|
return Boolean(options.audio.enabled);
|
|
@@ -6501,7 +6501,7 @@ class Recorder extends util_Despot {
|
|
|
6501
6501
|
this.connecting = this.connected = false;
|
|
6502
6502
|
const err = error_createError({
|
|
6503
6503
|
message: "Failed to connect to server",
|
|
6504
|
-
explanation: "
|
|
6504
|
+
explanation: "If this happens again, please contact us with the details of your environment.",
|
|
6505
6505
|
options: this.options,
|
|
6506
6506
|
exc
|
|
6507
6507
|
});
|
|
@@ -6530,9 +6530,9 @@ class Recorder extends util_Despot {
|
|
|
6530
6530
|
});
|
|
6531
6531
|
this.stream.on("data", (data)=>{
|
|
6532
6532
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *data* event emitted`);
|
|
6533
|
-
let command;
|
|
6534
6533
|
try {
|
|
6535
|
-
command = JSON.parse(data.toString());
|
|
6534
|
+
const command = JSON.parse(data.toString());
|
|
6535
|
+
this.executeCommand(command);
|
|
6536
6536
|
} catch (exc) {
|
|
6537
6537
|
this.options.logger.debug(`Failed to parse command: ${exc}`);
|
|
6538
6538
|
const err = error_createError({
|
|
@@ -6544,8 +6544,6 @@ class Recorder extends util_Despot {
|
|
|
6544
6544
|
this.emit("ERROR", {
|
|
6545
6545
|
err
|
|
6546
6546
|
});
|
|
6547
|
-
} finally{
|
|
6548
|
-
this.executeCommand(command);
|
|
6549
6547
|
}
|
|
6550
6548
|
});
|
|
6551
6549
|
this.stream.on("error", (err)=>{
|
|
@@ -8,7 +8,7 @@ export interface Videomail {
|
|
|
8
8
|
subject?: string;
|
|
9
9
|
body?: string;
|
|
10
10
|
from: EmailAddress;
|
|
11
|
-
fromNickName?: string |
|
|
11
|
+
fromNickName?: string | null;
|
|
12
12
|
to?: EmailAddresses | undefined;
|
|
13
13
|
bcc?: EmailAddresses | undefined;
|
|
14
14
|
cc?: EmailAddresses | undefined;
|
|
@@ -20,7 +20,7 @@ declare class Form extends Despot {
|
|
|
20
20
|
subject?: string;
|
|
21
21
|
body?: string;
|
|
22
22
|
from?: import("..").EmailAddress;
|
|
23
|
-
fromNickName?: string |
|
|
23
|
+
fromNickName?: string | null;
|
|
24
24
|
to?: import("..").EmailAddresses | undefined;
|
|
25
25
|
bcc?: import("..").EmailAddresses | undefined;
|
|
26
26
|
cc?: import("..").EmailAddresses | undefined;
|
|
@@ -163,7 +163,7 @@ declare class Form extends Despot {
|
|
|
163
163
|
subject?: string;
|
|
164
164
|
body?: string;
|
|
165
165
|
from?: import("..").EmailAddress;
|
|
166
|
-
fromNickName?: string |
|
|
166
|
+
fromNickName?: string | null;
|
|
167
167
|
to?: import("..").EmailAddresses | undefined;
|
|
168
168
|
bcc?: import("..").EmailAddresses | undefined;
|
|
169
169
|
cc?: import("..").EmailAddresses | undefined;
|
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.3"
|
|
10836
10836
|
};
|
|
10837
10837
|
function isAudioEnabled(options) {
|
|
10838
10838
|
return Boolean(options.audio.enabled);
|
|
@@ -17065,7 +17065,7 @@
|
|
|
17065
17065
|
this.connecting = this.connected = false;
|
|
17066
17066
|
const err = error_createError({
|
|
17067
17067
|
message: "Failed to connect to server",
|
|
17068
|
-
explanation: "
|
|
17068
|
+
explanation: "If this happens again, please contact us with the details of your environment.",
|
|
17069
17069
|
options: this.options,
|
|
17070
17070
|
exc
|
|
17071
17071
|
});
|
|
@@ -17094,9 +17094,9 @@
|
|
|
17094
17094
|
});
|
|
17095
17095
|
this.stream.on("data", (data)=>{
|
|
17096
17096
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *data* event emitted`);
|
|
17097
|
-
let command;
|
|
17098
17097
|
try {
|
|
17099
|
-
command = JSON.parse(data.toString());
|
|
17098
|
+
const command = JSON.parse(data.toString());
|
|
17099
|
+
this.executeCommand(command);
|
|
17100
17100
|
} catch (exc) {
|
|
17101
17101
|
this.options.logger.debug(`Failed to parse command: ${exc}`);
|
|
17102
17102
|
const err = error_createError({
|
|
@@ -17108,8 +17108,6 @@
|
|
|
17108
17108
|
this.emit("ERROR", {
|
|
17109
17109
|
err
|
|
17110
17110
|
});
|
|
17111
|
-
} finally{
|
|
17112
|
-
this.executeCommand(command);
|
|
17113
17111
|
}
|
|
17114
17112
|
});
|
|
17115
17113
|
this.stream.on("error", (err)=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "13.8.
|
|
3
|
+
"version": "13.8.3",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -75,17 +75,17 @@
|
|
|
75
75
|
"websocket-stream": "5.5.2"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@chromatic-com/storybook": "5.0.
|
|
78
|
+
"@chromatic-com/storybook": "5.0.2",
|
|
79
79
|
"@eslint/config-inspector": "1.5.0",
|
|
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
83
|
"@rsdoctor/rspack-plugin": "1.5.4",
|
|
84
84
|
"@rslib/core": "0.20.0",
|
|
85
|
-
"@storybook/addon-a11y": "10.
|
|
86
|
-
"@storybook/addon-docs": "10.
|
|
87
|
-
"@storybook/addon-links": "10.
|
|
88
|
-
"@storybook/html": "10.
|
|
85
|
+
"@storybook/addon-a11y": "10.3.1",
|
|
86
|
+
"@storybook/addon-docs": "10.3.1",
|
|
87
|
+
"@storybook/addon-links": "10.3.1",
|
|
88
|
+
"@storybook/html": "10.3.1",
|
|
89
89
|
"@tsconfig/node24": "24.0.4",
|
|
90
90
|
"@tsconfig/strictest": "2.0.8",
|
|
91
91
|
"@types/defined": "1.0.2",
|
|
@@ -117,9 +117,9 @@
|
|
|
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.
|
|
120
|
+
"storybook": "10.3.1",
|
|
121
121
|
"storybook-html-rsbuild": "3.3.2",
|
|
122
|
-
"type-fest": "5.
|
|
122
|
+
"type-fest": "5.5.0",
|
|
123
123
|
"typescript": "5.9.3",
|
|
124
124
|
"typescript-eslint": "8.57.1",
|
|
125
125
|
"vitest": "4.1.0"
|