videomail-client 15.7.6 → 15.7.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 +15 -5
- package/dist/esm/index.js +15 -5
- package/dist/umd/index.js +15 -5
- package/package.json +8 -8
package/dist/cjs/index.cjs
CHANGED
|
@@ -10334,7 +10334,7 @@ var __webpack_modules__ = {
|
|
|
10334
10334
|
function isTATag(tag) {
|
|
10335
10335
|
return $indexOf(typedArrays, tag) > -1;
|
|
10336
10336
|
}
|
|
10337
|
-
|
|
10337
|
+
function whichTypedArray(value) {
|
|
10338
10338
|
if (!value || 'object' != typeof value) return false;
|
|
10339
10339
|
if (!hasToStringTag) {
|
|
10340
10340
|
var tag = $slice($toString(value), 8, -1);
|
|
@@ -10344,7 +10344,8 @@ var __webpack_modules__ = {
|
|
|
10344
10344
|
}
|
|
10345
10345
|
if (!gOPD) return null;
|
|
10346
10346
|
return tryTypedArrays(value);
|
|
10347
|
-
}
|
|
10347
|
+
}
|
|
10348
|
+
module.exports = whichTypedArray;
|
|
10348
10349
|
},
|
|
10349
10350
|
T2 (module) {
|
|
10350
10351
|
module.exports = wrappy;
|
|
@@ -10932,7 +10933,7 @@ var __webpack_exports__ = {};
|
|
|
10932
10933
|
var client = __webpack_require__("Q");
|
|
10933
10934
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10934
10935
|
var package_namespaceObject = {
|
|
10935
|
-
rE: "15.7.
|
|
10936
|
+
rE: "15.7.7"
|
|
10936
10937
|
};
|
|
10937
10938
|
function isAudioEnabled(options) {
|
|
10938
10939
|
return Boolean(options.audio.enabled);
|
|
@@ -15184,8 +15185,17 @@ var __webpack_exports__ = {};
|
|
|
15184
15185
|
[constants.WHITELIST_KEY_LABEL]: this.options.whitelistKey
|
|
15185
15186
|
};
|
|
15186
15187
|
const url = `${this.options.apiUrl}/client-error/`;
|
|
15187
|
-
|
|
15188
|
-
|
|
15188
|
+
let supportedConstraints;
|
|
15189
|
+
let enumerateDevices;
|
|
15190
|
+
try {
|
|
15191
|
+
if (navigator.mediaDevices) {
|
|
15192
|
+
supportedConstraints = navigator.mediaDevices.getSupportedConstraints();
|
|
15193
|
+
enumerateDevices = yield navigator.mediaDevices.enumerateDevices();
|
|
15194
|
+
}
|
|
15195
|
+
} catch (unused) {
|
|
15196
|
+
supportedConstraints = void 0;
|
|
15197
|
+
enumerateDevices = void 0;
|
|
15198
|
+
}
|
|
15189
15199
|
const fullVideomailErrorData = {
|
|
15190
15200
|
browser: err.browser,
|
|
15191
15201
|
code: err.code,
|
package/dist/esm/index.js
CHANGED
|
@@ -3364,7 +3364,7 @@ __webpack_require__.add({
|
|
|
3364
3364
|
function isTATag(tag) {
|
|
3365
3365
|
return $indexOf(typedArrays, tag) > -1;
|
|
3366
3366
|
}
|
|
3367
|
-
|
|
3367
|
+
function whichTypedArray(value) {
|
|
3368
3368
|
if (!value || 'object' != typeof value) return false;
|
|
3369
3369
|
if (!hasToStringTag) {
|
|
3370
3370
|
var tag = $slice($toString(value), 8, -1);
|
|
@@ -3374,7 +3374,8 @@ __webpack_require__.add({
|
|
|
3374
3374
|
}
|
|
3375
3375
|
if (!gOPD) return null;
|
|
3376
3376
|
return tryTypedArrays(value);
|
|
3377
|
-
}
|
|
3377
|
+
}
|
|
3378
|
+
module.exports = whichTypedArray;
|
|
3378
3379
|
},
|
|
3379
3380
|
zm (module) {
|
|
3380
3381
|
module.exports = function(cssWithMappingToString) {
|
|
@@ -3618,7 +3619,7 @@ const constants = {
|
|
|
3618
3619
|
}
|
|
3619
3620
|
};
|
|
3620
3621
|
var package_namespaceObject = {
|
|
3621
|
-
rE: "15.7.
|
|
3622
|
+
rE: "15.7.7"
|
|
3622
3623
|
};
|
|
3623
3624
|
function isAudioEnabled(options) {
|
|
3624
3625
|
return Boolean(options.audio.enabled);
|
|
@@ -4411,8 +4412,17 @@ class Resource {
|
|
|
4411
4412
|
[constants.WHITELIST_KEY_LABEL]: this.options.whitelistKey
|
|
4412
4413
|
};
|
|
4413
4414
|
const url = `${this.options.apiUrl}/client-error/`;
|
|
4414
|
-
|
|
4415
|
-
|
|
4415
|
+
let supportedConstraints;
|
|
4416
|
+
let enumerateDevices;
|
|
4417
|
+
try {
|
|
4418
|
+
if (navigator.mediaDevices) {
|
|
4419
|
+
supportedConstraints = navigator.mediaDevices.getSupportedConstraints();
|
|
4420
|
+
enumerateDevices = await navigator.mediaDevices.enumerateDevices();
|
|
4421
|
+
}
|
|
4422
|
+
} catch {
|
|
4423
|
+
supportedConstraints = void 0;
|
|
4424
|
+
enumerateDevices = void 0;
|
|
4425
|
+
}
|
|
4416
4426
|
const fullVideomailErrorData = {
|
|
4417
4427
|
browser: err.browser,
|
|
4418
4428
|
code: err.code,
|
package/dist/umd/index.js
CHANGED
|
@@ -10340,7 +10340,7 @@
|
|
|
10340
10340
|
function isTATag(tag) {
|
|
10341
10341
|
return $indexOf(typedArrays, tag) > -1;
|
|
10342
10342
|
}
|
|
10343
|
-
|
|
10343
|
+
function whichTypedArray(value) {
|
|
10344
10344
|
if (!value || 'object' != typeof value) return false;
|
|
10345
10345
|
if (!hasToStringTag) {
|
|
10346
10346
|
var tag = $slice($toString(value), 8, -1);
|
|
@@ -10350,7 +10350,8 @@
|
|
|
10350
10350
|
}
|
|
10351
10351
|
if (!gOPD) return null;
|
|
10352
10352
|
return tryTypedArrays(value);
|
|
10353
|
-
}
|
|
10353
|
+
}
|
|
10354
|
+
module1.exports = whichTypedArray;
|
|
10354
10355
|
},
|
|
10355
10356
|
T2 (module1) {
|
|
10356
10357
|
module1.exports = wrappy;
|
|
@@ -10938,7 +10939,7 @@
|
|
|
10938
10939
|
var client = __webpack_require__("Q");
|
|
10939
10940
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10940
10941
|
var package_namespaceObject = {
|
|
10941
|
-
rE: "15.7.
|
|
10942
|
+
rE: "15.7.7"
|
|
10942
10943
|
};
|
|
10943
10944
|
function isAudioEnabled(options) {
|
|
10944
10945
|
return Boolean(options.audio.enabled);
|
|
@@ -15075,8 +15076,17 @@
|
|
|
15075
15076
|
[constants.WHITELIST_KEY_LABEL]: this.options.whitelistKey
|
|
15076
15077
|
};
|
|
15077
15078
|
const url = `${this.options.apiUrl}/client-error/`;
|
|
15078
|
-
|
|
15079
|
-
|
|
15079
|
+
let supportedConstraints;
|
|
15080
|
+
let enumerateDevices;
|
|
15081
|
+
try {
|
|
15082
|
+
if (navigator.mediaDevices) {
|
|
15083
|
+
supportedConstraints = navigator.mediaDevices.getSupportedConstraints();
|
|
15084
|
+
enumerateDevices = await navigator.mediaDevices.enumerateDevices();
|
|
15085
|
+
}
|
|
15086
|
+
} catch {
|
|
15087
|
+
supportedConstraints = void 0;
|
|
15088
|
+
enumerateDevices = void 0;
|
|
15089
|
+
}
|
|
15080
15090
|
const fullVideomailErrorData = {
|
|
15081
15091
|
browser: err.browser,
|
|
15082
15092
|
code: err.code,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "15.7.
|
|
3
|
+
"version": "15.7.7",
|
|
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",
|
|
@@ -89,20 +89,20 @@
|
|
|
89
89
|
"@tsconfig/node26": "26.0.1",
|
|
90
90
|
"@tsconfig/strictest": "2.0.8",
|
|
91
91
|
"@types/defined": "1.0.2",
|
|
92
|
-
"@types/node": "26.6.
|
|
92
|
+
"@types/node": "26.6.2",
|
|
93
93
|
"@types/superagent": "8.1.11",
|
|
94
94
|
"@types/ua-parser-js": "0.7.39",
|
|
95
95
|
"@vitest/eslint-plugin": "1.6.27",
|
|
96
96
|
"audit-ci": "7.1.0",
|
|
97
97
|
"chromatic": "18.9.4",
|
|
98
98
|
"cross-env": "10.1.0",
|
|
99
|
-
"eslint": "10.
|
|
99
|
+
"eslint": "10.11.0",
|
|
100
100
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
101
|
-
"eslint-plugin-de-morgan": "2.
|
|
101
|
+
"eslint-plugin-de-morgan": "2.2.0",
|
|
102
102
|
"eslint-plugin-depend": "1.5.0",
|
|
103
103
|
"eslint-plugin-import-x": "4.17.1",
|
|
104
|
-
"eslint-plugin-package-json": "1.
|
|
105
|
-
"eslint-plugin-regexp": "3.3.
|
|
104
|
+
"eslint-plugin-package-json": "1.9.0",
|
|
105
|
+
"eslint-plugin-regexp": "3.3.1",
|
|
106
106
|
"eslint-plugin-simple-import-sort": "14.0.0",
|
|
107
107
|
"globals": "17.12.0",
|
|
108
108
|
"jsdom": "30.1.0",
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
"prettier-plugin-sh": "0.19.0",
|
|
116
116
|
"release-it": "21.1.0",
|
|
117
117
|
"storybook": "10.6.0",
|
|
118
|
-
"storybook-html-rsbuild": "3.
|
|
118
|
+
"storybook-html-rsbuild": "3.6.0",
|
|
119
119
|
"type-fest": "5.10.0",
|
|
120
120
|
"typescript": "6.0.3",
|
|
121
121
|
"typescript-eslint": "8.70.0",
|
|
122
|
-
"vitest": "
|
|
122
|
+
"vitest": "5.0.1"
|
|
123
123
|
},
|
|
124
124
|
"engines": {
|
|
125
125
|
"node": "^26.5.0",
|