videomail-client 15.0.2 → 15.1.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.
@@ -10920,7 +10920,7 @@ var __webpack_exports__ = {};
10920
10920
  var client = __webpack_require__(5734);
10921
10921
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10922
10922
  var package_namespaceObject = {
10923
- rE: "15.0.2"
10923
+ rE: "15.1.0"
10924
10924
  };
10925
10925
  function isAudioEnabled(options) {
10926
10926
  return Boolean(options.audio.enabled);
@@ -17944,12 +17944,12 @@ var __webpack_exports__ = {};
17944
17944
  }
17945
17945
  getAvgInterval() {
17946
17946
  const intervalSum = this.getIntervalSum();
17947
- if (!intervalSum) return;
17947
+ if (void 0 === intervalSum || intervalSum <= 0) return;
17948
17948
  return intervalSum / this.framesCount;
17949
17949
  }
17950
17950
  getAvgFps() {
17951
17951
  const intervalSum = this.getIntervalSum();
17952
- if (!intervalSum) return;
17952
+ if (void 0 === intervalSum || intervalSum <= 0) return;
17953
17953
  return this.framesCount / intervalSum * 1000;
17954
17954
  }
17955
17955
  getRecordingStats() {
package/dist/esm/index.js CHANGED
@@ -3620,7 +3620,7 @@ const constants = {
3620
3620
  }
3621
3621
  };
3622
3622
  var package_namespaceObject = {
3623
- rE: "15.0.2"
3623
+ rE: "15.1.0"
3624
3624
  };
3625
3625
  function isAudioEnabled(options) {
3626
3626
  return Boolean(options.audio.enabled);
@@ -7014,12 +7014,12 @@ class Recorder extends util_Despot {
7014
7014
  }
7015
7015
  getAvgInterval() {
7016
7016
  const intervalSum = this.getIntervalSum();
7017
- if (!intervalSum) return;
7017
+ if (void 0 === intervalSum || intervalSum <= 0) return;
7018
7018
  return intervalSum / this.framesCount;
7019
7019
  }
7020
7020
  getAvgFps() {
7021
7021
  const intervalSum = this.getIntervalSum();
7022
- if (!intervalSum) return;
7022
+ if (void 0 === intervalSum || intervalSum <= 0) return;
7023
7023
  return this.framesCount / intervalSum * 1000;
7024
7024
  }
7025
7025
  getRecordingStats() {
package/dist/umd/index.js CHANGED
@@ -10926,7 +10926,7 @@
10926
10926
  var client = __webpack_require__(5734);
10927
10927
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10928
10928
  var package_namespaceObject = {
10929
- rE: "15.0.2"
10929
+ rE: "15.1.0"
10930
10930
  };
10931
10931
  function isAudioEnabled(options) {
10932
10932
  return Boolean(options.audio.enabled);
@@ -17705,12 +17705,12 @@
17705
17705
  }
17706
17706
  getAvgInterval() {
17707
17707
  const intervalSum = this.getIntervalSum();
17708
- if (!intervalSum) return;
17708
+ if (void 0 === intervalSum || intervalSum <= 0) return;
17709
17709
  return intervalSum / this.framesCount;
17710
17710
  }
17711
17711
  getAvgFps() {
17712
17712
  const intervalSum = this.getIntervalSum();
17713
- if (!intervalSum) return;
17713
+ if (void 0 === intervalSum || intervalSum <= 0) return;
17714
17714
  return this.framesCount / intervalSum * 1000;
17715
17715
  }
17716
17716
  getRecordingStats() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "15.0.2",
3
+ "version": "15.1.0",
4
4
  "description": "A wicked npm package to record videos directly in the browser, for Deaf and Sign Language!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -75,36 +75,36 @@
75
75
  "websocket-stream": "5.5.2"
76
76
  },
77
77
  "devDependencies": {
78
- "@chromatic-com/storybook": "5.2.1",
79
- "@eslint/config-inspector": "3.1.1",
78
+ "@chromatic-com/storybook": "5.3.0",
79
+ "@eslint/config-inspector": "3.2.0",
80
80
  "@eslint/js": "10.0.1",
81
81
  "@rsbuild/plugin-node-polyfill": "1.4.6",
82
82
  "@rsbuild/plugin-stylus": "2.0.1",
83
- "@rsdoctor/rspack-plugin": "1.6.1",
83
+ "@rsdoctor/rspack-plugin": "1.6.2",
84
84
  "@rslib/core": "0.23.2",
85
- "@storybook/addon-a11y": "10.5.5",
86
- "@storybook/addon-docs": "10.5.5",
87
- "@storybook/addon-links": "10.5.5",
88
- "@storybook/html": "10.5.5",
89
- "@tsconfig/node26": "26.0.0",
85
+ "@storybook/addon-a11y": "10.5.9",
86
+ "@storybook/addon-docs": "10.5.9",
87
+ "@storybook/addon-links": "10.5.9",
88
+ "@storybook/html": "10.5.9",
89
+ "@tsconfig/node26": "26.0.1",
90
90
  "@tsconfig/strictest": "2.0.8",
91
91
  "@types/defined": "1.0.2",
92
- "@types/node": "26.1.2",
92
+ "@types/node": "26.2.0",
93
93
  "@types/superagent": "8.1.11",
94
94
  "@types/ua-parser-js": "0.7.39",
95
- "@vitest/eslint-plugin": "1.6.24",
95
+ "@vitest/eslint-plugin": "1.6.27",
96
96
  "audit-ci": "7.1.0",
97
- "chromatic": "18.1.0",
97
+ "chromatic": "18.2.0",
98
98
  "cross-env": "10.1.0",
99
- "eslint": "10.8.0",
99
+ "eslint": "10.8.1",
100
100
  "eslint-import-resolver-typescript": "4.4.5",
101
101
  "eslint-plugin-de-morgan": "2.1.3",
102
102
  "eslint-plugin-depend": "1.5.0",
103
103
  "eslint-plugin-import-x": "4.17.1",
104
- "eslint-plugin-package-json": "1.6.2",
105
- "eslint-plugin-regexp": "3.1.1",
104
+ "eslint-plugin-package-json": "1.7.1",
105
+ "eslint-plugin-regexp": "3.2.0",
106
106
  "eslint-plugin-simple-import-sort": "14.0.0",
107
- "globals": "17.8.0",
107
+ "globals": "17.11.0",
108
108
  "jsdom": "30.0.1",
109
109
  "msw": "2.15.0",
110
110
  "msw-storybook-addon": "2.0.7",
@@ -113,12 +113,12 @@
113
113
  "prettier-plugin-jsdoc": "1.8.1",
114
114
  "prettier-plugin-packagejson": "3.0.2",
115
115
  "prettier-plugin-sh": "0.19.0",
116
- "release-it": "21.0.0",
117
- "storybook": "10.5.5",
118
- "storybook-html-rsbuild": "3.3.4",
116
+ "release-it": "21.0.2",
117
+ "storybook": "10.5.9",
118
+ "storybook-html-rsbuild": "3.4.2",
119
119
  "type-fest": "5.8.0",
120
120
  "typescript": "6.0.3",
121
- "typescript-eslint": "8.65.0",
121
+ "typescript-eslint": "8.67.0",
122
122
  "vitest": "4.1.10"
123
123
  },
124
124
  "engines": {