From cef3796f01c5086f6e8438876de5e828056c8056 Mon Sep 17 00:00:00 2001 From: Vito Macchia Date: Thu, 23 Jan 2020 19:10:53 +0100 Subject: [PATCH] feat(lib/telegraf.service.ts): set bot public --- lib/telegraf.service.ts | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/telegraf.service.ts b/lib/telegraf.service.ts index 2f83d97..aa2aa88 100644 --- a/lib/telegraf.service.ts +++ b/lib/telegraf.service.ts @@ -17,7 +17,7 @@ import { InvalidConfigurationException } from './exeptions' export class TelegrafService { private readonly logger = new Logger(TelegrafService.name, true) private readonly sitePublicUrl?: string - private readonly bot: Telegraf + public readonly bot: Telegraf private ref: ModuleRef public constructor( diff --git a/package.json b/package.json index 67476f5..6b4227f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nestjs-telegraf", - "version": "0.7.0", + "version": "0.7.1", "description": "Telegraf module for Nest framework", "keywords": [ "nest", @@ -64,4 +64,4 @@ "git add" ] } -} +} \ No newline at end of file