videomail-client 16.4.0 → 16.4.1
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 +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/umd/index.js +2 -2
- package/package.json +4 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -11126,7 +11126,7 @@ var __webpack_exports__ = {};
|
|
|
11126
11126
|
var client = __webpack_require__("Q");
|
|
11127
11127
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
11128
11128
|
var package_namespaceObject = {
|
|
11129
|
-
rE: "16.4.
|
|
11129
|
+
rE: "16.4.1"
|
|
11130
11130
|
};
|
|
11131
11131
|
function isAudioEnabled(options) {
|
|
11132
11132
|
return Boolean(options.audio.enabled);
|
|
@@ -19970,11 +19970,11 @@ var __webpack_exports__ = {};
|
|
|
19970
19970
|
const connection = RecorderConnection;
|
|
19971
19971
|
function createUserMediaConstraints({ options, facingMode, limitedWidth, userMediaParams }) {
|
|
19972
19972
|
const video = {
|
|
19973
|
+
facingMode: (null == userMediaParams ? void 0 : userMediaParams.switchingFacingMode) || facingMode,
|
|
19973
19974
|
frameRate: {
|
|
19974
19975
|
ideal: options.video.fps
|
|
19975
19976
|
}
|
|
19976
19977
|
};
|
|
19977
|
-
if ((null == userMediaParams ? void 0 : userMediaParams.switchingFacingMode) || (null == userMediaParams ? void 0 : userMediaParams.recovering)) video.facingMode = userMediaParams.switchingFacingMode || facingMode;
|
|
19978
19978
|
if (options.video.width) video.width = {
|
|
19979
19979
|
ideal: options.video.width
|
|
19980
19980
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -3620,7 +3620,7 @@ const constants = {
|
|
|
3620
3620
|
}
|
|
3621
3621
|
};
|
|
3622
3622
|
var package_namespaceObject = {
|
|
3623
|
-
rE: "16.4.
|
|
3623
|
+
rE: "16.4.1"
|
|
3624
3624
|
};
|
|
3625
3625
|
function isAudioEnabled(options) {
|
|
3626
3626
|
return Boolean(options.audio.enabled);
|
|
@@ -6795,11 +6795,11 @@ class RecorderConnection extends streamWriter {
|
|
|
6795
6795
|
const connection = RecorderConnection;
|
|
6796
6796
|
function createUserMediaConstraints({ options, facingMode, limitedWidth, userMediaParams }) {
|
|
6797
6797
|
const video = {
|
|
6798
|
+
facingMode: userMediaParams?.switchingFacingMode || facingMode,
|
|
6798
6799
|
frameRate: {
|
|
6799
6800
|
ideal: options.video.fps
|
|
6800
6801
|
}
|
|
6801
6802
|
};
|
|
6802
|
-
if (userMediaParams?.switchingFacingMode || userMediaParams?.recovering) video.facingMode = userMediaParams.switchingFacingMode || facingMode;
|
|
6803
6803
|
if (options.video.width) video.width = {
|
|
6804
6804
|
ideal: options.video.width
|
|
6805
6805
|
};
|
package/dist/umd/index.js
CHANGED
|
@@ -11132,7 +11132,7 @@
|
|
|
11132
11132
|
var client = __webpack_require__("Q");
|
|
11133
11133
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
11134
11134
|
var package_namespaceObject = {
|
|
11135
|
-
rE: "16.4.
|
|
11135
|
+
rE: "16.4.1"
|
|
11136
11136
|
};
|
|
11137
11137
|
function isAudioEnabled(options) {
|
|
11138
11138
|
return Boolean(options.audio.enabled);
|
|
@@ -19730,11 +19730,11 @@
|
|
|
19730
19730
|
const connection = RecorderConnection;
|
|
19731
19731
|
function createUserMediaConstraints({ options, facingMode, limitedWidth, userMediaParams }) {
|
|
19732
19732
|
const video = {
|
|
19733
|
+
facingMode: userMediaParams?.switchingFacingMode || facingMode,
|
|
19733
19734
|
frameRate: {
|
|
19734
19735
|
ideal: options.video.fps
|
|
19735
19736
|
}
|
|
19736
19737
|
};
|
|
19737
|
-
if (userMediaParams?.switchingFacingMode || userMediaParams?.recovering) video.facingMode = userMediaParams.switchingFacingMode || facingMode;
|
|
19738
19738
|
if (options.video.width) video.width = {
|
|
19739
19739
|
ideal: options.video.width
|
|
19740
19740
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "16.4.
|
|
3
|
+
"version": "16.4.1",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, for Deaf and Sign Language!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -96,12 +96,12 @@
|
|
|
96
96
|
"@tsconfig/node26": "26.0.1",
|
|
97
97
|
"@tsconfig/strictest": "2.0.8",
|
|
98
98
|
"@types/defined": "1.0.2",
|
|
99
|
-
"@types/node": "26.6.
|
|
99
|
+
"@types/node": "26.6.6",
|
|
100
100
|
"@types/superagent": "8.1.11",
|
|
101
101
|
"@types/ua-parser-js": "0.7.39",
|
|
102
102
|
"@vitest/eslint-plugin": "1.6.28",
|
|
103
103
|
"audit-ci": "7.1.0",
|
|
104
|
-
"chromatic": "18.13.
|
|
104
|
+
"chromatic": "18.13.4",
|
|
105
105
|
"cross-env": "10.1.0",
|
|
106
106
|
"eslint": "10.13.0",
|
|
107
107
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"eslint-plugin-depend": "1.5.0",
|
|
110
110
|
"eslint-plugin-import-x": "4.17.1",
|
|
111
111
|
"eslint-plugin-package-json": "1.12.0",
|
|
112
|
-
"eslint-plugin-regexp": "3.3.
|
|
112
|
+
"eslint-plugin-regexp": "3.3.2",
|
|
113
113
|
"eslint-plugin-simple-import-sort": "14.0.0",
|
|
114
114
|
"globals": "17.13.0",
|
|
115
115
|
"jsdom": "30.1.3",
|