videomail-client 13.7.8 → 13.7.9

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.8"
10829
+ rE: "13.7.9"
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);
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.8"
3572
+ rE: "13.7.9"
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);
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.8"
10835
+ rE: "13.7.9"
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "13.7.8",
3
+ "version": "13.7.9",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -76,16 +76,16 @@
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
82
  "@rsbuild/plugin-stylus": "1.3.0",
83
83
  "@rsdoctor/rspack-plugin": "1.5.3",
84
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",
85
+ "@storybook/addon-a11y": "10.2.16",
86
+ "@storybook/addon-docs": "10.2.16",
87
+ "@storybook/addon-links": "10.2.16",
88
+ "@storybook/html": "10.2.16",
89
89
  "@tsconfig/node24": "24.0.4",
90
90
  "@tsconfig/strictest": "2.0.8",
91
91
  "@types/defined": "1.0.2",
@@ -99,10 +99,10 @@
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",
102
+ "eslint-plugin-depend": "1.5.0",
103
103
  "eslint-plugin-import-x": "4.16.1",
104
104
  "eslint-plugin-markdownlint": "0.9.0",
105
- "eslint-plugin-package-json": "0.89.2",
105
+ "eslint-plugin-package-json": "0.89.4",
106
106
  "eslint-plugin-promise": "7.2.1",
107
107
  "eslint-plugin-regexp": "3.0.0",
108
108
  "eslint-plugin-security": "4.0.0",
@@ -114,10 +114,10 @@
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",
120
+ "storybook": "10.2.16",
121
121
  "storybook-html-rsbuild": "3.2.2",
122
122
  "type-fest": "5.4.4",
123
123
  "typescript": "5.9.3",