videomail-client 13.13.5 → 13.14.0
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
|
@@ -10876,7 +10876,7 @@ var __webpack_exports__ = {};
|
|
|
10876
10876
|
var client = __webpack_require__(5734);
|
|
10877
10877
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10878
10878
|
var package_namespaceObject = {
|
|
10879
|
-
rE: "13.
|
|
10879
|
+
rE: "13.14.0"
|
|
10880
10880
|
};
|
|
10881
10881
|
function isAudioEnabled(options) {
|
|
10882
10882
|
return Boolean(options.audio.enabled);
|
|
@@ -16818,8 +16818,10 @@ var __webpack_exports__ = {};
|
|
|
16818
16818
|
`urlLastCodes=${getEdgeCodes(url2Connect, 4, true)}`,
|
|
16819
16819
|
"ipAsnCheck=server_side_only"
|
|
16820
16820
|
];
|
|
16821
|
-
|
|
16822
|
-
|
|
16821
|
+
return {
|
|
16822
|
+
text: `websocketDiagnostics(v3): ${diagnosticPairs.join("; ")}`,
|
|
16823
|
+
looksAutomated: automationSignals.looksAutomated
|
|
16824
|
+
};
|
|
16823
16825
|
}
|
|
16824
16826
|
const error_getWebSocketDiagnostic = getWebSocketDiagnostic;
|
|
16825
16827
|
function figureMinHeight(height, options) {
|
|
@@ -17528,9 +17530,11 @@ var __webpack_exports__ = {};
|
|
|
17528
17530
|
} catch (exc) {
|
|
17529
17531
|
this.connecting = this.connected = false;
|
|
17530
17532
|
const diagnostic = error_getWebSocketDiagnostic(url2Connect);
|
|
17533
|
+
const message = diagnostic.looksAutomated ? "Automated crawler: WebSocket not supported in this environment" : `Failed to construct WebSocket to ${url2Connect}`;
|
|
17534
|
+
const explanation = diagnostic.looksAutomated ? "Headless crawlers cannot use Videomail's WebSocket. No action needed." : `Please check your connection and try again. If the problem persists, contact us. Diagnostic: ${diagnostic.text}`;
|
|
17531
17535
|
const err = error_createError({
|
|
17532
|
-
message
|
|
17533
|
-
explanation
|
|
17536
|
+
message,
|
|
17537
|
+
explanation,
|
|
17534
17538
|
options: this.options,
|
|
17535
17539
|
exc
|
|
17536
17540
|
});
|
package/dist/esm/index.js
CHANGED
|
@@ -3617,7 +3617,7 @@ const constants = {
|
|
|
3617
3617
|
}
|
|
3618
3618
|
};
|
|
3619
3619
|
var package_namespaceObject = {
|
|
3620
|
-
rE: "13.
|
|
3620
|
+
rE: "13.14.0"
|
|
3621
3621
|
};
|
|
3622
3622
|
function isAudioEnabled(options) {
|
|
3623
3623
|
return Boolean(options.audio.enabled);
|
|
@@ -5978,8 +5978,10 @@ function getWebSocketDiagnostic(url2Connect) {
|
|
|
5978
5978
|
`urlLastCodes=${getEdgeCodes(url2Connect, 4, true)}`,
|
|
5979
5979
|
"ipAsnCheck=server_side_only"
|
|
5980
5980
|
];
|
|
5981
|
-
|
|
5982
|
-
|
|
5981
|
+
return {
|
|
5982
|
+
text: `websocketDiagnostics(v3): ${diagnosticPairs.join("; ")}`,
|
|
5983
|
+
looksAutomated: automationSignals.looksAutomated
|
|
5984
|
+
};
|
|
5983
5985
|
}
|
|
5984
5986
|
const error_getWebSocketDiagnostic = getWebSocketDiagnostic;
|
|
5985
5987
|
function figureMinHeight(height, options) {
|
|
@@ -6658,9 +6660,11 @@ class Recorder extends util_Despot {
|
|
|
6658
6660
|
} catch (exc) {
|
|
6659
6661
|
this.connecting = this.connected = false;
|
|
6660
6662
|
const diagnostic = error_getWebSocketDiagnostic(url2Connect);
|
|
6663
|
+
const message = diagnostic.looksAutomated ? "Automated crawler: WebSocket not supported in this environment" : `Failed to construct WebSocket to ${url2Connect}`;
|
|
6664
|
+
const explanation = diagnostic.looksAutomated ? "Headless crawlers cannot use Videomail's WebSocket. No action needed." : `Please check your connection and try again. If the problem persists, contact us. Diagnostic: ${diagnostic.text}`;
|
|
6661
6665
|
const err = error_createError({
|
|
6662
|
-
message
|
|
6663
|
-
explanation
|
|
6666
|
+
message,
|
|
6667
|
+
explanation,
|
|
6664
6668
|
options: this.options,
|
|
6665
6669
|
exc
|
|
6666
6670
|
});
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
export interface WebSocketDiagnosticResult {
|
|
2
|
+
text: string;
|
|
3
|
+
looksAutomated: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare function getWebSocketDiagnostic(url2Connect: string): WebSocketDiagnosticResult;
|
|
2
6
|
export default getWebSocketDiagnostic;
|
package/dist/umd/index.js
CHANGED
|
@@ -10882,7 +10882,7 @@
|
|
|
10882
10882
|
var client = __webpack_require__(5734);
|
|
10883
10883
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10884
10884
|
var package_namespaceObject = {
|
|
10885
|
-
rE: "13.
|
|
10885
|
+
rE: "13.14.0"
|
|
10886
10886
|
};
|
|
10887
10887
|
function isAudioEnabled(options) {
|
|
10888
10888
|
return Boolean(options.audio.enabled);
|
|
@@ -16581,8 +16581,10 @@
|
|
|
16581
16581
|
`urlLastCodes=${getEdgeCodes(url2Connect, 4, true)}`,
|
|
16582
16582
|
"ipAsnCheck=server_side_only"
|
|
16583
16583
|
];
|
|
16584
|
-
|
|
16585
|
-
|
|
16584
|
+
return {
|
|
16585
|
+
text: `websocketDiagnostics(v3): ${diagnosticPairs.join("; ")}`,
|
|
16586
|
+
looksAutomated: automationSignals.looksAutomated
|
|
16587
|
+
};
|
|
16586
16588
|
}
|
|
16587
16589
|
const error_getWebSocketDiagnostic = getWebSocketDiagnostic;
|
|
16588
16590
|
function figureMinHeight(height, options) {
|
|
@@ -17292,9 +17294,11 @@
|
|
|
17292
17294
|
} catch (exc) {
|
|
17293
17295
|
this.connecting = this.connected = false;
|
|
17294
17296
|
const diagnostic = error_getWebSocketDiagnostic(url2Connect);
|
|
17297
|
+
const message = diagnostic.looksAutomated ? "Automated crawler: WebSocket not supported in this environment" : `Failed to construct WebSocket to ${url2Connect}`;
|
|
17298
|
+
const explanation = diagnostic.looksAutomated ? "Headless crawlers cannot use Videomail's WebSocket. No action needed." : `Please check your connection and try again. If the problem persists, contact us. Diagnostic: ${diagnostic.text}`;
|
|
17295
17299
|
const err = error_createError({
|
|
17296
|
-
message
|
|
17297
|
-
explanation
|
|
17300
|
+
message,
|
|
17301
|
+
explanation,
|
|
17298
17302
|
options: this.options,
|
|
17299
17303
|
exc
|
|
17300
17304
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.14.0",
|
|
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",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@eslint/js": "10.0.1",
|
|
81
81
|
"@rsbuild/plugin-node-polyfill": "1.4.6",
|
|
82
82
|
"@rsbuild/plugin-stylus": "2.0.1",
|
|
83
|
-
"@rsdoctor/rspack-plugin": "1.5.
|
|
83
|
+
"@rsdoctor/rspack-plugin": "1.5.15",
|
|
84
84
|
"@rslib/core": "0.23.0",
|
|
85
85
|
"@storybook/addon-a11y": "10.4.6",
|
|
86
86
|
"@storybook/addon-docs": "10.4.6",
|