tnx-shared 5.3.352 → 5.3.353

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.
@@ -3371,6 +3371,20 @@
3371
3371
  life: life
3372
3372
  });
3373
3373
  };
3374
+ NotifierService.prototype.showBlobError = function (error) {
3375
+ var _this = this;
3376
+ if (error instanceof Blob) {
3377
+ // Convert Blob to JSON Object if possible
3378
+ return error.text().then(function (text) {
3379
+ var errorObject = JSON.parse(text);
3380
+ return _this.showWarning(errorObject.message);
3381
+ });
3382
+ }
3383
+ else {
3384
+ // Return the error object directly
3385
+ return this.showException(null);
3386
+ }
3387
+ };
3374
3388
  NotifierService.prototype.genericShow = function (message, header, icon, acceptVisible, acceptLabel, acceptIcon, rejectLabel, rejectIcon, accept, reject, notifierType) {
3375
3389
  if (acceptLabel === void 0) { acceptLabel = ''; }
3376
3390
  if (acceptIcon === void 0) { acceptIcon = ''; }