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