taxtank-core 0.9.0 → 0.9.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.
@@ -11846,6 +11846,7 @@
11846
11846
  */
11847
11847
  TransactionService.prototype.listenEvents = function () {
11848
11848
  this.listenDepreciationChange();
11849
+ this.listenPropertyShareUpdate();
11849
11850
  };
11850
11851
  /**
11851
11852
  * get list of all user's TaxTank transactions
@@ -12122,6 +12123,13 @@
12122
12123
  });
12123
12124
  });
12124
12125
  };
12126
+ /**
12127
+ * Listen to EventDispatcherService event related to Property Share changing
12128
+ */
12129
+ TransactionService.prototype.listenPropertyShareUpdate = function () {
12130
+ var _this = this;
12131
+ this.eventDispatcherService.on(exports.AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(function () { return _this.resetCache(); });
12132
+ };
12125
12133
  return TransactionService;
12126
12134
  }(RestService));
12127
12135
  TransactionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: TransactionService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });