videomail-client 10.3.0 → 10.3.1

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.
@@ -14555,7 +14555,7 @@ var __webpack_exports__ = {};
14555
14555
  }
14556
14556
  const wrappers_form = Form;
14557
14557
  var package_namespaceObject = {
14558
- i8: "10.3.0"
14558
+ i8: "10.3.1"
14559
14559
  };
14560
14560
  function resource_define_property(obj, key, value) {
14561
14561
  if (key in obj) Object.defineProperty(obj, key, {
@@ -17129,8 +17129,8 @@ var __webpack_exports__ = {};
17129
17129
  }
17130
17130
  getAvgFps() {
17131
17131
  const intervalSum = this.getIntervalSum();
17132
- if (0 === intervalSum) return;
17133
- return this.framesCount / this.getIntervalSum() * 1000;
17132
+ if (0 === intervalSum || null == intervalSum) return;
17133
+ return this.framesCount / intervalSum * 1000;
17134
17134
  }
17135
17135
  getRecordingStats() {
17136
17136
  return this.recordingStats;
package/dist/esm/index.js CHANGED
@@ -4242,7 +4242,7 @@ class Form extends util_Despot {
4242
4242
  }
4243
4243
  const wrappers_form = Form;
4244
4244
  var package_namespaceObject = {
4245
- i8: "10.3.0"
4245
+ i8: "10.3.1"
4246
4246
  };
4247
4247
  function findOriginalExc(exc) {
4248
4248
  if (exc instanceof Error && "response" in exc) {
@@ -6615,8 +6615,8 @@ class Recorder extends util_Despot {
6615
6615
  }
6616
6616
  getAvgFps() {
6617
6617
  const intervalSum = this.getIntervalSum();
6618
- if (0 === intervalSum) return;
6619
- return this.framesCount / this.getIntervalSum() * 1000;
6618
+ if (0 === intervalSum || null == intervalSum) return;
6619
+ return this.framesCount / intervalSum * 1000;
6620
6620
  }
6621
6621
  getRecordingStats() {
6622
6622
  return this.recordingStats;
package/dist/umd/index.js CHANGED
@@ -14522,7 +14522,7 @@
14522
14522
  }
14523
14523
  const wrappers_form = Form;
14524
14524
  var package_namespaceObject = {
14525
- i8: "10.3.0"
14525
+ i8: "10.3.1"
14526
14526
  };
14527
14527
  function findOriginalExc(exc) {
14528
14528
  if (exc instanceof Error && "response" in exc) {
@@ -16973,8 +16973,8 @@
16973
16973
  }
16974
16974
  getAvgFps() {
16975
16975
  const intervalSum = this.getIntervalSum();
16976
- if (0 === intervalSum) return;
16977
- return this.framesCount / this.getIntervalSum() * 1000;
16976
+ if (0 === intervalSum || null == intervalSum) return;
16977
+ return this.framesCount / intervalSum * 1000;
16978
16978
  }
16979
16979
  getRecordingStats() {
16980
16980
  return this.recordingStats;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "10.3.0",
3
+ "version": "10.3.1",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",