videomail-client 11.0.0 → 11.0.2

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.
@@ -1,4 +1,157 @@
1
1
  var __webpack_modules__ = {
2
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[12].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[12].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[12].use[3]!./src/styles/main.styl": function(module, __webpack_exports__, __webpack_require__) {
3
+ "use strict";
4
+ __webpack_require__.d(__webpack_exports__, {
5
+ A: ()=>__WEBPACK_DEFAULT_EXPORT__
6
+ });
7
+ var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
8
+ var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
9
+ var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/api.js");
10
+ var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1__);
11
+ var ___CSS_LOADER_EXPORT___ = _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1___default()(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());
12
+ ___CSS_LOADER_EXPORT___.push([
13
+ module.id,
14
+ `@keyframes blink {
15
+ 0% {
16
+ opacity: .9;
17
+ }
18
+
19
+ 35% {
20
+ opacity: .9;
21
+ }
22
+
23
+ 50% {
24
+ opacity: .1;
25
+ }
26
+
27
+ 85% {
28
+ opacity: .1;
29
+ }
30
+
31
+ 100% {
32
+ opacity: .9;
33
+ }
34
+ }
35
+
36
+ .videomail .visuals {
37
+ position: relative;
38
+ }
39
+
40
+ .videomail .visuals video.replay {
41
+ width: 100%;
42
+ height: 100%;
43
+ }
44
+
45
+ .videomail .countdown, .videomail .recordTimer, .videomail .recordNote, .videomail .pausedHeader, .videomail .pausedHint {
46
+ height: auto;
47
+ margin: 0;
48
+ }
49
+
50
+ .videomail .countdown, .videomail .recordTimer, .videomail .recordNote, .videomail .paused, .videomail .facingMode, .videomail noscript {
51
+ z-index: 100;
52
+ position: absolute;
53
+ }
54
+
55
+ .videomail .countdown, .videomail .recordTimer, .videomail .recordNote, .videomail .pausedHeader, .videomail .pausedHint, .videomail noscript {
56
+ font-weight: bold;
57
+ }
58
+
59
+ .videomail .countdown, .videomail .paused, .videomail noscript {
60
+ width: 100%;
61
+ top: 50%;
62
+ transform: translateY(-50%);
63
+ }
64
+
65
+ .videomail .pausedHeader, .videomail .pausedHint, .videomail .countdown {
66
+ text-align: center;
67
+ letter-spacing: 4px;
68
+ text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
69
+ }
70
+
71
+ .videomail .pausedHeader, .videomail .countdown {
72
+ opacity: .9;
73
+ font-size: 460%;
74
+ }
75
+
76
+ .videomail .pausedHint {
77
+ font-size: 150%;
78
+ }
79
+
80
+ .videomail .facingMode {
81
+ color: rgba(245, 245, 245, .9);
82
+ z-index: 10;
83
+ background: rgba(30, 30, 30, .5);
84
+ border: none;
85
+ outline: none;
86
+ padding: .1em .3em;
87
+ font-family: monospace;
88
+ font-size: 1.2em;
89
+ transition: all .2s;
90
+ bottom: .6em;
91
+ right: .7em;
92
+ }
93
+
94
+ .videomail .facingMode:hover {
95
+ cursor: pointer;
96
+ background: rgba(50, 50, 50, .7);
97
+ }
98
+
99
+ .videomail .recordTimer, .videomail .recordNote {
100
+ color: #00d814;
101
+ opacity: .9;
102
+ background: rgba(10, 10, 10, .8);
103
+ padding: .3em .4em;
104
+ font-family: monospace;
105
+ transition: all 1s;
106
+ right: .7em;
107
+ }
108
+
109
+ .videomail .recordTimer.near, .videomail .recordNote.near {
110
+ color: #eb9369;
111
+ }
112
+
113
+ .videomail .recordTimer.nigh, .videomail .recordNote.nigh {
114
+ color: #ea4b2a;
115
+ }
116
+
117
+ .videomail .recordTimer {
118
+ top: .7em;
119
+ }
120
+
121
+ .videomail .recordNote {
122
+ top: 3.6em;
123
+ }
124
+
125
+ .videomail .recordNote:before {
126
+ content: "REC";
127
+ animation: 1s infinite blink;
128
+ }
129
+
130
+ .videomail .notifier {
131
+ box-sizing: border-box;
132
+ overflow: hidden;
133
+ }
134
+
135
+ .videomail .radioGroup {
136
+ display: block;
137
+ }
138
+
139
+ .videomail .radioGroup label {
140
+ cursor: pointer;
141
+ }
142
+
143
+ .videomail video {
144
+ margin-bottom: 0;
145
+ }
146
+
147
+ .videomail video.userMedia {
148
+ background-color: rgba(50, 50, 50, .1);
149
+ }
150
+ `,
151
+ ""
152
+ ]);
153
+ const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
154
+ },
2
155
  "./node_modules/animitter/index.js": function(module, exports1, __webpack_require__) {
3
156
  var EventEmitter = __webpack_require__("./node_modules/events/events.js").EventEmitter, inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js"), raf = __webpack_require__("./node_modules/raf/index.js"), methods;
4
157
  var defaultRAFObject = {
@@ -10029,166 +10182,13 @@ var __webpack_modules__ = {
10029
10182
  }
10030
10183
  }
10031
10184
  },
