gramstax 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { LoggingPretty } from 'logging-pretty';
2
2
  import { Keyv } from 'keyv';
3
3
  import * as grammy from 'grammy';
4
- import { Context, InlineKeyboard, Bot, BotError } from 'grammy';
4
+ import { Context, Keyboard, InlineKeyboard, Bot, BotError } from 'grammy';
5
5
  import * as grammy_types from 'grammy/types';
6
6
  import { UserFromGetMe } from 'grammy/types';
7
7
  import { FSWatcher } from 'chokidar';
@@ -181,7 +181,7 @@ declare class TemplateManager {
181
181
  }
182
182
 
183
183
  type IInlineKb = InlineKeyboard
184
- type IBottomKb = IBottomKb
184
+ type IBottomKb = Keyboard
185
185
  type IKb = IBottomKb | IInlineKb
186
186
  type ICt = Context
187
187
  type IOptReply = Parameters<Context[`reply`]>[1]
@@ -1,7 +1,7 @@
1
1
  import { LoggingPretty } from 'logging-pretty';
2
2
  import { Keyv } from 'keyv';
3
3
  import * as grammy from 'grammy';
4
- import { Context, InlineKeyboard, Bot, BotError } from 'grammy';
4
+ import { Context, Keyboard, InlineKeyboard, Bot, BotError } from 'grammy';
5
5
  import * as grammy_types from 'grammy/types';
6
6
  import { UserFromGetMe } from 'grammy/types';
7
7
  import { FSWatcher } from 'chokidar';
@@ -181,7 +181,7 @@ declare class TemplateManager {
181
181
  }
182
182
 
183
183
  type IInlineKb = InlineKeyboard
184
- type IBottomKb = IBottomKb
184
+ type IBottomKb = Keyboard
185
185
  type IKb = IBottomKb | IInlineKb
186
186
  type ICt = Context
187
187
  type IOptReply = Parameters<Context[`reply`]>[1]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gramstax",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "private": false,
5
5
  "description": "A powerful Telegram bot framework with page-based routing and template system",
6
6
  "keywords": [