sf-i-events 1.0.786 → 1.0.787

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.786",
4
+ "version": "1.0.787",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/sf-i-events.js CHANGED
@@ -16544,7 +16544,7 @@ let SfIEvents = class SfIEvents extends LitElement {
16544
16544
  }
16545
16545
  else {
16546
16546
  const jsonRespose = JSON.parse(xhr.responseText);
16547
- this.setError(jsonRespose.error);
16547
+ this.setError(jsonRespose.body.message);
16548
16548
  }
16549
16549
  };
16550
16550
  this.uploadReportsReviewsBulk = async (bulkBody) => {
@@ -16560,7 +16560,7 @@ let SfIEvents = class SfIEvents extends LitElement {
16560
16560
  }
16561
16561
  else {
16562
16562
  const jsonRespose = JSON.parse(xhr.responseText);
16563
- this.setError(jsonRespose.error);
16563
+ this.setError(jsonRespose.body.message);
16564
16564
  }
16565
16565
  };
16566
16566
  this.uploadReviewsBulk = async (bulkBody) => {
@@ -16576,7 +16576,7 @@ let SfIEvents = class SfIEvents extends LitElement {
16576
16576
  }
16577
16577
  else {
16578
16578
  const jsonRespose = JSON.parse(xhr.responseText);
16579
- this.setError(jsonRespose.error);
16579
+ this.setError(jsonRespose.body.message);
16580
16580
  }
16581
16581
  };
16582
16582
  this.uploadReport = async (entityId, locationId, mmddyyyy, eventid, comments, doc, docs, event, reportformatvalues = "", reportformatschema = "", module = "events") => {
@@ -16621,7 +16621,7 @@ let SfIEvents = class SfIEvents extends LitElement {
16621
16621
  }
16622
16622
  else {
16623
16623
  const jsonRespose = JSON.parse(xhr.responseText);
16624
- this.setError(jsonRespose.error);
16624
+ this.setError(jsonRespose.body.message);
16625
16625
  }
16626
16626
  };
16627
16627
  this.uploadReportsBulk = async (bulkBody, showSuccess = true) => {
@@ -16641,7 +16641,7 @@ let SfIEvents = class SfIEvents extends LitElement {
16641
16641
  }
16642
16642
  else {
16643
16643
  const jsonRespose = JSON.parse(xhr.responseText);
16644
- this.setError(jsonRespose.error);
16644
+ this.setError(jsonRespose.body.message);
16645
16645
  }
16646
16646
  };
16647
16647
  this.uploadMapping = async () => {
@@ -22045,7 +22045,7 @@ export class SfIEvents extends LitElement {
22045
22045
 
22046
22046
  } else {
22047
22047
  const jsonRespose = JSON.parse(xhr.responseText);
22048
- this.setError(jsonRespose.error);
22048
+ this.setError(jsonRespose.body.message);
22049
22049
  }
22050
22050
  }
22051
22051
  uploadReportsReviewsBulk = async (bulkBody: any) => {
@@ -22062,7 +22062,7 @@ export class SfIEvents extends LitElement {
22062
22062
 
22063
22063
  } else {
22064
22064
  const jsonRespose = JSON.parse(xhr.responseText);
22065
- this.setError(jsonRespose.error);
22065
+ this.setError(jsonRespose.body.message);
22066
22066
  }
22067
22067
  }
22068
22068
  uploadReviewsBulk = async (bulkBody: any) => {
@@ -22079,7 +22079,7 @@ export class SfIEvents extends LitElement {
22079
22079
 
22080
22080
  } else {
22081
22081
  const jsonRespose = JSON.parse(xhr.responseText);
22082
- this.setError(jsonRespose.error);
22082
+ this.setError(jsonRespose.body.message);
22083
22083
  }
22084
22084
  }
22085
22085
 
@@ -22129,7 +22129,7 @@ export class SfIEvents extends LitElement {
22129
22129
 
22130
22130
  } else {
22131
22131
  const jsonRespose = JSON.parse(xhr.responseText);
22132
- this.setError(jsonRespose.error);
22132
+ this.setError(jsonRespose.body.message);
22133
22133
  }
22134
22134
  }
22135
22135
 
@@ -22151,7 +22151,7 @@ export class SfIEvents extends LitElement {
22151
22151
 
22152
22152
  } else {
22153
22153
  const jsonRespose = JSON.parse(xhr.responseText);
22154
- this.setError(jsonRespose.error);
22154
+ this.setError(jsonRespose.body.message);
22155
22155
  }
22156
22156
  }
22157
22157