videomail-client 10.0.14 → 10.0.16

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.
Files changed (66) hide show
  1. package/dist/{index.cjs → cjs/index.cjs} +4 -4
  2. package/dist/{index.js → esm/index.js} +4 -4
  3. package/dist/{types → esm/types}/error.d.ts +1 -7
  4. package/dist/umd/index.js +8831 -0
  5. package/package.json +23 -22
  6. /package/dist/{client.d.ts → esm/client.d.ts} +0 -0
  7. /package/dist/{constants.d.ts → esm/constants.d.ts} +0 -0
  8. /package/dist/{index.d.ts → esm/index.d.ts} +0 -0
  9. /package/dist/{options.d.ts → esm/options.d.ts} +0 -0
  10. /package/dist/{resource.d.ts → esm/resource.d.ts} +0 -0
  11. /package/dist/{types → esm/types}/DeepPartial.d.ts +0 -0
  12. /package/dist/{types → esm/types}/RecordingStats.d.ts +0 -0
  13. /package/dist/{types → esm/types}/VideoFormat.d.ts +0 -0
  14. /package/dist/{types → esm/types}/VideoType.d.ts +0 -0
  15. /package/dist/{types → esm/types}/Videomail.d.ts +0 -0
  16. /package/dist/{types → esm/types}/env.d.ts +0 -0
  17. /package/dist/{types → esm/types}/events/index.d.ts +0 -0
  18. /package/dist/{types → esm/types}/options.d.ts +0 -0
  19. /package/dist/{util → esm/util}/Browser.d.ts +0 -0
  20. /package/dist/{util → esm/util}/CollectLogger.d.ts +0 -0
  21. /package/dist/{util → esm/util}/Despot.d.ts +0 -0
  22. /package/dist/{util → esm/util}/error/HTTPError.d.ts +0 -0
  23. /package/dist/{util → esm/util}/error/VideomailError.d.ts +0 -0
  24. /package/dist/{util → esm/util}/error/createError.d.ts +0 -0
  25. /package/dist/{util → esm/util}/getBrowser.d.ts +0 -0
  26. /package/dist/{util → esm/util}/getNodeEnv.d.ts +0 -0
  27. /package/dist/{util → esm/util}/html/adjustButton.d.ts +0 -0
  28. /package/dist/{util → esm/util}/html/dimensions/calculateHeight.d.ts +0 -0
  29. /package/dist/{util → esm/util}/html/dimensions/calculateWidth.d.ts +0 -0
  30. /package/dist/{util → esm/util}/html/dimensions/figureMinHeight.d.ts +0 -0
  31. /package/dist/{util → esm/util}/html/dimensions/getOuterWidth.d.ts +0 -0
  32. /package/dist/{util → esm/util}/html/dimensions/getRatio.d.ts +0 -0
  33. /package/dist/{util → esm/util}/html/dimensions/limitHeight.d.ts +0 -0
  34. /package/dist/{util → esm/util}/html/dimensions/limitWidth.d.ts +0 -0
  35. /package/dist/{util → esm/util}/html/disableElement.d.ts +0 -0
  36. /package/dist/{util → esm/util}/html/enableElement.d.ts +0 -0
  37. /package/dist/{util → esm/util}/html/hideElement.d.ts +0 -0
  38. /package/dist/{util → esm/util}/html/isNotButton.d.ts +0 -0
  39. /package/dist/{util → esm/util}/html/isShown.d.ts +0 -0
  40. /package/dist/{util → esm/util}/html/media/AudioRecorder.d.ts +0 -0
  41. /package/dist/{util → esm/util}/html/media/canPlayType.d.ts +0 -0
  42. /package/dist/{util → esm/util}/html/media/getFirstVideoTrack.d.ts +0 -0
  43. /package/dist/{util → esm/util}/html/media/mediaEvents.d.ts +0 -0
  44. /package/dist/{util → esm/util}/html/showElement.d.ts +0 -0
  45. /package/dist/{util → esm/util}/isProductionMode.d.ts +0 -0
  46. /package/dist/{util → esm/util}/isPromise.d.ts +0 -0
  47. /package/dist/{util → esm/util}/isTest.d.ts +0 -0
  48. /package/dist/{util → esm/util}/options/audio.d.ts +0 -0
  49. /package/dist/{util → esm/util}/options/mergeWithDefaultOptions.d.ts +0 -0
  50. /package/dist/{util → esm/util}/pad.d.ts +0 -0
  51. /package/dist/{util → esm/util}/pretty.d.ts +0 -0
  52. /package/dist/{util → esm/util}/trimEmail.d.ts +0 -0
  53. /package/dist/{wrappers → esm/wrappers}/buttons.d.ts +0 -0
  54. /package/dist/{wrappers → esm/wrappers}/container.d.ts +0 -0
  55. /package/dist/{wrappers → esm/wrappers}/form.d.ts +0 -0
  56. /package/dist/{wrappers → esm/wrappers}/visuals/inside/recorder/countdown.d.ts +0 -0
  57. /package/dist/{wrappers → esm/wrappers}/visuals/inside/recorder/facingMode.d.ts +0 -0
  58. /package/dist/{wrappers → esm/wrappers}/visuals/inside/recorder/pausedNote.d.ts +0 -0
  59. /package/dist/{wrappers → esm/wrappers}/visuals/inside/recorder/recordNote.d.ts +0 -0
  60. /package/dist/{wrappers → esm/wrappers}/visuals/inside/recorder/recordTimer.d.ts +0 -0
  61. /package/dist/{wrappers → esm/wrappers}/visuals/inside/recorderInsides.d.ts +0 -0
  62. /package/dist/{wrappers → esm/wrappers}/visuals/notifier.d.ts +0 -0
  63. /package/dist/{wrappers → esm/wrappers}/visuals/recorder.d.ts +0 -0
  64. /package/dist/{wrappers → esm/wrappers}/visuals/replay.d.ts +0 -0
  65. /package/dist/{wrappers → esm/wrappers}/visuals/userMedia.d.ts +0 -0
  66. /package/dist/{wrappers → esm/wrappers}/visuals.d.ts +0 -0
@@ -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.14"
17814
+ i8: "10.0.16"
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) {
@@ -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.14"
5593
+ i8: "10.0.16"
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) {
@@ -13,13 +13,7 @@ export interface VideomailErrorData {
13
13
  code?: string | undefined;
14
14
  status?: number | undefined;
15
15
  stack?: string | undefined;
16
- errConstraint?: string | undefined;
17
- errConstructorName?: string | undefined;
18
- errName?: string | undefined;
19
- errNo?: number | undefined;
20
- errType?: string | undefined;
21
- errTarget?: EventTarget | null;
22
- event?: Event | undefined;
16
+ errStringified?: string | undefined;
23
17
  eventStringified?: string | undefined;
24
18
  }
25
19
  export interface FullVideomailErrorData extends VideomailErrorData {