From 6daf815ea8b3eed4579b2b248ffba7c01eec6bc7 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Sat, 8 May 2021 22:18:44 +0200 Subject: [PATCH] Change name of class --- meta.json | 2 +- package.json | 2 +- src/index.ts | 6 +++--- src/test.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/meta.json b/meta.json index a78f22a..96b1921 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "logging", - "version": "3.0.1", + "version": "3.0.3", "description": "", "author": "Fabian Stamm ", "contributors": [], diff --git a/package.json b/package.json index 943bc24..519d15e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/logging", - "version": "3.0.1", + "version": "3.0.3", "description": "", "main": "out/index.js", "types": "out/index.d.ts", diff --git a/src/index.ts b/src/index.ts index 5654402..a3f7178 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ -import { LoggingBase as LoggingClass } from "./base.js"; -export { LoggingBase as Logging } from "./base.js"; +import { LoggingBase } from "./base.js"; +export { LoggingBase } from "./base.js"; export { ConsoleAdapter } from "./consolewriter.js"; export { ILoggingOptions, INativeFunctions } from "./base.js"; @@ -16,6 +16,6 @@ export { IFormatted, } from "./types.js"; -const Logging = new LoggingClass(); +const Logging = new LoggingBase(); export default Logging; diff --git a/src/test.ts b/src/test.ts index 0e22a12..9e23d18 100644 --- a/src/test.ts +++ b/src/test.ts @@ -1,6 +1,6 @@ import Logging from "./index.js"; -import { Logging as LoggingBase, LoggingTypes, Format } from "./index.js"; +import { LoggingBase, LoggingTypes, Format } from "./index.js"; Logging.log("test"); Logging.log("i", "am", { a: "an" }, 1000);