@colijnit/articleapi 256.1.14 → 256.1.15

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.
@@ -36,7 +36,6 @@ export declare class Articles {
36
36
  useLoginEncryption: boolean;
37
37
  languageCode: string;
38
38
  articles: IoneApiArticles;
39
- private readonly _subs;
40
39
  private _connector;
41
40
  private boFactory;
42
41
  constructor(options?: Options);
package/build/articles.js CHANGED
@@ -21,7 +21,6 @@ export class Articles {
21
21
  this.connectionResetInactivity = new Subject();
22
22
  this.useGroups = false;
23
23
  this.useLoginEncryption = false;
24
- this._subs = [];
25
24
  this.boFactory = new BusinessObjectFactory();
26
25
  if (options) {
27
26
  this.url = options.url ? options.url : '';
@@ -37,7 +36,9 @@ export class Articles {
37
36
  this.articles.connector = this._connector;
38
37
  this.articles.languageCode = this.languageCode;
39
38
  this.articles.branchNr = this.branch;
40
- this._subs.push(this._connector.showLoader.subscribe(value => this.showLoader.next(value)), this._connector.connectionAborted.subscribe(() => this.connectionAborted.next()), this._connector.connectionResetInactivity.subscribe(() => this._handleConnectionReset()));
39
+ this.showLoader = this._connector.showLoader;
40
+ this.connectionAborted = this._connector.connectionAborted;
41
+ this.connectionResetInactivity = this._connector.connectionResetInactivity;
41
42
  }
42
43
  destroy() {
43
44
  this._connector = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/articleapi",
3
- "version": "256.1.14",
3
+ "version": "256.1.15",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",