10032
- "./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[12].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[12].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[12].use[3]!./src/styles/main.styl": function(module, __webpack_exports__, __webpack_require__) {
10033
- "use strict";
10034
- __webpack_require__.d(__webpack_exports__, {
10035
- Z: ()=>__WEBPACK_DEFAULT_EXPORT__
10036
- });
10037
- var _node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
10038
- var _node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
10039
- var _node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/api.js");
10040
- var _node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(_node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1__);
10041
- var ___CSS_LOADER_EXPORT___ = _node_modules_rsbuild_core_compiled_css_loader_api_js__WEBPACK_IMPORTED_MODULE_1___default()(_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());
10042
- ___CSS_LOADER_EXPORT___.push([
10043
- module.id,
10044
- `@keyframes blink {
10045
- 0% {
10046
- opacity: .9;
10047
- }
10048
-
10049
- 35% {
10050
- opacity: .9;
10051
- }
10052
-
10053
- 50% {
10054
- opacity: .1;
10055
- }
10056
-
10057
- 85% {
10058
- opacity: .1;
10059
- }
10060
-
10061
- 100% {
10062
- opacity: .9;
10063
- }
10064
- }
10065
-
10066
- .videomail .visuals {
10067
- position: relative;
10068
- }
10069
-
10070
- .videomail .visuals video.replay {
10071
- width: 100%;
10072
- height: 100%;
10073
- }
10074
-
10075
- .videomail .countdown, .videomail .recordTimer, .videomail .recordNote, .videomail .pausedHeader, .videomail .pausedHint {
10076
- height: auto;
10077
- margin: 0;
10078
- }
10079
-
10080
- .videomail .countdown, .videomail .recordTimer, .videomail .recordNote, .videomail .paused, .videomail .facingMode, .videomail noscript {
10081
- z-index: 100;
10082
- position: absolute;
10083
- }
10084
-
10085
- .videomail .countdown, .videomail .recordTimer, .videomail .recordNote, .videomail .pausedHeader, .videomail .pausedHint, .videomail noscript {
10086
- font-weight: bold;
10087
- }
10088
-
10089
- .videomail .countdown, .videomail .paused, .videomail noscript {
10090
- width: 100%;
10091
- top: 50%;
10092
- transform: translateY(-50%);
10093
- }
10094
-
10095
- .videomail .pausedHeader, .videomail .pausedHint, .videomail .countdown {
10096
- text-align: center;
10097
- letter-spacing: 4px;
10098
- text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
10099
- }
10100
-
10101
- .videomail .pausedHeader, .videomail .countdown {
10102
- opacity: .9;
10103
- font-size: 460%;
10104
- }
10105
-
10106
- .videomail .pausedHint {
10107
- font-size: 150%;
10108
- }
10109
-
10110
- .videomail .facingMode {
10111
- color: rgba(245, 245, 245, .9);
10112
- z-index: 10;
10113
- background: rgba(30, 30, 30, .5);
10114
- border: none;
10115
- outline: none;
10116
- padding: .1em .3em;
10117
- font-family: monospace;
10118
- font-size: 1.2em;
10119
- transition: all .2s;
10120
- bottom: .6em;
10121
- right: .7em;
10122
- }
10123
-
10124
- .videomail .facingMode:hover {
10125
- cursor: pointer;
10126
- background: rgba(50, 50, 50, .7);
10127
- }
10128
-
10129
- .videomail .recordTimer, .videomail .recordNote {
10130
- color: #00d814;
10131
- opacity: .9;
10132
- background: rgba(10, 10, 10, .8);
10133
- padding: .3em .4em;
10134
- font-family: monospace;
10135
- transition: all 1s;
10136
- right: .7em;
10137
- }
10138
-
10139
- .videomail .recordTimer.near, .videomail .recordNote.near {
10140
- color: #eb9369;
10141
- }
10142
-
10143
- .videomail .recordTimer.nigh, .videomail .recordNote.nigh {
10144
- color: #ea4b2a;
10145
- }
10146
-
10147
- .videomail .recordTimer {
10148
- top: .7em;
10149
- }
10150
-
10151
- .videomail .recordNote {
10152
- top: 3.6em;
10153
- }
10154
-
10155
- .videomail .recordNote:before {
10156
- content: "REC";
10157
- animation: 1s infinite blink;
10158
- }
10159
-
10160
- .videomail .notifier {
10161
- box-sizing: border-box;
10162
- overflow: hidden;
10163
- }
10164
-
10165
- .videomail .radioGroup {
10166
- display: block;
10167
- }
10168
-
10169
- .videomail .radioGroup label {
10170
- cursor: pointer;
10171
- }
10172
-
10173
- .videomail video {
10174
- margin-bottom: 0;
10175
- }
10176
-
10177
- .videomail video.userMedia {
10178
- background-color: rgba(50, 50, 50, .1);
10179
- }
10180
- `,
10181
- ""
10182
- ]);
10183
- const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___;
10184
- },
10185
10185
  "?82dc": function() {},
