@abp/ng.core 9.3.6 → 10.0.0-rc.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.
package/locale/index.d.ts CHANGED
@@ -10,8 +10,9 @@ interface RegisterLocaleData {
10
10
  }
11
11
  declare function registerLocaleForEsBuild({ cultureNameLocaleFileMap, errorHandlerFn, }?: RegisterLocaleData): (locale: string) => Promise<any>;
12
12
  declare function registerLocale({ cultureNameLocaleFileMap, errorHandlerFn, }?: RegisterLocaleData): (locale: string) => Promise<any>;
13
+ declare function safeRegisterLocale(): (locale: string) => Promise<any>;
13
14
  declare function storeLocaleData(data: any, localeId: string): void;
14
15
  declare function defaultLocalErrorHandlerFn({ locale, resolve }: LocaleErrorHandlerData): Promise<void>;
15
16
 
16
- export { defaultLocalErrorHandlerFn, registerLocale, registerLocaleForEsBuild, storeLocaleData };
17
+ export { defaultLocalErrorHandlerFn, registerLocale, registerLocaleForEsBuild, safeRegisterLocale, storeLocaleData };
17
18
  export type { LocaleErrorHandlerData, RegisterLocaleData };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abp/ng.core",
3
- "version": "9.3.6",
3
+ "version": "10.0.0-rc.2",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/utils": "~9.3.6",
10
+ "@abp/utils": "~10.0.0-rc.2",
11
11
  "just-clone": "^6.0.0",
12
12
  "just-compare": "^2.0.0",
13
13
  "ts-toolbelt": "^9.0.0",
@@ -28,7 +28,7 @@ declare class CoreTestingModule {
28
28
 
29
29
  declare class MockPermissionService extends PermissionService {
30
30
  protected configState: ConfigStateService;
31
- constructor(configState: ConfigStateService);
31
+ constructor();
32
32
  grantAllPolicies(): void;
33
33
  grantPolicies(keys: string[]): void;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<MockPermissionService, never>;
@@ -40,7 +40,7 @@ declare class MockRestService extends RestService {
40
40
  protected http: HttpClient;
41
41
  protected externalhttp: ExternalHttpClient;
42
42
  protected environment: EnvironmentService;
43
- constructor(options: ABP.Root, http: HttpClient, externalhttp: ExternalHttpClient, environment: EnvironmentService);
43
+ constructor();
44
44
  handleError(err: any): Observable<any>;
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<MockRestService, never>;
46
46
  static ɵprov: i0.ɵɵInjectableDeclaration<MockRestService>;