From 2aa56f1f4b85f477809fc833be32ab36073aa23b Mon Sep 17 00:00:00 2001 From: Mahmut Gundogdu Date: Tue, 27 Dec 2022 15:47:39 +0300 Subject: [PATCH] Fix has a circular dependency on @abp/ng.core --- npm/ng-packs/packages/core/locale/src/utils/register-locale.ts | 2 +- .../packages/core/src/lib/tokens/check-authentication-state.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npm/ng-packs/packages/core/locale/src/utils/register-locale.ts b/npm/ng-packs/packages/core/locale/src/utils/register-locale.ts index db5d5c6452..8309836ecc 100644 --- a/npm/ng-packs/packages/core/locale/src/utils/register-locale.ts +++ b/npm/ng-packs/packages/core/locale/src/utils/register-locale.ts @@ -1,4 +1,4 @@ -import { differentLocales } from '@abp/ng.core'; +import { differentLocales } from '../../../src/lib/constants'; import { isDevMode } from '@angular/core'; export interface LocaleErrorHandlerData { diff --git a/npm/ng-packs/packages/core/src/lib/tokens/check-authentication-state.ts b/npm/ng-packs/packages/core/src/lib/tokens/check-authentication-state.ts index 0c68b18b52..48dd836e4b 100644 --- a/npm/ng-packs/packages/core/src/lib/tokens/check-authentication-state.ts +++ b/npm/ng-packs/packages/core/src/lib/tokens/check-authentication-state.ts @@ -1,5 +1,5 @@ import { InjectionToken } from '@angular/core'; -import { CheckAuthenticationStateFn } from '@abp/ng.core'; +import { CheckAuthenticationStateFn } from '../models/auth'; export const CHECK_AUTHENTICATION_STATE_FN_KEY = new InjectionToken( 'CHECK_AUTHENTICATION_STATE_FN_KEY',