gramio 0.1.0 → 0.1.1

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.
package/dist/index.cjs CHANGED
@@ -1155,9 +1155,11 @@ function webhookHandler(bot, framework, secretToken) {
1155
1155
  Symbol.metadata ??= Symbol("Symbol.metadata");
1156
1156
 
1157
1157
  exports.Bot = Bot;
1158
+ exports.Composer = Composer;
1158
1159
  exports.ErrorKind = ErrorKind;
1159
1160
  exports.Plugin = Plugin;
1160
1161
  exports.TelegramError = TelegramError;
1162
+ exports.Updates = Updates;
1161
1163
  exports.webhookHandler = webhookHandler;
1162
1164
  Object.keys(callbackData).forEach(function (k) {
1163
1165
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
package/dist/index.d.cts CHANGED
@@ -1009,4 +1009,4 @@ declare function webhookHandler<Framework extends keyof typeof frameworks>(bot:
1009
1009
  response: () => any;
1010
1010
  } ? (...args: Parameters<(typeof frameworks)[Framework]>) => ReturnType<ReturnType<(typeof frameworks)[Framework]>["response"]> : (...args: Parameters<(typeof frameworks)[Framework]>) => void;
1011
1011
 
1012
- export { type AnyBot, type AnyPlugin, Bot, type BotOptions, type DeriveDefinitions, type ErrorDefinitions, ErrorKind, type FilterDefinitions, type Handler, Hooks, type MaybePromise, type MaybeSuppressedParams, Plugin, type Suppress, type SuppressedAPIMethodParams, type SuppressedAPIMethodReturn, type SuppressedAPIMethods, TelegramError, type WebhookHandlers, webhookHandler };
1012
+ export { type AnyBot, type AnyPlugin, Bot, type BotOptions, Composer, type DeriveDefinitions, type ErrorDefinitions, ErrorKind, type FilterDefinitions, type Handler, Hooks, type MaybePromise, type MaybeSuppressedParams, Plugin, type Suppress, type SuppressedAPIMethodParams, type SuppressedAPIMethodReturn, type SuppressedAPIMethods, TelegramError, Updates, type WebhookHandlers, webhookHandler };
package/dist/index.d.ts CHANGED
@@ -1009,4 +1009,4 @@ declare function webhookHandler<Framework extends keyof typeof frameworks>(bot:
1009
1009
  response: () => any;
1010
1010
  } ? (...args: Parameters<(typeof frameworks)[Framework]>) => ReturnType<ReturnType<(typeof frameworks)[Framework]>["response"]> : (...args: Parameters<(typeof frameworks)[Framework]>) => void;
1011
1011
 
1012
- export { type AnyBot, type AnyPlugin, Bot, type BotOptions, type DeriveDefinitions, type ErrorDefinitions, ErrorKind, type FilterDefinitions, type Handler, Hooks, type MaybePromise, type MaybeSuppressedParams, Plugin, type Suppress, type SuppressedAPIMethodParams, type SuppressedAPIMethodReturn, type SuppressedAPIMethods, TelegramError, type WebhookHandlers, webhookHandler };
1012
+ export { type AnyBot, type AnyPlugin, Bot, type BotOptions, Composer, type DeriveDefinitions, type ErrorDefinitions, ErrorKind, type FilterDefinitions, type Handler, Hooks, type MaybePromise, type MaybeSuppressedParams, Plugin, type Suppress, type SuppressedAPIMethodParams, type SuppressedAPIMethodReturn, type SuppressedAPIMethods, TelegramError, Updates, type WebhookHandlers, webhookHandler };
package/dist/index.js CHANGED
@@ -1156,4 +1156,4 @@ function webhookHandler(bot, framework, secretToken) {
1156
1156
 
1157
1157
  Symbol.metadata ??= Symbol("Symbol.metadata");
1158
1158
 
1159
- export { Bot, ErrorKind, Plugin, TelegramError, webhookHandler };
1159
+ export { Bot, Composer, ErrorKind, Plugin, TelegramError, Updates, webhookHandler };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gramio",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Powerful, extensible and really type-safe Telegram Bot API framework",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",