Comparing version 2.3.3 to 2.4.0
@@ -9,2 +9,3 @@ const debug = require('debug')('telegraf:core') | ||
const Extra = require('./extra') | ||
const Router = require('./router') | ||
@@ -273,3 +274,9 @@ class Telegraf { | ||
/** | ||
* Expose `Router`. | ||
*/ | ||
Telegraf.Router = Router | ||
/** | ||
* Expose `Extra`. | ||
@@ -276,0 +283,0 @@ */ |
{ | ||
"name": "telegraf", | ||
"version": "2.3.3", | ||
"version": "2.4.0", | ||
"description": "📢 Modern Telegram bot framework", | ||
@@ -33,9 +33,10 @@ "main": "lib/telegraf.js", | ||
"api.md", | ||
"lib/telegraf.js", | ||
"lib/telegram.js", | ||
"lib/context.js", | ||
"lib/extra.js", | ||
"lib/memory-session.js", | ||
"lib/platform.js", | ||
"lib/extra.js", | ||
"lib/reply-markup.js", | ||
"lib/memory-session.js" | ||
"lib/router.js", | ||
"lib/telegraf.js", | ||
"lib/telegram.js" | ||
], | ||
@@ -42,0 +43,0 @@ "scripts": { |
75379
11
1546