videomail-client 10.0.15 → 10.0.17

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.
@@ -17811,7 +17811,7 @@ function __webpack_require__(moduleId) {
17811
17811
  var is_power_of_two = __webpack_require__("./node_modules/is-power-of-two/index.js");
17812
17812
  var is_power_of_two_default = /*#__PURE__*/ __webpack_require__.n(is_power_of_two);
17813
17813
  var package_namespaceObject = {
17814
- i8: "10.0.15"
17814
+ i8: "10.0.17"
17815
17815
  }; // CONCATENATED MODULE: ./src/types/env.ts
17816
17816
  // ... and these actually define the runtime mode of Node.js and are
17817
17817
  // set either in package.json, via Jest or in the Dockerfile
@@ -20078,7 +20078,6 @@ function __webpack_require__(moduleId) {
20078
20078
  if (!this.built) return;
20079
20079
  const e = null == params ? void 0 : params.e;
20080
20080
  this.options.logger.debug(`Visuals: unload(${e ? pretty(e) : ""})`);
20081
- util_Despot.removeAllListeners();
20082
20081
  this.recorder.unload(params);
20083
20082
  this.recorderInsides.unload();
20084
20083
  this.replay.unload(params);
@@ -20496,12 +20495,13 @@ function __webpack_require__(moduleId) {
20496
20495
  this.emit("UNLOADING");
20497
20496
  this.unloadChildren(params);
20498
20497
  this.hide();
20499
- util_Despot.removeAllListeners();
20500
- this.built = this.submitted = false;
20501
20498
  } catch (exc) {
20502
20499
  this.emit("ERROR", {
20503
20500
  exc
20504
20501
  });
20502
+ } finally{
20503
+ util_Despot.removeAllListeners();
20504
+ this.built = this.submitted = false;
20505
20505
  }
20506
20506
  }
20507
20507
  show(params) {
package/dist/esm/index.js CHANGED
@@ -5590,7 +5590,7 @@ function isPromise_isPromise(anything) {
5590
5590
  }
5591
5591
  /* ESM default export */ const isPromise = isPromise_isPromise;
5592
5592
  var package_namespaceObject = {
5593
- i8: "10.0.15"
5593
+ i8: "10.0.17"
5594
5594
  }; // CONCATENATED MODULE: ./src/types/env.ts
5595
5595
  // ... and these actually define the runtime mode of Node.js and are
5596
5596
  // set either in package.json, via Jest or in the Dockerfile
@@ -7809,7 +7809,6 @@ class Visuals extends util_Despot {
7809
7809
  if (!this.built) return;
7810
7810
  const e = params?.e;
7811
7811
  this.options.logger.debug(`Visuals: unload(${e ? pretty(e) : ""})`);
7812
- util_Despot.removeAllListeners();
7813
7812
  this.recorder.unload(params);
7814
7813
  this.recorderInsides.unload();
7815
7814
  this.replay.unload(params);
@@ -8216,12 +8215,13 @@ class Container extends util_Despot {
8216
8215
  this.emit("UNLOADING");
8217
8216
  this.unloadChildren(params);
8218
8217
  this.hide();
8219
- util_Despot.removeAllListeners();
8220
- this.built = this.submitted = false;
8221
8218
  } catch (exc) {
8222
8219
  this.emit("ERROR", {
8223
8220
  exc
8224
8221
  });
8222
+ } finally{
8223
+ util_Despot.removeAllListeners();
8224
+ this.built = this.submitted = false;
8225
8225
  }
8226
8226
  }
8227
8227
  show(params) {
@@ -14,6 +14,7 @@ export interface VideomailErrorData {
14
14
  status?: number | undefined;
15
15
  stack?: string | undefined;
16
16
  errStringified?: string | undefined;
17
+ event?: Event | undefined;
17
18
  eventStringified?: string | undefined;
18
19
  }
19
20
  export interface FullVideomailErrorData extends VideomailErrorData {
package/dist/umd/index.js CHANGED
@@ -5755,7 +5755,7 @@
5755
5755
  var external_is_power_of_two_ = __webpack_require__("is-power-of-two");
5756
5756
  var external_is_power_of_two_default = /*#__PURE__*/ __webpack_require__.n(external_is_power_of_two_);
5757
5757
  var package_namespaceObject = {
5758
- i8: "10.0.15"
5758
+ i8: "10.0.17"
5759
5759
  }; // CONCATENATED MODULE: ./src/util/getNodeEnv.ts
5760
5760
  function getNodeEnv() {
5761
5761
  return "production";
@@ -7972,7 +7972,6 @@
7972
7972
  if (!this.built) return;
7973
7973
  const e = params?.e;
7974
7974
  this.options.logger.debug(`Visuals: unload(${e ? pretty(e) : ""})`);
7975
- util_Despot.removeAllListeners();
7976
7975
  this.recorder.unload(params);
7977
7976
  this.recorderInsides.unload();
7978
7977
  this.replay.unload(params);
@@ -8379,12 +8378,13 @@
8379
8378
  this.emit("UNLOADING");
8380
8379
  this.unloadChildren(params);
8381
8380
  this.hide();
8382
- util_Despot.removeAllListeners();
8383
- this.built = this.submitted = false;
8384
8381
  } catch (exc) {
8385
8382
  this.emit("ERROR", {
8386
8383
  exc
8387
8384
  });
8385
+ } finally{
8386
+ util_Despot.removeAllListeners();
8387
+ this.built = this.submitted = false;
8388
8388
  }
8389
8389
  }
8390
8390
  show(params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "10.0.15",
3
+ "version": "10.0.17",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",