@stemy/ngx-utils 12.2.2 → 12.2.4

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,9 +1,11 @@
1
+ import { Injector } from "@angular/core";
1
2
  import { HttpClient } from "@angular/common/http";
2
3
  import { UniversalService } from "./universal.service";
3
4
  import { IConfigService, IConfiguration } from "../common-types";
4
5
  export declare class ConfigService implements IConfigService {
5
6
  readonly http: HttpClient;
6
7
  readonly universal: UniversalService;
8
+ readonly injector: Injector;
7
9
  readonly rootElement: any;
8
10
  protected baseConfig: IConfiguration;
9
11
  protected loadedConfig: IConfiguration;
@@ -13,7 +15,7 @@ export declare class ConfigService implements IConfigService {
13
15
  get load(): () => Promise<IConfiguration>;
14
16
  get config(): IConfiguration;
15
17
  get configUrl(): string;
16
- constructor(http: HttpClient, universal: UniversalService, rootElement: any, baseConfig?: IConfiguration, scriptParams?: any);
18
+ constructor(http: HttpClient, universal: UniversalService, injector: Injector, rootElement: any, baseConfig?: IConfiguration, scriptParams?: any);
17
19
  protected parseDomain(baseUrl: string): string;
18
20
  protected initService(): void;
19
21
  protected loadJson(): Promise<IConfiguration>;
@@ -3,7 +3,7 @@ export declare type IterateCallback = (value: any, key?: any) => void;
3
3
  export declare class ObjectUtils {
4
4
  static compare(a: any, b: any): number;
5
5
  static getProperties(obj: any): string[];
6
- static equals(a: any, b: any): boolean;
6
+ static equals(a: any, b: any, visited?: Set<any>): boolean;
7
7
  static evaluate(expr: string, context?: any, res?: any): any;
8
8
  static empty(obj: any): boolean;
9
9
  static iterate(obj: any, cb: IterateCallback): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "12.2.2",
3
+ "version": "12.2.4",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",