videomail-client 13.1.0 → 13.1.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.
@@ -10664,7 +10664,7 @@ var __webpack_exports__ = {};
10664
10664
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10665
10665
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10666
10666
  var package_namespaceObject = {
10667
- rE: "13.1.0"
10667
+ rE: "13.1.1"
10668
10668
  };
10669
10669
  var defined = __webpack_require__("./node_modules/defined/index.js");
10670
10670
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -14421,7 +14421,7 @@ var __webpack_exports__ = {};
14421
14421
  if (name) {
14422
14422
  let value = videomail[name];
14423
14423
  const tagName = formControl.tagName;
14424
- if (this.options.callbacks.adjustFormValueBeforePopulating) value = this.options.callbacks.adjustFormValueBeforePopulating(name, videomail);
14424
+ if (this.options.callbacks.adjustFormValueBeforePopulating) value = this.options.callbacks.adjustFormValueBeforePopulating(name, value, videomail);
14425
14425
  switch(tagName){
14426
14426
  case "INPUT":
14427
14427
  {
package/dist/esm/index.js CHANGED
@@ -3606,7 +3606,7 @@ const constants = {
3606
3606
  }
3607
3607
  };
3608
3608
  var package_namespaceObject = {
3609
- rE: "13.1.0"
3609
+ rE: "13.1.1"
3610
3610
  };
3611
3611
  function canPlayType_canPlayType(video, type) {
3612
3612
  const canPlayType = video.canPlayType(`video/${type}`);
@@ -4072,7 +4072,7 @@ class Form extends util_Despot {
4072
4072
  if (name) {
4073
4073
  let value = videomail[name];
4074
4074
  const tagName = formControl.tagName;
4075
- if (this.options.callbacks.adjustFormValueBeforePopulating) value = this.options.callbacks.adjustFormValueBeforePopulating(name, videomail);
4075
+ if (this.options.callbacks.adjustFormValueBeforePopulating) value = this.options.callbacks.adjustFormValueBeforePopulating(name, value, videomail);
4076
4076
  switch(tagName){
4077
4077
  case "INPUT":
4078
4078
  {
@@ -99,7 +99,7 @@ export interface VideomailClientOptions {
99
99
  loadUserMediaOnRecord: boolean;
100
100
  callbacks: {
101
101
  adjustFormDataBeforePosting?: undefined | ((videomail: PartialVideomail) => PartialVideomail);
102
- adjustFormValueBeforePopulating?: undefined | ((name: string, videomail: Videomail) => string);
102
+ adjustFormValueBeforePopulating?: undefined | ((name: string, value: any, videomail: Videomail) => string);
103
103
  };
104
104
  defaults: {
105
105
  from?: string | undefined;
package/dist/umd/index.js CHANGED
@@ -10670,7 +10670,7 @@
10670
10670
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10671
10671
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10672
10672
  var package_namespaceObject = {
10673
- rE: "13.1.0"
10673
+ rE: "13.1.1"
10674
10674
  };
10675
10675
  var defined = __webpack_require__("./node_modules/defined/index.js");
10676
10676
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -14407,7 +14407,7 @@
14407
14407
  if (name) {
14408
14408
  let value = videomail[name];
14409
14409
  const tagName = formControl.tagName;
14410
- if (this.options.callbacks.adjustFormValueBeforePopulating) value = this.options.callbacks.adjustFormValueBeforePopulating(name, videomail);
14410
+ if (this.options.callbacks.adjustFormValueBeforePopulating) value = this.options.callbacks.adjustFormValueBeforePopulating(name, value, videomail);
14411
14411
  switch(tagName){
14412
14412
  case "INPUT":
14413
14413
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "13.1.0",
3
+ "version": "13.1.1",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",