From f8673178d18f14276e13dcb35a7d973f301a722b Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Tue, 24 Oct 2023 01:46:10 +0330 Subject: [PATCH] fix(crypto): compatible with new logger api --- packages/crypto/src/index.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/crypto/src/index.ts b/packages/crypto/src/index.ts index 1cbf67b7..0ce5d825 100644 --- a/packages/crypto/src/index.ts +++ b/packages/crypto/src/index.ts @@ -1,4 +1,4 @@ -import {globalAlwatr} from '@alwatr/logger'; +import {definePackage} from '@alwatr/logger'; export * from './hash.js'; export * from './token.js'; @@ -6,7 +6,4 @@ export * from './user.js'; export * from './type.js'; export * from './pre-config.js'; -globalAlwatr.registeredList.push({ - name: '@alwatr/crypto', - version: _ALWATR_VERSION_, -}); +definePackage('crypto', '1.x');