wt-front-shared 1.0.71 → 1.0.73

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.
@@ -1,12 +1,14 @@
1
1
  import { Actions } from '@ngrx/effects';
2
2
  import { Store } from '@ngrx/store';
3
3
  import { SharedState } from "../index";
4
+ import { AppConfig } from '../../../models';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class MainEffects {
6
7
  protected actions$: Actions;
7
8
  protected store: Store<SharedState>;
9
+ private config;
8
10
  notificationAdd$: import("rxjs").Observable<import("@ngrx/store").Action> & import("@ngrx/effects").CreateEffectMetadata;
9
- constructor(actions$: Actions, store: Store<SharedState>);
11
+ constructor(actions$: Actions, store: Store<SharedState>, config: AppConfig);
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<MainEffects, never>;
11
13
  static ɵprov: i0.ɵɵInjectableDeclaration<MainEffects>;
12
14
  }
@@ -29,6 +29,7 @@ export declare class HeadersInterceptor implements HttpInterceptor {
29
29
  private updateRequestData;
30
30
  private updateStaticData;
31
31
  private handlePublicationMessagesAndFiles;
32
+ private getDomainByUrl;
32
33
  private handle401Error;
33
34
  private checkPublicationMessages;
34
35
  private checkPublishErrors;
@@ -8,4 +8,5 @@ export interface AppConfig {
8
8
  roles?: {
9
9
  [key: string]: number;
10
10
  };
11
+ env?: string;
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wt-front-shared",
3
- "version": "1.0.71",
3
+ "version": "1.0.73",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"