videomail-client 13.8.3 → 13.8.5
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 +4 -2
- package/dist/esm/index.js +55 -3
- package/dist/umd/index.js +4 -2
- package/package.json +13 -13
- package/dist/esm/rslib-runtime.js +0 -52
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.5"
|
|
10830
10830
|
};
|
|
10831
10831
|
function isAudioEnabled(options) {
|
|
10832
10832
|
return Boolean(options.audio.enabled);
|
|
@@ -17293,7 +17293,9 @@ var __webpack_exports__ = {};
|
|
|
17293
17293
|
const url2Connect = `${this.options.socketUrl}?${encodeURIComponent(constants.WHITELIST_KEY_LABEL)}=${encodeURIComponent(this.options.whitelistKey)}`;
|
|
17294
17294
|
this.options.logger.debug(`Recorder: initializing web socket to ${url2Connect}`);
|
|
17295
17295
|
try {
|
|
17296
|
-
this.stream = stream_default()(url2Connect
|
|
17296
|
+
this.stream = stream_default()(url2Connect, {
|
|
17297
|
+
perMessageDeflate: false
|
|
17298
|
+
});
|
|
17297
17299
|
} catch (exc) {
|
|
17298
17300
|
this.connecting = this.connected = false;
|
|
17299
17301
|
const err = error_createError({
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
2
1
|
import { deserializeError, serializeError } from "serialize-error";
|
|
3
2
|
import superagent from "superagent";
|
|
4
3
|
import defined from "defined";
|
|
@@ -13,6 +12,57 @@ import canvas_to_buffer from "canvas-to-buffer";
|
|
|
13
12
|
import websocket_stream from "websocket-stream";
|
|
14
13
|
import audio_sample from "audio-sample";
|
|
15
14
|
import is_power_of_two from "is-power-of-two";
|
|
15
|
+
var __webpack_modules__ = {};
|
|
16
|
+
var __webpack_module_cache__ = {};
|
|
17
|
+
function __webpack_require__(moduleId) {
|
|
18
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
19
|
+
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
20
|
+
var module = __webpack_module_cache__[moduleId] = {
|
|
21
|
+
id: moduleId,
|
|
22
|
+
exports: {}
|
|
23
|
+
};
|
|
24
|
+
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
25
|
+
return module.exports;
|
|
26
|
+
}
|
|
27
|
+
__webpack_require__.m = __webpack_modules__;
|
|
28
|
+
(()=>{
|
|
29
|
+
__webpack_require__.n = (module)=>{
|
|
30
|
+
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
31
|
+
__webpack_require__.d(getter, {
|
|
32
|
+
a: getter
|
|
33
|
+
});
|
|
34
|
+
return getter;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
(()=>{
|
|
38
|
+
__webpack_require__.d = (exports, definition)=>{
|
|
39
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: definition[key]
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
45
|
+
(()=>{
|
|
46
|
+
__webpack_require__.add = function(modules) {
|
|
47
|
+
Object.assign(__webpack_require__.m, modules);
|
|
48
|
+
};
|
|
49
|
+
})();
|
|
50
|
+
(()=>{
|
|
51
|
+
__webpack_require__.g = (()=>{
|
|
52
|
+
if ('object' == typeof globalThis) return globalThis;
|
|
53
|
+
try {
|
|
54
|
+
return this || new Function('return this')();
|
|
55
|
+
} catch (e) {
|
|
56
|
+
if ('object' == typeof window) return window;
|
|
57
|
+
}
|
|
58
|
+
})();
|
|
59
|
+
})();
|
|
60
|
+
(()=>{
|
|
61
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
62
|
+
})();
|
|
63
|
+
(()=>{
|
|
64
|
+
__webpack_require__.nc = void 0;
|
|
65
|
+
})();
|
|
16
66
|
__webpack_require__.add({
|
|
17
67
|
"./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[10].oneOf[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[10].oneOf[2].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[2].use[3]!./src/styles/main.styl" (module, __webpack_exports__, __webpack_require__) {
|
|
18
68
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -3569,7 +3619,7 @@ const constants = {
|
|
|
3569
3619
|
}
|
|
3570
3620
|
};
|
|
3571
3621
|
var package_namespaceObject = {
|
|
3572
|
-
rE: "13.8.
|
|
3622
|
+
rE: "13.8.5"
|
|
3573
3623
|
};
|
|
3574
3624
|
function isAudioEnabled(options) {
|
|
3575
3625
|
return Boolean(options.audio.enabled);
|
|
@@ -6496,7 +6546,9 @@ class Recorder extends util_Despot {
|
|
|
6496
6546
|
const url2Connect = `${this.options.socketUrl}?${encodeURIComponent(constants.WHITELIST_KEY_LABEL)}=${encodeURIComponent(this.options.whitelistKey)}`;
|
|
6497
6547
|
this.options.logger.debug(`Recorder: initializing web socket to ${url2Connect}`);
|
|
6498
6548
|
try {
|
|
6499
|
-
this.stream = websocket_stream(url2Connect
|
|
6549
|
+
this.stream = websocket_stream(url2Connect, {
|
|
6550
|
+
perMessageDeflate: false
|
|
6551
|
+
});
|
|
6500
6552
|
} catch (exc) {
|
|
6501
6553
|
this.connecting = this.connected = false;
|
|
6502
6554
|
const err = error_createError({
|
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.5"
|
|
10836
10836
|
};
|
|
10837
10837
|
function isAudioEnabled(options) {
|
|
10838
10838
|
return Boolean(options.audio.enabled);
|
|
@@ -17060,7 +17060,9 @@
|
|
|
17060
17060
|
const url2Connect = `${this.options.socketUrl}?${encodeURIComponent(constants.WHITELIST_KEY_LABEL)}=${encodeURIComponent(this.options.whitelistKey)}`;
|
|
17061
17061
|
this.options.logger.debug(`Recorder: initializing web socket to ${url2Connect}`);
|
|
17062
17062
|
try {
|
|
17063
|
-
this.stream = stream_default()(url2Connect
|
|
17063
|
+
this.stream = stream_default()(url2Connect, {
|
|
17064
|
+
perMessageDeflate: false
|
|
17065
|
+
});
|
|
17064
17066
|
} catch (exc) {
|
|
17065
17067
|
this.connecting = this.connected = false;
|
|
17066
17068
|
const err = error_createError({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "13.8.
|
|
3
|
+
"version": "13.8.5",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -75,24 +75,24 @@
|
|
|
75
75
|
"websocket-stream": "5.5.2"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@chromatic-com/storybook": "5.
|
|
78
|
+
"@chromatic-com/storybook": "5.1.1",
|
|
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
|
-
"@rsdoctor/rspack-plugin": "1.5.
|
|
84
|
-
"@rslib/core": "0.20.
|
|
85
|
-
"@storybook/addon-a11y": "10.3.
|
|
86
|
-
"@storybook/addon-docs": "10.3.
|
|
87
|
-
"@storybook/addon-links": "10.3.
|
|
88
|
-
"@storybook/html": "10.3.
|
|
83
|
+
"@rsdoctor/rspack-plugin": "1.5.5",
|
|
84
|
+
"@rslib/core": "0.20.1",
|
|
85
|
+
"@storybook/addon-a11y": "10.3.3",
|
|
86
|
+
"@storybook/addon-docs": "10.3.3",
|
|
87
|
+
"@storybook/addon-links": "10.3.3",
|
|
88
|
+
"@storybook/html": "10.3.3",
|
|
89
89
|
"@tsconfig/node24": "24.0.4",
|
|
90
90
|
"@tsconfig/strictest": "2.0.8",
|
|
91
91
|
"@types/defined": "1.0.2",
|
|
92
92
|
"@types/node": "24.10.8",
|
|
93
93
|
"@types/superagent": "8.1.9",
|
|
94
94
|
"@types/ua-parser-js": "0.7.39",
|
|
95
|
-
"@vitest/eslint-plugin": "1.6.
|
|
95
|
+
"@vitest/eslint-plugin": "1.6.13",
|
|
96
96
|
"audit-ci": "7.1.0",
|
|
97
97
|
"chromatic": "15.3.0",
|
|
98
98
|
"cross-env": "10.1.0",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
110
110
|
"globals": "17.4.0",
|
|
111
111
|
"jsdom": "28.1.0",
|
|
112
|
-
"msw": "2.12.
|
|
112
|
+
"msw": "2.12.14",
|
|
113
113
|
"msw-storybook-addon": "2.0.6",
|
|
114
114
|
"prettier": "3.8.1",
|
|
115
115
|
"prettier-plugin-curly": "0.4.1",
|
|
@@ -117,12 +117,12 @@
|
|
|
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.3.
|
|
120
|
+
"storybook": "10.3.3",
|
|
121
121
|
"storybook-html-rsbuild": "3.3.2",
|
|
122
122
|
"type-fest": "5.5.0",
|
|
123
123
|
"typescript": "5.9.3",
|
|
124
|
-
"typescript-eslint": "8.57.
|
|
125
|
-
"vitest": "4.1.
|
|
124
|
+
"typescript-eslint": "8.57.2",
|
|
125
|
+
"vitest": "4.1.2"
|
|
126
126
|
},
|
|
127
127
|
"engines": {
|
|
128
128
|
"node": "^24.13.0",
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
var __webpack_modules__ = {};
|
|
2
|
-
var __webpack_module_cache__ = {};
|
|
3
|
-
function __webpack_require__(moduleId) {
|
|
4
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
5
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
6
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
7
|
-
id: moduleId,
|
|
8
|
-
exports: {}
|
|
9
|
-
};
|
|
10
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
11
|
-
return module.exports;
|
|
12
|
-
}
|
|
13
|
-
__webpack_require__.m = __webpack_modules__;
|
|
14
|
-
(()=>{
|
|
15
|
-
__webpack_require__.n = (module)=>{
|
|
16
|
-
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
17
|
-
__webpack_require__.d(getter, {
|
|
18
|
-
a: getter
|
|
19
|
-
});
|
|
20
|
-
return getter;
|
|
21
|
-
};
|
|
22
|
-
})();
|
|
23
|
-
(()=>{
|
|
24
|
-
__webpack_require__.d = (exports, definition)=>{
|
|
25
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: definition[key]
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
})();
|
|
31
|
-
(()=>{
|
|
32
|
-
__webpack_require__.add = function(modules) {
|
|
33
|
-
Object.assign(__webpack_require__.m, modules);
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
(()=>{
|
|
37
|
-
__webpack_require__.g = (()=>{
|
|
38
|
-
if ('object' == typeof globalThis) return globalThis;
|
|
39
|
-
try {
|
|
40
|
-
return this || new Function('return this')();
|
|
41
|
-
} catch (e) {
|
|
42
|
-
if ('object' == typeof window) return window;
|
|
43
|
-
}
|
|
44
|
-
})();
|
|
45
|
-
})();
|
|
46
|
-
(()=>{
|
|
47
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
48
|
-
})();
|
|
49
|
-
(()=>{
|
|
50
|
-
__webpack_require__.nc = void 0;
|
|
51
|
-
})();
|
|
52
|
-
export { __webpack_require__ };
|