10186
10186
  "?2927": function() {},
10187
10187
  "?7a90": function() {},
10188
10188
  "?aa23": function() {},
10189
10189
  "?9936": function() {},
10190
10190
  "?5f55": function() {},
10191
- "./node_modules/@rsbuild/core/compiled/css-loader/api.js": function(module) {
10191
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/api.js": function(module) {
10192
10192
  "use strict";
10193
10193
  module.exports = function(cssWithMappingToString) {
10194
10194
  var list = [];
@@ -10242,13 +10242,13 @@ var __webpack_modules__ = {
10242
10242
  return list;
10243
10243
  };
10244
10244
  },
10245
- "./node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js": function(module) {
10245
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js": function(module) {
10246
10246
  "use strict";
10247
10247
  module.exports = function(i) {
10248
10248
  return i[1];
10249
10249
  };
10250
10250
  },
10251
- "./node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js": function(module) {
10251
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js": function(module) {
10252
10252
  "use strict";
10253
10253
  var stylesInDOM = [];
10254
10254
  function getIndexByIdentifier(identifier) {
@@ -10327,7 +10327,7 @@ var __webpack_modules__ = {
10327
10327
  };
10328
10328
  };
10329
10329
  },
10330
- "./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js": function(module) {
10330
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js": function(module) {
10331
10331
  "use strict";
10332
10332
  var memo = {};
10333
10333
  function getTarget(target) {
@@ -10349,7 +10349,7 @@ var __webpack_modules__ = {
10349
10349
  }
10350
10350
  module.exports = insertBySelector;
10351
10351
  },
10352
- "./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js": function(module) {
10352
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js": function(module) {
10353
10353
  "use strict";
10354
10354
  function insertStyleElement(options) {
10355
10355
  var element = document.createElement("style");
@@ -10359,7 +10359,7 @@ var __webpack_modules__ = {
10359
10359
  }
10360
10360
  module.exports = insertStyleElement;
10361
10361
  },
10362
- "./node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js": function(module, __unused_webpack_exports, __webpack_require__) {
10362
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js": function(module, __unused_webpack_exports, __webpack_require__) {
10363
10363
  "use strict";
10364
10364
  function setAttributesWithoutAttributes(styleElement) {
10365
10365
  var nonce = __webpack_require__.nc;
@@ -10367,7 +10367,7 @@ var __webpack_modules__ = {
10367
10367
  }
10368
10368
  module.exports = setAttributesWithoutAttributes;
10369
10369
  },
10370
- "./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js": function(module) {
10370
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js": function(module) {
10371
10371
  "use strict";
10372
10372
  function apply(styleElement, options, obj) {
10373
10373
  var css = "";
@@ -10404,7 +10404,7 @@ var __webpack_modules__ = {
10404
10404
  }
10405
10405
  module.exports = domAPI;
10406
10406
  },
10407
- "./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js": function(module) {
10407
+ "./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js": function(module) {
10408
10408
  "use strict";
10409
10409
  function styleTagTransform(css, styleElement) {
10410
10410
  if (styleElement.styleSheet) styleElement.styleSheet.cssText = css;
@@ -10649,7 +10649,7 @@ var __webpack_exports__ = {};
10649
10649
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10650
10650
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10651
10651
  var package_namespaceObject = {
10652
- i8: "11.0.0"
10652
+ rE: "11.0.2"
10653
10653
  };
10654
10654
  var defined = __webpack_require__("./node_modules/defined/index.js");
10655
10655
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -14307,12 +14307,6 @@ var __webpack_exports__ = {};
14307
14307
  else obj[key] = value;
14308
14308
  return obj;
14309
14309
  }
14310
- var form_FormMethod = /*#__PURE__*/ function(FormMethod) {
14311
- FormMethod["POST"] = "post";
14312
- FormMethod["PUT"] = "put";
14313
- FormMethod["GET"] = "get";
14314
- return FormMethod;
14315
- }({});
14316
14310
  class Form extends util_Despot {
14317
14311
  getData() {
14318
14312
  return getFormData(this.formElement, {
@@ -14622,7 +14616,7 @@ var __webpack_exports__ = {};
14622
14616
  [constants.SITE_NAME_LABEL]: this.options.siteName
14623
14617
  };
14624
14618
  let url = `${this.options.baseUrl}/videomail/`;
14625
- if (method === form_FormMethod.PUT && videomail.key) url += videomail.key;
14619
+ if ("put" === method && videomail.key) url += videomail.key;
14626
14620
  try {
14627
14621
  const request = await client_default()(method, url).query(queryParams).set("Timezone-Id", this.timezoneId).withCredentials().send(videomail).timeout(this.options.timeouts.connection);
14628
14622
  return request;
@@ -14666,24 +14660,24 @@ var __webpack_exports__ = {};
14666
14660
  message: err.message,
14667
14661
  stack: err.stack,
14668
14662
  versions: {
14669
- videomailClient: package_namespaceObject.i8,
14663
+ videomailClient: package_namespaceObject.rE,
14670
14664
  videomailNinjaFormPlugin: null == (_this_options_versions = this.options.versions) ? void 0 : _this_options_versions.videomailNinjaFormPlugin
14671
14665
  }
14672
14666
  };
14673
- await client_default()(form_FormMethod.POST, url).query(queryParams).set("Timezone-Id", this.timezoneId).withCredentials().send(fullVideomailErrorData).timeout(this.options.timeouts.connection);
14667
+ await client_default()("post", url).query(queryParams).set("Timezone-Id", this.timezoneId).withCredentials().send(fullVideomailErrorData).timeout(this.options.timeouts.connection);
14674
14668
  } catch (exc) {
14675
14669
  console.error(exc);
14676
14670
  }
14677
14671
  }
14678
14672
  async post(videomail) {
14679
14673
  const newVideomail = this.applyDefaultValues(videomail);
14680
- newVideomail[constants.VERSION_LABEL] = package_namespaceObject.i8;
14674
+ newVideomail[constants.VERSION_LABEL] = package_namespaceObject.rE;
14681
14675
  try {
14682
14676
  let res;
14683
14677
  if (this.options.callbacks.adjustFormDataBeforePosting) {
14684
14678
  const adjustedVideomail = this.options.callbacks.adjustFormDataBeforePosting(newVideomail);
14685
- res = await this.write(form_FormMethod.POST, adjustedVideomail);
14686
- } else res = await this.write(form_FormMethod.POST, newVideomail);
14679
+ res = await this.write("post", adjustedVideomail);
14680
+ } else res = await this.write("post", newVideomail);
14687
14681
  return res;
14688
14682
  } catch (exc) {
14689
14683
  throw error_createError({
@@ -14693,7 +14687,7 @@ var __webpack_exports__ = {};
14693
14687
  }
14694
14688
  }
14695
14689
  async put(videomail) {
14696
- return await this.write(form_FormMethod.PUT, videomail);
14690
+ return await this.write("put", videomail);
14697
14691
  }
14698
14692
  async form(formData, url) {
14699
14693
  let formType;
@@ -14931,27 +14925,27 @@ var __webpack_exports__ = {};
14931
14925
  return newOptions;
14932
14926
  }
14933
14927
  const mergeWithDefaultOptions = mergeWithDefaultOptions_mergeWithDefaultOptions;
14934
- var injectStylesIntoStyleTag = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js");
14928
+ var injectStylesIntoStyleTag = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js");
14935
14929
  var injectStylesIntoStyleTag_default = /*#__PURE__*/ __webpack_require__.n(injectStylesIntoStyleTag);
14936
- var styleDomAPI = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js");
14930
+ var styleDomAPI = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js");
14937
14931
  var styleDomAPI_default = /*#__PURE__*/ __webpack_require__.n(styleDomAPI);
14938
- var insertBySelector = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js");
14932
+ var insertBySelector = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js");
14939
14933
  var insertBySelector_default = /*#__PURE__*/ __webpack_require__.n(insertBySelector);
14940
- var setAttributesWithoutAttributes = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js");
14934
+ var setAttributesWithoutAttributes = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js");
14941
14935
  var setAttributesWithoutAttributes_default = /*#__PURE__*/ __webpack_require__.n(setAttributesWithoutAttributes);
14942
- var insertStyleElement = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js");
14936
+ var insertStyleElement = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js");
14943
14937
  var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
14944
- var styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
14938
+ var styleTagTransform = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
14945
14939
  var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
14946
- var main = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[12].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[12].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[12].use[3]!./src/styles/main.styl");
14940
+ var main = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[12].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[12].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[12].use[3]!./src/styles/main.styl");
14947
14941
  var main_options = {};
14948
14942
  main_options.styleTagTransform = styleTagTransform_default();
14949
14943
  main_options.setAttributes = setAttributesWithoutAttributes_default();
14950
14944
  main_options.insert = insertBySelector_default().bind(null, "head");
14951
14945
  main_options.domAPI = styleDomAPI_default();
14952
14946
  main_options.insertStyleElement = insertStyleElement_default();
14953
- injectStylesIntoStyleTag_default()(main.Z, main_options);
14954
- main.Z && main.Z.locals && main.Z.locals;
14947
+ injectStylesIntoStyleTag_default()(main.A, main_options);
14948
+ main.A && main.A.locals && main.A.locals;
14955
14949
  var document_visibility = __webpack_require__("./node_modules/document-visibility/index.js");
14956
14950
  var document_visibility_default = /*#__PURE__*/ __webpack_require__.n(document_visibility);
14957
14951
  function limitHeight(height, options, calledFrom) {
@@ -18375,13 +18369,13 @@ var __webpack_exports__ = {};
18375
18369
  var _this_form;
18376
18370
  const videomailFormData = null == (_this_form = this.form) ? void 0 : _this_form.transformFormData(formInputs);
18377
18371
  if (!videomailFormData) throw new Error("No videomail form data defined");
18378
- if (method === form_FormMethod.POST) {
18372
+ if ("post" === method) {
18379
18373
  videomailFormData.recordingStats = this.visuals.getRecordingStats();
18380
18374
  videomailFormData.width = this.visuals.getRecorderWidth(true);
18381
18375
  videomailFormData.height = this.visuals.getRecorderHeight(true);
18382
18376
  return await this.resource.post(videomailFormData);
18383
18377
  }
18384
- if (method === form_FormMethod.PUT) return await this.resource.put(videomailFormData);
18378
+ if ("put" === method) return await this.resource.put(videomailFormData);
18385
18379
  throw error_createError({
18386
18380
  message: `Unsupported form method ${method}, unable to submit videomail.`,
18387
18381
  options: this.options
@@ -1,5 +1,7 @@
1
1
  import VideomailClient from "./client";
2
2
  import { Command, CommandArgs } from "./types/command";
3
+ import DeliveryRecord from "./types/DeliveryRecord";
4
+ import { EmailAddress, EmailAddresses } from "./types/EmailAddress";
3
5
  import { FullVideomailErrorData, VideomailErrorData } from "./types/error";
4
6
  import VideomailEvents from "./types/events";
5
7
  import { VideomailClientOptions } from "./types/options";
@@ -13,3 +15,5 @@ export type { VideomailClientOptions };
13
15
  export { VideomailClient, VideoType };
14
16
  export type { FullVideomailErrorData, PartialVideomail, VideomailErrorData };
15
17
  export type { Command, CommandArgs };
18
+ export type { DeliveryRecord };
19
+ export type { EmailAddress, EmailAddresses };