From 7ff1b96aa349b327b6949b4ff4f31afa7f40cd0b Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Thu, 1 Jun 2023 22:51:34 +0330 Subject: [PATCH] fix(signal2): root exports and reg alwatr module --- core/signal2/src/index.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/core/signal2/src/index.ts b/core/signal2/src/index.ts index c39875f3bd..afb57b9898 100644 --- a/core/signal2/src/index.ts +++ b/core/signal2/src/index.ts @@ -1,3 +1,11 @@ -export * from './multithread-context.js'; -export * from './context.js'; +import {globalAlwatr} from '@alwatr/logger'; + +export * from './simple-signal.js'; export * from './event.js'; +export * from './context.js'; +export * from './multithread-context.js'; + +globalAlwatr.registeredList.push({ + name: '@alwatr/signal2', + version: _ALWATR_VERSION_, +});