videomail-client 13.7.8 → 13.7.10

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.
@@ -1,5 +1,5 @@
1
1
  var __webpack_modules__ = {
2
- "./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl" (module, __webpack_exports__, __webpack_require__) {
2
+ "./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__) {
3
3
  "use strict";
4
4
  __webpack_require__.d(__webpack_exports__, {
5
5
  A: ()=>__rspack_default_export
@@ -2259,7 +2259,7 @@ var __webpack_modules__ = {
2259
2259
  this.decoder = null;
2260
2260
  this.encoding = null;
2261
2261
  if (options.encoding) {
2262
- if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/duplexify/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;
2262
+ if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/duplexify/node_modules/string_decoder/lib/string_decoder.js").I;
2263
2263
  this.decoder = new StringDecoder(options.encoding);
2264
2264
  this.encoding = options.encoding;
2265
2265
  }
@@ -2358,7 +2358,7 @@ var __webpack_modules__ = {
2358
2358
  return false === this._readableState.flowing;
2359
2359
  };
2360
2360
  Readable.prototype.setEncoding = function(enc) {
2361
- if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/duplexify/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;
2361
+ if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/duplexify/node_modules/string_decoder/lib/string_decoder.js").I;
2362
2362
  this._readableState.decoder = new StringDecoder(enc);
2363
2363
  this._readableState.encoding = enc;
2364
2364
  return this;
@@ -3551,7 +3551,7 @@ var __webpack_modules__ = {
3551
3551
  if ('string' != typeof nenc && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
3552
3552
  return nenc || enc;
3553
3553
  }
3554
- exports1.StringDecoder = StringDecoder;
3554
+ exports1.I = StringDecoder;
3555
3555
  function StringDecoder(encoding) {
3556
3556
  this.encoding = normalizeEncoding(encoding);
3557
3557
  var nb;
@@ -8593,7 +8593,7 @@ var __webpack_modules__ = {
8593
8593
  this.decoder = null;
8594
8594
  this.encoding = null;
8595
8595
  if (options.encoding) {
8596
- if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/websocket-stream/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;
8596
+ if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/websocket-stream/node_modules/string_decoder/lib/string_decoder.js").I;
8597
8597
  this.decoder = new StringDecoder(options.encoding);
8598
8598
  this.encoding = options.encoding;
8599
8599
  }
@@ -8692,7 +8692,7 @@ var __webpack_modules__ = {
8692
8692
  return false === this._readableState.flowing;
8693
8693
  };
8694
8694
  Readable.prototype.setEncoding = function(enc) {
8695
- if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/websocket-stream/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;
8695
+ if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/websocket-stream/node_modules/string_decoder/lib/string_decoder.js").I;
8696
8696
  this._readableState.decoder = new StringDecoder(enc);
8697
8697
  this._readableState.encoding = enc;
8698
8698
  return this;
@@ -9885,7 +9885,7 @@ var __webpack_modules__ = {
9885
9885
  if ('string' != typeof nenc && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
9886
9886
  return nenc || enc;
9887
9887
  }
9888
- exports1.StringDecoder = StringDecoder;
9888
+ exports1.I = StringDecoder;
9889
9889
  function StringDecoder(encoding) {
9890
9890
  this.encoding = normalizeEncoding(encoding);
9891
9891
  var nb;
@@ -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.8"
10829
+ rE: "13.7.10"
10830
10830
  };
10831
10831
  function isAudioEnabled(options) {
10832
10832
  return Boolean(options.audio.enabled);
@@ -14954,7 +14954,8 @@ var __webpack_exports__ = {};
14954
14954
  const queryParams = {
14955
14955
  [constants.WHITELIST_KEY_LABEL]: this.options.whitelistKey
14956
14956
  };
14957
- let url = `${this.options.apiUrl}/videomail/`;
14957
+ const path = videomail.public ? "wall" : "videomail";
14958
+ let url = `${this.options.apiUrl}/${path}/`;
14958
14959
  if (method === FormMethod.PUT && videomail.key) url += videomail.key;
14959
14960
  try {
14960
14961
  const request = yield client_default()(method, url).query(queryParams).set("Timezone-Id", this.timezoneId).withCredentials().send(videomail).timeout(this.options.timeouts.connection);
@@ -15293,7 +15294,7 @@ var __webpack_exports__ = {};
15293
15294
  var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
15294
15295
  var styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
15295
15296
  var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
15296
- var main = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl");
15297
+ var main = __webpack_require__("./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");
15297
15298
  var main_options = {};
15298
15299
  main_options.styleTagTransform = styleTagTransform_default();
15299
15300
  main_options.setAttributes = setAttributesWithoutAttributes_default();
package/dist/esm/index.js CHANGED
@@ -14,7 +14,7 @@ import websocket_stream from "websocket-stream";
14
14
  import audio_sample from "audio-sample";
15
15
  import is_power_of_two from "is-power-of-two";
16
16
  __webpack_require__.add({
17
- "./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl" (module, __webpack_exports__, __webpack_require__) {
17
+ "./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
18
  __webpack_require__.d(__webpack_exports__, {
19
19
  A: ()=>__rspack_default_export
20
20
  });
@@ -3569,7 +3569,7 @@ const constants = {
3569
3569
  }
3570
3570
  };
3571
3571
  var package_namespaceObject = {
3572
- rE: "13.7.8"
3572
+ rE: "13.7.10"
3573
3573
  };
3574
3574
  function isAudioEnabled(options) {
3575
3575
  return Boolean(options.audio.enabled);
@@ -4316,7 +4316,8 @@ class Resource {
4316
4316
  const queryParams = {
4317
4317
  [constants.WHITELIST_KEY_LABEL]: this.options.whitelistKey
4318
4318
  };
4319
- let url = `${this.options.apiUrl}/videomail/`;
4319
+ const path = videomail.public ? "wall" : "videomail";
4320
+ let url = `${this.options.apiUrl}/${path}/`;
4320
4321
  if (method === FormMethod.PUT && videomail.key) url += videomail.key;
4321
4322
  try {
4322
4323
  const request = await superagent(method, url).query(queryParams).set("Timezone-Id", this.timezoneId).withCredentials().send(videomail).timeout(this.options.timeouts.connection);
@@ -4639,7 +4640,7 @@ const insertStyleElement = __webpack_require__("./node_modules/@rsbuild/core/com
4639
4640
  var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
4640
4641
  const styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
4641
4642
  var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
4642
- const main_0 = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl");
4643
+ const main_0 = __webpack_require__("./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");
4643
4644
  var main_options = {};
4644
4645
  main_options.styleTagTransform = styleTagTransform_default();
4645
4646
  main_options.setAttributes = setAttributesWithoutAttributes_default();
@@ -11,11 +11,6 @@ function __webpack_require__(moduleId) {
11
11
  return module.exports;
12
12
  }
13
13
  __webpack_require__.m = __webpack_modules__;
14
- (()=>{
15
- __webpack_require__.add = function(modules) {
16
- Object.assign(__webpack_require__.m, modules);
17
- };
18
- })();
19
14
  (()=>{
20
15
  __webpack_require__.n = (module)=>{
21
16
  var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
@@ -33,6 +28,11 @@ __webpack_require__.m = __webpack_modules__;
33
28
  });
34
29
  };
35
30
  })();
31
+ (()=>{
32
+ __webpack_require__.add = function(modules) {
33
+ Object.assign(__webpack_require__.m, modules);
34
+ };
35
+ })();
36
36
  (()=>{
37
37
  __webpack_require__.g = (()=>{
38
38
  if ('object' == typeof globalThis) return globalThis;
@@ -34,6 +34,7 @@ export interface Videomail {
34
34
  parentSnapshots?: Videomail[] | undefined;
35
35
  replyAllUrl?: string;
36
36
  replyUrl: string;
37
+ shareUrl?: string;
37
38
  sending: boolean;
38
39
  sent?: boolean;
39
40
  sentDate?: number;
@@ -107,6 +107,7 @@ declare class Form extends Despot {
107
107
  parentSnapshots?: Videomail[] | undefined | undefined;
108
108
  replyAllUrl?: string;
109
109
  replyUrl?: string;
110
+ shareUrl?: string;
110
111
  sending?: boolean;
111
112
  sent?: boolean;
112
113
  sentDate?: number;
@@ -248,6 +249,7 @@ declare class Form extends Despot {
248
249
  parentSnapshots?: Videomail[] | undefined | undefined;
249
250
  replyAllUrl?: string;
250
251
  replyUrl?: string;
252
+ shareUrl?: string;
251
253
  sending?: boolean;
252
254
  sent?: boolean;
253
255
  sentDate?: number;
package/dist/umd/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  else root["VideomailClient"] = factory();
6
6
  })(globalThis, ()=>(()=>{
7
7
  var __webpack_modules__ = {
8
- "./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl" (module1, __webpack_exports__, __webpack_require__) {
8
+ "./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" (module1, __webpack_exports__, __webpack_require__) {
9
9
  "use strict";
10
10
  __webpack_require__.d(__webpack_exports__, {
11
11
  A: ()=>__rspack_default_export
@@ -2265,7 +2265,7 @@
2265
2265
  this.decoder = null;
2266
2266
  this.encoding = null;
2267
2267
  if (options.encoding) {
2268
- if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/duplexify/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;
2268
+ if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/duplexify/node_modules/string_decoder/lib/string_decoder.js").I;
2269
2269
  this.decoder = new StringDecoder(options.encoding);
2270
2270
  this.encoding = options.encoding;
2271
2271
  }
@@ -2364,7 +2364,7 @@
2364
2364
  return false === this._readableState.flowing;
2365
2365
  };
2366
2366
  Readable.prototype.setEncoding = function(enc) {
2367
- if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/duplexify/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;
2367
+ if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/duplexify/node_modules/string_decoder/lib/string_decoder.js").I;
2368
2368
  this._readableState.decoder = new StringDecoder(enc);
2369
2369
  this._readableState.encoding = enc;
2370
2370
  return this;
@@ -3557,7 +3557,7 @@
3557
3557
  if ('string' != typeof nenc && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
3558
3558
  return nenc || enc;
3559
3559
  }
3560
- exports1.StringDecoder = StringDecoder;
3560
+ exports1.I = StringDecoder;
3561
3561
  function StringDecoder(encoding) {
3562
3562
  this.encoding = normalizeEncoding(encoding);
3563
3563
  var nb;
@@ -8599,7 +8599,7 @@
8599
8599
  this.decoder = null;
8600
8600
  this.encoding = null;
8601
8601
  if (options.encoding) {
8602
- if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/websocket-stream/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;
8602
+ if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/websocket-stream/node_modules/string_decoder/lib/string_decoder.js").I;
8603
8603
  this.decoder = new StringDecoder(options.encoding);
8604
8604
  this.encoding = options.encoding;
8605
8605
  }
@@ -8698,7 +8698,7 @@
8698
8698
  return false === this._readableState.flowing;
8699
8699
  };
8700
8700
  Readable.prototype.setEncoding = function(enc) {
8701
- if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/websocket-stream/node_modules/string_decoder/lib/string_decoder.js").StringDecoder;
8701
+ if (!StringDecoder) StringDecoder = __webpack_require__("./node_modules/websocket-stream/node_modules/string_decoder/lib/string_decoder.js").I;
8702
8702
  this._readableState.decoder = new StringDecoder(enc);
8703
8703
  this._readableState.encoding = enc;
8704
8704
  return this;
@@ -9891,7 +9891,7 @@
9891
9891
  if ('string' != typeof nenc && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
9892
9892
  return nenc || enc;
9893
9893
  }
9894
- exports1.StringDecoder = StringDecoder;
9894
+ exports1.I = StringDecoder;
9895
9895
  function StringDecoder(encoding) {
9896
9896
  this.encoding = normalizeEncoding(encoding);
9897
9897
  var nb;
@@ -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.8"
10835
+ rE: "13.7.10"
10836
10836
  };
10837
10837
  function isAudioEnabled(options) {
10838
10838
  return Boolean(options.audio.enabled);
@@ -14852,7 +14852,8 @@
14852
14852
  const queryParams = {
14853
14853
  [constants.WHITELIST_KEY_LABEL]: this.options.whitelistKey
14854
14854
  };
14855
- let url = `${this.options.apiUrl}/videomail/`;
14855
+ const path = videomail.public ? "wall" : "videomail";
14856
+ let url = `${this.options.apiUrl}/${path}/`;
14856
14857
  if (method === FormMethod.PUT && videomail.key) url += videomail.key;
14857
14858
  try {
14858
14859
  const request = await client_default()(method, url).query(queryParams).set("Timezone-Id", this.timezoneId).withCredentials().send(videomail).timeout(this.options.timeouts.connection);
@@ -15159,7 +15160,7 @@
15159
15160
  var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
15160
15161
  var styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
15161
15162
  var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
15162
- var main = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl");
15163
+ var main = __webpack_require__("./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");
15163
15164
  var main_options = {};
15164
15165
  main_options.styleTagTransform = styleTagTransform_default();
15165
15166
  main_options.setAttributes = setAttributesWithoutAttributes_default();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "13.7.8",
3
+ "version": "13.7.10",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -76,35 +76,35 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@chromatic-com/storybook": "5.0.1",
79
- "@eslint/config-inspector": "1.4.2",
79
+ "@eslint/config-inspector": "1.5.0",
80
80
  "@eslint/js": "9.39.2",
81
81
  "@rsbuild/plugin-node-polyfill": "1.4.4",
82
- "@rsbuild/plugin-stylus": "1.3.0",
82
+ "@rsbuild/plugin-stylus": "1.3.1",
83
83
  "@rsdoctor/rspack-plugin": "1.5.3",
84
- "@rslib/core": "0.19.6",
85
- "@storybook/addon-a11y": "10.2.15",
86
- "@storybook/addon-docs": "10.2.15",
87
- "@storybook/addon-links": "10.2.15",
88
- "@storybook/html": "10.2.15",
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",
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.9",
95
+ "@vitest/eslint-plugin": "1.6.11",
96
96
  "audit-ci": "7.1.0",
97
97
  "chromatic": "15.2.0",
98
98
  "cross-env": "10.1.0",
99
99
  "eslint": "9.39.2",
100
100
  "eslint-import-resolver-typescript": "4.4.4",
101
101
  "eslint-plugin-de-morgan": "2.1.1",
102
- "eslint-plugin-depend": "1.4.0",
103
- "eslint-plugin-import-x": "4.16.1",
102
+ "eslint-plugin-depend": "1.5.0",
103
+ "eslint-plugin-import-x": "4.16.2",
104
104
  "eslint-plugin-markdownlint": "0.9.0",
105
- "eslint-plugin-package-json": "0.89.2",
105
+ "eslint-plugin-package-json": "0.90.1",
106
106
  "eslint-plugin-promise": "7.2.1",
107
- "eslint-plugin-regexp": "3.0.0",
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",
@@ -114,15 +114,15 @@
114
114
  "prettier": "3.8.1",
115
115
  "prettier-plugin-curly": "0.4.1",
116
116
  "prettier-plugin-jsdoc": "1.8.0",
117
- "prettier-plugin-packagejson": "3.0.1",
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.15",
121
- "storybook-html-rsbuild": "3.2.2",
120
+ "storybook": "10.2.17",
121
+ "storybook-html-rsbuild": "3.3.2",
122
122
  "type-fest": "5.4.4",
123
123
  "typescript": "5.9.3",
124
124
  "typescript-eslint": "8.56.1",
125
- "vitest": "4.0.18"
125
+ "vitest": "4.1.0"
126
126
  },
127
127
  "engines": {
128
128
  "node": "^24.13.0",