diff --git a/package.json b/package.json index 8ce6147..c143b1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rss-telegram-bot", - "version": "1.0.6", + "version": "1.0.7", "main": "lib/index.js", "author": "Fabian Stamm ", "license": "MIT", diff --git a/src/index.ts b/src/index.ts index 9a70a59..e07429c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,7 @@ // require('ssl-root-cas').inject(); process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; -import Logging from "@hibas123/nodelogging"; +import * as _Logging from "@hibas123/nodelogging"; import { createHash } from "crypto"; import * as dotenv from "dotenv"; import { decode } from "html-entities"; @@ -14,6 +14,7 @@ import { message } from "telegraf/filters"; import * as fs from "fs"; import lodash from 'lodash' +const Logging = (_Logging.default as any).default as typeof _Logging.default; Promise.resolve().then(async () => { const { Low, LowSync } = await import("lowdb");