nuxeo-development-framework 3.9.7 → 3.9.8

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.
@@ -29142,23 +29142,24 @@
29142
29142
  *
29143
29143
  */
29144
29144
  function NotificationsService(_environment, _nuxeoService, _callApi, _http) {
29145
- var _this = _super.call(this, _environment, _nuxeoService) || this;
29145
+ var _this = this;
29146
+ var _a, _b;
29147
+ _this = _super.call(this, _environment, _nuxeoService) || this;
29146
29148
  _this._environment = _environment;
29147
29149
  _this._nuxeoService = _nuxeoService;
29148
29150
  _this._callApi = _callApi;
29149
29151
  _this._http = _http;
29150
29152
  _this.listenerObserver = new rxjs.Subject();
29151
- _this._nuxeoService.init().then(function (client) {
29152
- var _a, _b;
29153
- if ((_b = (_a = _this._nuxeoService.nuxeoClient) === null || _a === void 0 ? void 0 : _a.user) === null || _b === void 0 ? void 0 : _b.id) {
29154
- _this.socketConnect()
29155
- .pipe(operators.switchMap(function () { return _this.onMessage$; }), operators.takeUntil(_this._destroy$))
29156
- .subscribe(function (res) {
29157
- _this.listenerObserver.next(res);
29158
- });
29159
- }
29160
- });
29153
+ // this._nuxeoService.init().then((client) => {
29154
+ if ((_b = (_a = _this._nuxeoService.nuxeoClient) === null || _a === void 0 ? void 0 : _a.user) === null || _b === void 0 ? void 0 : _b.id) {
29155
+ _this.socketConnect()
29156
+ .pipe(operators.switchMap(function () { return _this.onMessage$; }), operators.takeUntil(_this._destroy$))
29157
+ .subscribe(function (res) {
29158
+ _this.listenerObserver.next(res);
29159
+ });
29160
+ }
29161
29161
  return _this;
29162
+ // });
29162
29163
  }
29163
29164
  Object.defineProperty(NotificationsService.prototype, "_tenantId", {
29164
29165
  get: function () {