videomail-client 13.7.10 → 13.8.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.
@@ -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.7.10"
10829
+ rE: "13.8.0"
10830
10830
  };
10831
10831
  function isAudioEnabled(options) {
10832
10832
  return Boolean(options.audio.enabled);
@@ -17293,10 +17293,7 @@ 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, {
17297
- perMessageDeflate: false,
17298
- objectMode: true
17299
- });
17296
+ this.stream = stream_default()(url2Connect);
17300
17297
  } catch (exc) {
17301
17298
  this.connecting = this.connected = false;
17302
17299
  const err = error_createError({
@@ -1,7 +1,7 @@
1
1
  import { VideoType } from "./types/VideoType";
2
2
  export { VideomailClient } from "./client";
3
3
  export type { BrowserStats } from "./types/BrowserStats";
4
- export type { Command } from "./types/command";
4
+ export type { VideomailCommand } from "./types/command";
5
5
  export type { VideomailCommandArgs } from "./types/command";
6
6
  export type { DeliveryRecord } from "./types/Delivery";
7
7
  export type { EmailAddress, EmailAddresses } from "./types/EmailAddress";
package/dist/esm/index.js CHANGED
@@ -3569,7 +3569,7 @@ const constants = {
3569
3569
  }
3570
3570
  };
3571
3571
  var package_namespaceObject = {
3572
- rE: "13.7.10"
3572
+ rE: "13.8.0"
3573
3573
  };
3574
3574
  function isAudioEnabled(options) {
3575
3575
  return Boolean(options.audio.enabled);
@@ -6496,10 +6496,7 @@ class Recorder extends util_Despot {
6496
6496
  const url2Connect = `${this.options.socketUrl}?${encodeURIComponent(constants.WHITELIST_KEY_LABEL)}=${encodeURIComponent(this.options.whitelistKey)}`;
6497
6497
  this.options.logger.debug(`Recorder: initializing web socket to ${url2Connect}`);
6498
6498
  try {
6499
- this.stream = websocket_stream(url2Connect, {
6500
- perMessageDeflate: false,
6501
- objectMode: true
6502
- });
6499
+ this.stream = websocket_stream(url2Connect);
6503
6500
  } catch (exc) {
6504
6501
  this.connecting = this.connected = false;
6505
6502
  const err = error_createError({
@@ -8,7 +8,7 @@ export interface VideomailCommandArgs {
8
8
  webm?: string;
9
9
  duration?: number;
10
10
  }
11
- export interface Command {
11
+ export interface VideomailCommand {
12
12
  command: string;
13
13
  args?: VideomailCommandArgs;
14
14
  }
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.7.10"
10835
+ rE: "13.8.0"
10836
10836
  };
10837
10837
  function isAudioEnabled(options) {
10838
10838
  return Boolean(options.audio.enabled);
@@ -17060,10 +17060,7 @@
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, {
17064
- perMessageDeflate: false,
17065
- objectMode: true
17066
- });
17063
+ this.stream = stream_default()(url2Connect);
17067
17064
  } catch (exc) {
17068
17065
  this.connecting = this.connected = false;
17069
17066
  const err = error_createError({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "13.7.10",
3
+ "version": "13.8.0",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -80,21 +80,21 @@
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.3",
83
+ "@rsdoctor/rspack-plugin": "1.5.4",
84
84
  "@rslib/core": "0.20.0",
85
- "@storybook/addon-a11y": "10.2.17",
86
- "@storybook/addon-docs": "10.2.17",
87
- "@storybook/addon-links": "10.2.17",
88
- "@storybook/html": "10.2.17",
85
+ "@storybook/addon-a11y": "10.2.19",
86
+ "@storybook/addon-docs": "10.2.19",
87
+ "@storybook/addon-links": "10.2.19",
88
+ "@storybook/html": "10.2.19",
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.11",
95
+ "@vitest/eslint-plugin": "1.6.12",
96
96
  "audit-ci": "7.1.0",
97
- "chromatic": "15.2.0",
97
+ "chromatic": "15.3.0",
98
98
  "cross-env": "10.1.0",
99
99
  "eslint": "9.39.2",
100
100
  "eslint-import-resolver-typescript": "4.4.4",
@@ -102,14 +102,14 @@
102
102
  "eslint-plugin-depend": "1.5.0",
103
103
  "eslint-plugin-import-x": "4.16.2",
104
104
  "eslint-plugin-markdownlint": "0.9.0",
105
- "eslint-plugin-package-json": "0.90.1",
105
+ "eslint-plugin-package-json": "0.91.0",
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
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.10",
112
+ "msw": "2.12.13",
113
113
  "msw-storybook-addon": "2.0.6",
114
114
  "prettier": "3.8.1",
115
115
  "prettier-plugin-curly": "0.4.1",
@@ -117,11 +117,11 @@
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.2.17",
120
+ "storybook": "10.2.19",
121
121
  "storybook-html-rsbuild": "3.3.2",
122
122
  "type-fest": "5.4.4",
123
123
  "typescript": "5.9.3",
124
- "typescript-eslint": "8.56.1",
124
+ "typescript-eslint": "8.57.1",
125
125
  "vitest": "4.1.0"
126
126
  },
127
127
  "engines": {