fix(core): Refactor and clean up class imports and exports
This commit is contained in:
parent
6332bf671a
commit
c829b9c41e
@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-01-23 - 2.1.8 - fix(core)
|
||||
Refactor and clean up class imports and exports
|
||||
|
||||
- Simplified class file structure by unifying imports and exports.
|
||||
- Removed redundant `logcontext.*` prefixes from filenames.
|
||||
- Ensured consistent path references in index.ts.
|
||||
|
||||
## 2025-01-23 - 2.1.7 - fix(core)
|
||||
Enhanced debugging and improved dependency tracking
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/smartcontext',
|
||||
version: '2.1.7',
|
||||
version: '2.1.8',
|
||||
description: 'A module providing advanced asynchronous context management to enrich logs with context and manage scope effectively in Node.js applications.'
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import * as plugins from './logcontext.plugins.js';
|
||||
import { AsyncStore } from './logcontext.classes.asyncstore.js';
|
||||
import * as plugins from './plugins.js';
|
||||
import { AsyncStore } from './classes.asyncstore.js';
|
||||
|
||||
export class AsyncContext {
|
||||
private _context = new plugins.simpleAsyncContext.AsyncContext.Variable<AsyncStore>();
|
@ -1,4 +1,4 @@
|
||||
import * as plugins from './logcontext.plugins.js';
|
||||
import * as plugins from './plugins.js';
|
||||
|
||||
export class AsyncStore {
|
||||
private static idCounter = 0;
|
@ -1,2 +1,2 @@
|
||||
export * from './logcontext.classes.asynccontext.js';
|
||||
export * from './logcontext.classes.asyncstore.js';
|
||||
export * from './classes.asynccontext.js';
|
||||
export * from './classes.asyncstore.js';
|
Loading…
x
Reference in New Issue
Block a user