Fix import bug temporarily
This commit is contained in:
parent
428f6c6c22
commit
3aea125ecb
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "rss-telegram-bot",
|
"name": "rss-telegram-bot",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// require('ssl-root-cas').inject();
|
// require('ssl-root-cas').inject();
|
||||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
||||||
|
|
||||||
import Logging from "@hibas123/nodelogging";
|
import * as _Logging from "@hibas123/nodelogging";
|
||||||
import { createHash } from "crypto";
|
import { createHash } from "crypto";
|
||||||
import * as dotenv from "dotenv";
|
import * as dotenv from "dotenv";
|
||||||
import { decode } from "html-entities";
|
import { decode } from "html-entities";
|
||||||
@ -14,6 +14,7 @@ import { message } from "telegraf/filters";
|
|||||||
import * as fs from "fs";
|
import * as fs from "fs";
|
||||||
import lodash from 'lodash'
|
import lodash from 'lodash'
|
||||||
|
|
||||||
|
const Logging = (_Logging.default as any).default as typeof _Logging.default;
|
||||||
|
|
||||||
Promise.resolve().then(async () => {
|
Promise.resolve().then(async () => {
|
||||||
const { Low, LowSync } = await import("lowdb");
|
const { Low, LowSync } = await import("lowdb");
|
||||||
|
Loading…
Reference in New Issue
Block a user