@colijnit/product 256.1.1 → 256.1.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.
@@ -16,6 +16,7 @@ export declare class ProductConnectorAdapterService implements OnDestroy {
16
16
  articleConnector?: Articles;
17
17
  transactionConnector: Transaction;
18
18
  private _boFactory;
19
+ private _subs;
19
20
  constructor(_eventService: ProductEventService);
20
21
  ngOnDestroy(): void;
21
22
  initConnector(options: Options): Promise<void>;
@@ -31,8 +31,8 @@
31
31
  function Version() {
32
32
  this.name = "@colijnit/product";
33
33
  this.description = "Product detail page project for iOne";
34
- this.symVer = "256.1.1";
35
- this.publishDate = "31-10-2024 18:01:50";
34
+ this.symVer = "256.1.2";
35
+ this.publishDate = "8-11-2024 14:14:34";
36
36
  }
37
37
  return Version;
38
38
  }());
@@ -628,9 +628,10 @@
628
628
  this._eventService = _eventService;
629
629
  this.showLoader = new rxjs.Subject();
630
630
  this._boFactory = new businessObjectFactory.BusinessObjectFactory();
631
+ this._subs = [];
631
632
  }
632
633
  ProductConnectorAdapterService.prototype.ngOnDestroy = function () {
633
- this.articleConnector.showLoader.unsubscribe();
634
+ this._subs.forEach(function (s) { return s.unsubscribe(); });
634
635
  };
635
636
  ProductConnectorAdapterService.prototype.initConnector = function (options) {
636
637
  return __awaiter(this, void 0, void 0, function () {
@@ -643,7 +644,9 @@
643
644
  case 1:
644
645
  _a.sent();
645
646
  this.transactionConnector = new transaction.Transaction(options);
646
- this.articleConnector.showLoader.subscribe(function (value) { return _this.showLoader.next(value); });
647
+ this._subs.push(
648
+ // @ts-ignore
649
+ this.articleConnector.showLoader.subscribe(function (value) { return _this.showLoader.next(value); }));
647
650
  return [2 /*return*/];
648
651
  }
649
652
  });