videomail-client 11.4.8 → 11.4.9
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 +5 -5
- package/dist/esm/index.js +5 -5
- package/dist/umd/index.js +5 -5
- package/package.json +9 -9
package/dist/cjs/index.cjs
CHANGED
|
@@ -10642,7 +10642,7 @@ var __webpack_exports__ = {};
|
|
|
10642
10642
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10643
10643
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10644
10644
|
var package_namespaceObject = {
|
|
10645
|
-
rE: "11.4.
|
|
10645
|
+
rE: "11.4.9"
|
|
10646
10646
|
};
|
|
10647
10647
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10648
10648
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -14070,7 +14070,7 @@ var __webpack_exports__ = {};
|
|
|
14070
14070
|
case error_VideomailError.NOT_READABLE_ERROR:
|
|
14071
14071
|
case error_VideomailError.TRACK_START_ERROR:
|
|
14072
14072
|
message = "No access to webcam";
|
|
14073
|
-
explanation = "
|
|
14073
|
+
explanation = "Perhaps you are already using it in another browser?";
|
|
14074
14074
|
classList.push(error_VideomailError.WEBCAM_PROBLEM);
|
|
14075
14075
|
break;
|
|
14076
14076
|
case error_VideomailError.INVALID_STATE_ERROR:
|
|
@@ -14459,7 +14459,7 @@ var __webpack_exports__ = {};
|
|
|
14459
14459
|
}
|
|
14460
14460
|
} else {
|
|
14461
14461
|
const err = error_createError({
|
|
14462
|
-
message: "Videomail key for
|
|
14462
|
+
message: "Videomail key and its value for previewing is missing",
|
|
14463
14463
|
options: this.options
|
|
14464
14464
|
});
|
|
14465
14465
|
this.emit("ERROR", {
|
|
@@ -17310,7 +17310,7 @@ var __webpack_exports__ = {};
|
|
|
17310
17310
|
if (this.userMedia) this.userMedia.unloadRemainingEventListeners();
|
|
17311
17311
|
if (this.submitting) ;
|
|
17312
17312
|
else if (this.stream) {
|
|
17313
|
-
this.options.logger.debug("Recorder:
|
|
17313
|
+
this.options.logger.debug("Recorder: destroying stream ...");
|
|
17314
17314
|
this.stream.destroy();
|
|
17315
17315
|
this.stream = void 0;
|
|
17316
17316
|
}
|
|
@@ -17475,7 +17475,7 @@ var __webpack_exports__ = {};
|
|
|
17475
17475
|
this.loop.on("update", (_deltaTime, elapsedTime)=>{
|
|
17476
17476
|
let avgFPS;
|
|
17477
17477
|
avgFPS = 0 !== elapsedTime ? Math.round(this.framesCount / elapsedTime * 1000) : void 0;
|
|
17478
|
-
this.options.logger.debug(`Recorder
|
|
17478
|
+
this.options.logger.debug(`Recorder updates avgFps = ${avgFPS} at frame ${this.framesCount}`);
|
|
17479
17479
|
});
|
|
17480
17480
|
this.loop.start();
|
|
17481
17481
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -3607,7 +3607,7 @@ const constants = {
|
|
|
3607
3607
|
}
|
|
3608
3608
|
};
|
|
3609
3609
|
var package_namespaceObject = {
|
|
3610
|
-
rE: "11.4.
|
|
3610
|
+
rE: "11.4.9"
|
|
3611
3611
|
};
|
|
3612
3612
|
const VideoType = {
|
|
3613
3613
|
WebM: "webm",
|
|
@@ -3883,7 +3883,7 @@ function createError(errorParams) {
|
|
|
3883
3883
|
case error_VideomailError.NOT_READABLE_ERROR:
|
|
3884
3884
|
case error_VideomailError.TRACK_START_ERROR:
|
|
3885
3885
|
message = "No access to webcam";
|
|
3886
|
-
explanation = "
|
|
3886
|
+
explanation = "Perhaps you are already using it in another browser?";
|
|
3887
3887
|
classList.push(error_VideomailError.WEBCAM_PROBLEM);
|
|
3888
3888
|
break;
|
|
3889
3889
|
case error_VideomailError.INVALID_STATE_ERROR:
|
|
@@ -4156,7 +4156,7 @@ class Form extends util_Despot {
|
|
|
4156
4156
|
}
|
|
4157
4157
|
} else {
|
|
4158
4158
|
const err = error_createError({
|
|
4159
|
-
message: "Videomail key for
|
|
4159
|
+
message: "Videomail key and its value for previewing is missing",
|
|
4160
4160
|
options: this.options
|
|
4161
4161
|
});
|
|
4162
4162
|
this.emit("ERROR", {
|
|
@@ -6768,7 +6768,7 @@ class Recorder extends util_Despot {
|
|
|
6768
6768
|
if (this.userMedia) this.userMedia.unloadRemainingEventListeners();
|
|
6769
6769
|
if (this.submitting) ;
|
|
6770
6770
|
else if (this.stream) {
|
|
6771
|
-
this.options.logger.debug("Recorder:
|
|
6771
|
+
this.options.logger.debug("Recorder: destroying stream ...");
|
|
6772
6772
|
this.stream.destroy();
|
|
6773
6773
|
this.stream = void 0;
|
|
6774
6774
|
}
|
|
@@ -6928,7 +6928,7 @@ class Recorder extends util_Despot {
|
|
|
6928
6928
|
this.loop.on("update", (_deltaTime, elapsedTime)=>{
|
|
6929
6929
|
let avgFPS;
|
|
6930
6930
|
avgFPS = 0 !== elapsedTime ? Math.round(this.framesCount / elapsedTime * 1000) : void 0;
|
|
6931
|
-
this.options.logger.debug(`Recorder
|
|
6931
|
+
this.options.logger.debug(`Recorder updates avgFps = ${avgFPS} at frame ${this.framesCount}`);
|
|
6932
6932
|
});
|
|
6933
6933
|
this.loop.start();
|
|
6934
6934
|
}
|
package/dist/umd/index.js
CHANGED
|
@@ -10648,7 +10648,7 @@
|
|
|
10648
10648
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10649
10649
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10650
10650
|
var package_namespaceObject = {
|
|
10651
|
-
rE: "11.4.
|
|
10651
|
+
rE: "11.4.9"
|
|
10652
10652
|
};
|
|
10653
10653
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10654
10654
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -14058,7 +14058,7 @@
|
|
|
14058
14058
|
case error_VideomailError.NOT_READABLE_ERROR:
|
|
14059
14059
|
case error_VideomailError.TRACK_START_ERROR:
|
|
14060
14060
|
message = "No access to webcam";
|
|
14061
|
-
explanation = "
|
|
14061
|
+
explanation = "Perhaps you are already using it in another browser?";
|
|
14062
14062
|
classList.push(error_VideomailError.WEBCAM_PROBLEM);
|
|
14063
14063
|
break;
|
|
14064
14064
|
case error_VideomailError.INVALID_STATE_ERROR:
|
|
@@ -14444,7 +14444,7 @@
|
|
|
14444
14444
|
}
|
|
14445
14445
|
} else {
|
|
14446
14446
|
const err = error_createError({
|
|
14447
|
-
message: "Videomail key for
|
|
14447
|
+
message: "Videomail key and its value for previewing is missing",
|
|
14448
14448
|
options: this.options
|
|
14449
14449
|
});
|
|
14450
14450
|
this.emit("ERROR", {
|
|
@@ -17136,7 +17136,7 @@
|
|
|
17136
17136
|
if (this.userMedia) this.userMedia.unloadRemainingEventListeners();
|
|
17137
17137
|
if (this.submitting) ;
|
|
17138
17138
|
else if (this.stream) {
|
|
17139
|
-
this.options.logger.debug("Recorder:
|
|
17139
|
+
this.options.logger.debug("Recorder: destroying stream ...");
|
|
17140
17140
|
this.stream.destroy();
|
|
17141
17141
|
this.stream = void 0;
|
|
17142
17142
|
}
|
|
@@ -17296,7 +17296,7 @@
|
|
|
17296
17296
|
this.loop.on("update", (_deltaTime, elapsedTime)=>{
|
|
17297
17297
|
let avgFPS;
|
|
17298
17298
|
avgFPS = 0 !== elapsedTime ? Math.round(this.framesCount / elapsedTime * 1000) : void 0;
|
|
17299
|
-
this.options.logger.debug(`Recorder
|
|
17299
|
+
this.options.logger.debug(`Recorder updates avgFps = ${avgFPS} at frame ${this.framesCount}`);
|
|
17300
17300
|
});
|
|
17301
17301
|
this.loop.start();
|
|
17302
17302
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "11.4.
|
|
3
|
+
"version": "11.4.9",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -76,15 +76,15 @@
|
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@chromatic-com/storybook": "4.1.1",
|
|
78
78
|
"@eslint/config-inspector": "1.3.0",
|
|
79
|
-
"@eslint/js": "9.
|
|
79
|
+
"@eslint/js": "9.37.0",
|
|
80
80
|
"@rsbuild/plugin-node-polyfill": "1.4.2",
|
|
81
81
|
"@rsbuild/plugin-stylus": "1.2.0",
|
|
82
82
|
"@rsdoctor/rspack-plugin": "1.3.1",
|
|
83
83
|
"@rslib/core": "0.13.2",
|
|
84
|
-
"@storybook/addon-a11y": "9.1.
|
|
85
|
-
"@storybook/addon-docs": "9.1.
|
|
86
|
-
"@storybook/addon-links": "9.1.
|
|
87
|
-
"@storybook/html": "9.1.
|
|
84
|
+
"@storybook/addon-a11y": "9.1.9",
|
|
85
|
+
"@storybook/addon-docs": "9.1.9",
|
|
86
|
+
"@storybook/addon-links": "9.1.9",
|
|
87
|
+
"@storybook/html": "9.1.9",
|
|
88
88
|
"@tsconfig/node22": "22.0.2",
|
|
89
89
|
"@tsconfig/strictest": "2.0.6",
|
|
90
90
|
"@types/defined": "1.0.2",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"audit-ci": "7.1.0",
|
|
96
96
|
"chromatic": "13.3.0",
|
|
97
97
|
"cross-env": "10.1.0",
|
|
98
|
-
"eslint": "9.
|
|
98
|
+
"eslint": "9.37.0",
|
|
99
99
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
100
100
|
"eslint-plugin-de-morgan": "2.0.0",
|
|
101
101
|
"eslint-plugin-depend": "1.3.1",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"eslint-plugin-regexp": "2.10.0",
|
|
106
106
|
"eslint-plugin-security": "3.0.1",
|
|
107
107
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
108
|
-
"eslint-plugin-storybook": "9.1.
|
|
108
|
+
"eslint-plugin-storybook": "9.1.9",
|
|
109
109
|
"globals": "16.4.0",
|
|
110
110
|
"jsdom": "27.0.0",
|
|
111
111
|
"msw": "2.11.3",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"prettier-plugin-packagejson": "2.5.19",
|
|
116
116
|
"prettier-plugin-sh": "0.18.0",
|
|
117
117
|
"release-it": "19.0.5",
|
|
118
|
-
"storybook": "9.1.
|
|
118
|
+
"storybook": "9.1.9",
|
|
119
119
|
"storybook-html-rsbuild": "2.1.1",
|
|
120
120
|
"type-fest": "5.0.1",
|
|
121
121
|
"typescript": "5.9.3",
|