videomail-client 13.8.16 → 13.8.18
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 +6 -12
- package/dist/esm/types/reaction.d.ts +2 -2
- package/dist/esm/wrappers/form.d.ts +20 -20
- package/dist/umd/index.js +2 -2
- package/package.json +20 -20
package/dist/cjs/index.cjs
CHANGED
|
@@ -10853,7 +10853,7 @@ var __webpack_exports__ = {};
|
|
|
10853
10853
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10854
10854
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10855
10855
|
var package_namespaceObject = {
|
|
10856
|
-
rE: "13.8.
|
|
10856
|
+
rE: "13.8.18"
|
|
10857
10857
|
};
|
|
10858
10858
|
function isAudioEnabled(options) {
|
|
10859
10859
|
return Boolean(options.audio.enabled);
|
|
@@ -17327,7 +17327,7 @@ var __webpack_exports__ = {};
|
|
|
17327
17327
|
this.connecting = this.connected = false;
|
|
17328
17328
|
const err = error_createError({
|
|
17329
17329
|
message: "Failed to connect to server",
|
|
17330
|
-
explanation:
|
|
17330
|
+
explanation: `Unable to build websocket to ${url2Connect}. Please check your connection and try again. If the problem persists, contact us.`,
|
|
17331
17331
|
options: this.options,
|
|
17332
17332
|
exc
|
|
17333
17333
|
});
|
package/dist/esm/index.js
CHANGED
|
@@ -314,11 +314,9 @@ __webpack_require__.add({
|
|
|
314
314
|
*/ var base64 = __webpack_require__("./node_modules/base64-js/index.js");
|
|
315
315
|
var ieee754 = __webpack_require__("./node_modules/ieee754/index.js");
|
|
316
316
|
var customInspectSymbol = 'function' == typeof Symbol && 'function' == typeof Symbol['for'] ? Symbol['for']('nodejs.util.inspect.custom') : null;
|
|
317
|
-
exports.
|
|
318
|
-
exports.
|
|
319
|
-
exports.INSPECT_MAX_BYTES = 50;
|
|
317
|
+
exports.hp = Buffer;
|
|
318
|
+
exports.IS = 50;
|
|
320
319
|
var K_MAX_LENGTH = 0x7fffffff;
|
|
321
|
-
exports.kMaxLength = K_MAX_LENGTH;
|
|
322
320
|
Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
323
321
|
if (!Buffer.TYPED_ARRAY_SUPPORT && "u" > typeof console && 'function' == typeof console.error) console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
|
|
324
322
|
function typedArraySupport() {
|
|
@@ -454,10 +452,6 @@ __webpack_require__.add({
|
|
|
454
452
|
if (length >= K_MAX_LENGTH) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + K_MAX_LENGTH.toString(16) + ' bytes');
|
|
455
453
|
return 0 | length;
|
|
456
454
|
}
|
|
457
|
-
function SlowBuffer(length) {
|
|
458
|
-
if (+length != length) length = 0;
|
|
459
|
-
return Buffer.alloc(+length);
|
|
460
|
-
}
|
|
461
455
|
Buffer.isBuffer = function(b) {
|
|
462
456
|
return null != b && true === b._isBuffer && b !== Buffer.prototype;
|
|
463
457
|
};
|
|
@@ -627,7 +621,7 @@ __webpack_require__.add({
|
|
|
627
621
|
};
|
|
628
622
|
Buffer.prototype.inspect = function() {
|
|
629
623
|
var str = '';
|
|
630
|
-
var max = exports.
|
|
624
|
+
var max = exports.IS;
|
|
631
625
|
str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim();
|
|
632
626
|
if (this.length > max) str += ' ... ';
|
|
633
627
|
return '<Buffer ' + str + '>';
|
|
@@ -3619,7 +3613,7 @@ const constants = {
|
|
|
3619
3613
|
}
|
|
3620
3614
|
};
|
|
3621
3615
|
var package_namespaceObject = {
|
|
3622
|
-
rE: "13.8.
|
|
3616
|
+
rE: "13.8.18"
|
|
3623
3617
|
};
|
|
3624
3618
|
function isAudioEnabled(options) {
|
|
3625
3619
|
return Boolean(options.audio.enabled);
|
|
@@ -6372,7 +6366,7 @@ class UserMedia extends util_Despot {
|
|
|
6372
6366
|
}
|
|
6373
6367
|
}
|
|
6374
6368
|
const visuals_userMedia = UserMedia;
|
|
6375
|
-
var Buffer = __webpack_require__("./node_modules/buffer/index.js")["
|
|
6369
|
+
var Buffer = __webpack_require__("./node_modules/buffer/index.js")["hp"];
|
|
6376
6370
|
function recorder_define_property(obj, key, value) {
|
|
6377
6371
|
if (key in obj) Object.defineProperty(obj, key, {
|
|
6378
6372
|
value: value,
|
|
@@ -6553,7 +6547,7 @@ class Recorder extends util_Despot {
|
|
|
6553
6547
|
this.connecting = this.connected = false;
|
|
6554
6548
|
const err = error_createError({
|
|
6555
6549
|
message: "Failed to connect to server",
|
|
6556
|
-
explanation:
|
|
6550
|
+
explanation: `Unable to build websocket to ${url2Connect}. Please check your connection and try again. If the problem persists, contact us.`,
|
|
6557
6551
|
options: this.options,
|
|
6558
6552
|
exc
|
|
6559
6553
|
});
|
|
@@ -25,7 +25,7 @@ export type ReactionKey = ReactionType["key"];
|
|
|
25
25
|
export type ReactionLabel = ReactionType["label"];
|
|
26
26
|
export type ReactionsByUserKey = Partial<Record<ReactionKey, readonly string[]>>;
|
|
27
27
|
export interface ReactionPrettyByUserKey {
|
|
28
|
-
nickName?: string;
|
|
29
|
-
maskedEmailAddress?: string;
|
|
28
|
+
nickName?: string | undefined;
|
|
29
|
+
maskedEmailAddress?: string | undefined;
|
|
30
30
|
}
|
|
31
31
|
export type ReactionsPrettyByUserKey = Partial<Record<ReactionKey, Partial<Record<string, ReactionPrettyByUserKey>>>>;
|
|
@@ -116,32 +116,32 @@ declare class Form extends Despot {
|
|
|
116
116
|
reactionsPretty?: {
|
|
117
117
|
love?: {
|
|
118
118
|
[x: string]: {
|
|
119
|
-
nickName?: string;
|
|
120
|
-
maskedEmailAddress?: string;
|
|
119
|
+
nickName?: string | undefined | undefined;
|
|
120
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
121
121
|
} | undefined;
|
|
122
122
|
};
|
|
123
123
|
applause?: {
|
|
124
124
|
[x: string]: {
|
|
125
|
-
nickName?: string;
|
|
126
|
-
maskedEmailAddress?: string;
|
|
125
|
+
nickName?: string | undefined | undefined;
|
|
126
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
127
127
|
} | undefined;
|
|
128
128
|
};
|
|
129
129
|
foldedHands?: {
|
|
130
130
|
[x: string]: {
|
|
131
|
-
nickName?: string;
|
|
132
|
-
maskedEmailAddress?: string;
|
|
131
|
+
nickName?: string | undefined | undefined;
|
|
132
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
133
133
|
} | undefined;
|
|
134
134
|
};
|
|
135
135
|
grinningSweat?: {
|
|
136
136
|
[x: string]: {
|
|
137
|
-
nickName?: string;
|
|
138
|
-
maskedEmailAddress?: string;
|
|
137
|
+
nickName?: string | undefined | undefined;
|
|
138
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
139
139
|
} | undefined;
|
|
140
140
|
};
|
|
141
141
|
anger?: {
|
|
142
142
|
[x: string]: {
|
|
143
|
-
nickName?: string;
|
|
144
|
-
maskedEmailAddress?: string;
|
|
143
|
+
nickName?: string | undefined | undefined;
|
|
144
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
145
145
|
} | undefined;
|
|
146
146
|
};
|
|
147
147
|
} | undefined;
|
|
@@ -298,32 +298,32 @@ declare class Form extends Despot {
|
|
|
298
298
|
reactionsPretty?: {
|
|
299
299
|
love?: {
|
|
300
300
|
[x: string]: {
|
|
301
|
-
nickName?: string;
|
|
302
|
-
maskedEmailAddress?: string;
|
|
301
|
+
nickName?: string | undefined | undefined;
|
|
302
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
303
303
|
} | undefined;
|
|
304
304
|
};
|
|
305
305
|
applause?: {
|
|
306
306
|
[x: string]: {
|
|
307
|
-
nickName?: string;
|
|
308
|
-
maskedEmailAddress?: string;
|
|
307
|
+
nickName?: string | undefined | undefined;
|
|
308
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
309
309
|
} | undefined;
|
|
310
310
|
};
|
|
311
311
|
foldedHands?: {
|
|
312
312
|
[x: string]: {
|
|
313
|
-
nickName?: string;
|
|
314
|
-
maskedEmailAddress?: string;
|
|
313
|
+
nickName?: string | undefined | undefined;
|
|
314
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
315
315
|
} | undefined;
|
|
316
316
|
};
|
|
317
317
|
grinningSweat?: {
|
|
318
318
|
[x: string]: {
|
|
319
|
-
nickName?: string;
|
|
320
|
-
maskedEmailAddress?: string;
|
|
319
|
+
nickName?: string | undefined | undefined;
|
|
320
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
321
321
|
} | undefined;
|
|
322
322
|
};
|
|
323
323
|
anger?: {
|
|
324
324
|
[x: string]: {
|
|
325
|
-
nickName?: string;
|
|
326
|
-
maskedEmailAddress?: string;
|
|
325
|
+
nickName?: string | undefined | undefined;
|
|
326
|
+
maskedEmailAddress?: string | undefined | undefined;
|
|
327
327
|
} | undefined;
|
|
328
328
|
};
|
|
329
329
|
} | undefined;
|
package/dist/umd/index.js
CHANGED
|
@@ -10859,7 +10859,7 @@
|
|
|
10859
10859
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10860
10860
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10861
10861
|
var package_namespaceObject = {
|
|
10862
|
-
rE: "13.8.
|
|
10862
|
+
rE: "13.8.18"
|
|
10863
10863
|
};
|
|
10864
10864
|
function isAudioEnabled(options) {
|
|
10865
10865
|
return Boolean(options.audio.enabled);
|
|
@@ -17094,7 +17094,7 @@
|
|
|
17094
17094
|
this.connecting = this.connected = false;
|
|
17095
17095
|
const err = error_createError({
|
|
17096
17096
|
message: "Failed to connect to server",
|
|
17097
|
-
explanation:
|
|
17097
|
+
explanation: `Unable to build websocket to ${url2Connect}. Please check your connection and try again. If the problem persists, contact us.`,
|
|
17098
17098
|
options: this.options,
|
|
17099
17099
|
exc
|
|
17100
17100
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "13.8.
|
|
3
|
+
"version": "13.8.18",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -75,26 +75,26 @@
|
|
|
75
75
|
"websocket-stream": "5.5.2"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@chromatic-com/storybook": "5.1.
|
|
78
|
+
"@chromatic-com/storybook": "5.1.2",
|
|
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.
|
|
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.8",
|
|
84
|
+
"@rslib/core": "0.21.2",
|
|
85
|
+
"@storybook/addon-a11y": "10.3.5",
|
|
86
|
+
"@storybook/addon-docs": "10.3.5",
|
|
87
|
+
"@storybook/addon-links": "10.3.5",
|
|
88
|
+
"@storybook/html": "10.3.5",
|
|
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.16",
|
|
96
96
|
"audit-ci": "7.1.0",
|
|
97
|
-
"chromatic": "16.
|
|
97
|
+
"chromatic": "16.3.0",
|
|
98
98
|
"cross-env": "10.1.0",
|
|
99
99
|
"eslint": "9.39.2",
|
|
100
100
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
@@ -106,23 +106,23 @@
|
|
|
106
106
|
"eslint-plugin-promise": "7.2.1",
|
|
107
107
|
"eslint-plugin-regexp": "3.1.0",
|
|
108
108
|
"eslint-plugin-security": "4.0.0",
|
|
109
|
-
"eslint-plugin-simple-import-sort": "
|
|
110
|
-
"globals": "17.
|
|
109
|
+
"eslint-plugin-simple-import-sort": "13.0.0",
|
|
110
|
+
"globals": "17.5.0",
|
|
111
111
|
"jsdom": "29.0.2",
|
|
112
|
-
"msw": "2.13.
|
|
113
|
-
"msw-storybook-addon": "2.0.
|
|
114
|
-
"prettier": "3.8.
|
|
112
|
+
"msw": "2.13.3",
|
|
113
|
+
"msw-storybook-addon": "2.0.7",
|
|
114
|
+
"prettier": "3.8.3",
|
|
115
115
|
"prettier-plugin-curly": "0.4.1",
|
|
116
116
|
"prettier-plugin-jsdoc": "1.8.0",
|
|
117
117
|
"prettier-plugin-packagejson": "3.0.2",
|
|
118
118
|
"prettier-plugin-sh": "0.18.1",
|
|
119
|
-
"release-it": "
|
|
120
|
-
"storybook": "10.3.
|
|
121
|
-
"storybook-html-rsbuild": "3.3.
|
|
119
|
+
"release-it": "20.0.0",
|
|
120
|
+
"storybook": "10.3.5",
|
|
121
|
+
"storybook-html-rsbuild": "3.3.3",
|
|
122
122
|
"type-fest": "5.5.0",
|
|
123
123
|
"typescript": "5.9.3",
|
|
124
|
-
"typescript-eslint": "8.58.
|
|
125
|
-
"vitest": "4.1.
|
|
124
|
+
"typescript-eslint": "8.58.2",
|
|
125
|
+
"vitest": "4.1.4"
|
|
126
126
|
},
|
|
127
127
|
"engines": {
|
|
128
128
|
"node": "^24.13.0",
|