New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nestjs-telegraf

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-telegraf - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

dist/decorators/listeners/on.decorator.d.ts

@@ -6,2 +6,2 @@ /**

*/
export declare const On: (...args: ["callback_query"] | ["channel_post"] | ["chosen_inline_result"] | ["edited_channel_post"] | ["edited_message"] | ["inline_query"] | ["message"] | ["pre_checkout_query"] | ["shipping_query"] | ["poll"] | ["poll_answer"] | ["forward_date"] | ["text"] | ["document"] | ["audio"] | ["channel_chat_created"] | ["connected_website"] | ["contact"] | ["delete_chat_photo"] | ["dice"] | ["game"] | ["group_chat_created"] | ["invoice"] | ["left_chat_member"] | ["location"] | ["migrate_from_chat_id"] | ["migrate_to_chat_id"] | ["new_chat_members"] | ["new_chat_photo"] | ["new_chat_title"] | ["passport_data"] | ["proximity_alert_triggered"] | ["photo"] | ["pinned_message"] | ["sticker"] | ["successful_payment"] | ["supergroup_chat_created"] | ["video"] | ["video_note"] | ["voice"] | ["animation"] | ["venue"] | [("callback_query" | "channel_post" | "chosen_inline_result" | "edited_channel_post" | "edited_message" | "inline_query" | "message" | "pre_checkout_query" | "shipping_query" | "poll" | "poll_answer" | "forward_date" | "text" | "document" | "audio" | "channel_chat_created" | "connected_website" | "contact" | "delete_chat_photo" | "dice" | "game" | "group_chat_created" | "invoice" | "left_chat_member" | "location" | "migrate_from_chat_id" | "migrate_to_chat_id" | "new_chat_members" | "new_chat_photo" | "new_chat_title" | "passport_data" | "proximity_alert_triggered" | "photo" | "pinned_message" | "sticker" | "successful_payment" | "supergroup_chat_created" | "video" | "video_note" | "voice" | "animation" | "venue")[]]) => MethodDecorator;
export declare const On: (...args: ["callback_query"] | ["channel_post"] | ["chosen_inline_result"] | ["edited_channel_post"] | ["edited_message"] | ["inline_query"] | ["message"] | ["pre_checkout_query"] | ["shipping_query"] | ["poll"] | ["poll_answer"] | ["forward_date"] | ["document"] | ["audio"] | ["channel_chat_created"] | ["connected_website"] | ["contact"] | ["delete_chat_photo"] | ["dice"] | ["game"] | ["group_chat_created"] | ["invoice"] | ["left_chat_member"] | ["location"] | ["migrate_from_chat_id"] | ["migrate_to_chat_id"] | ["new_chat_members"] | ["new_chat_photo"] | ["new_chat_title"] | ["passport_data"] | ["proximity_alert_triggered"] | ["photo"] | ["pinned_message"] | ["sticker"] | ["successful_payment"] | ["supergroup_chat_created"] | ["text"] | ["video"] | ["video_note"] | ["voice"] | ["animation"] | ["venue"] | [("callback_query" | "channel_post" | "chosen_inline_result" | "edited_channel_post" | "edited_message" | "inline_query" | "message" | "pre_checkout_query" | "shipping_query" | "poll" | "poll_answer" | "forward_date" | "document" | "audio" | "channel_chat_created" | "connected_website" | "contact" | "delete_chat_photo" | "dice" | "game" | "group_chat_created" | "invoice" | "left_chat_member" | "location" | "migrate_from_chat_id" | "migrate_to_chat_id" | "new_chat_members" | "new_chat_photo" | "new_chat_title" | "passport_data" | "proximity_alert_triggered" | "photo" | "pinned_message" | "sticker" | "successful_payment" | "supergroup_chat_created" | "text" | "video" | "video_note" | "voice" | "animation" | "venue")[]]) => MethodDecorator;

@@ -1,1 +0,1 @@

export declare const SceneEnter: (...args: [] | ["callback_query"] | ["channel_post"] | ["chosen_inline_result"] | ["edited_channel_post"] | ["edited_message"] | ["inline_query"] | ["message"] | ["pre_checkout_query"] | ["shipping_query"] | ["poll"] | ["poll_answer"] | ["forward_date"] | ["text"] | ["document"] | ["audio"] | ["channel_chat_created"] | ["connected_website"] | ["contact"] | ["delete_chat_photo"] | ["dice"] | ["game"] | ["group_chat_created"] | ["invoice"] | ["left_chat_member"] | ["location"] | ["migrate_from_chat_id"] | ["migrate_to_chat_id"] | ["new_chat_members"] | ["new_chat_photo"] | ["new_chat_title"] | ["passport_data"] | ["proximity_alert_triggered"] | ["photo"] | ["pinned_message"] | ["sticker"] | ["successful_payment"] | ["supergroup_chat_created"] | ["video"] | ["video_note"] | ["voice"] | ["animation"] | ["venue"] | [("callback_query" | "channel_post" | "chosen_inline_result" | "edited_channel_post" | "edited_message" | "inline_query" | "message" | "pre_checkout_query" | "shipping_query" | "poll" | "poll_answer" | "forward_date" | "text" | "document" | "audio" | "channel_chat_created" | "connected_website" | "contact" | "delete_chat_photo" | "dice" | "game" | "group_chat_created" | "invoice" | "left_chat_member" | "location" | "migrate_from_chat_id" | "migrate_to_chat_id" | "new_chat_members" | "new_chat_photo" | "new_chat_title" | "passport_data" | "proximity_alert_triggered" | "photo" | "pinned_message" | "sticker" | "successful_payment" | "supergroup_chat_created" | "video" | "video_note" | "voice" | "animation" | "venue")[]] | [string] | [RegExp] | [(value: string, ctx: never) => RegExpExecArray] | [(string | RegExp | ((value: string, ctx: never) => RegExpExecArray))[]] | [string[]] | [(update: import("typegram").Update) => update is import("typegram").Update] | [(t: never) => boolean]) => MethodDecorator;
export declare const SceneEnter: (...args: [] | ["callback_query"] | ["channel_post"] | ["chosen_inline_result"] | ["edited_channel_post"] | ["edited_message"] | ["inline_query"] | ["message"] | ["pre_checkout_query"] | ["shipping_query"] | ["poll"] | ["poll_answer"] | ["forward_date"] | ["document"] | ["audio"] | ["channel_chat_created"] | ["connected_website"] | ["contact"] | ["delete_chat_photo"] | ["dice"] | ["game"] | ["group_chat_created"] | ["invoice"] | ["left_chat_member"] | ["location"] | ["migrate_from_chat_id"] | ["migrate_to_chat_id"] | ["new_chat_members"] | ["new_chat_photo"] | ["new_chat_title"] | ["passport_data"] | ["proximity_alert_triggered"] | ["photo"] | ["pinned_message"] | ["sticker"] | ["successful_payment"] | ["supergroup_chat_created"] | ["text"] | ["video"] | ["video_note"] | ["voice"] | ["animation"] | ["venue"] | [("callback_query" | "channel_post" | "chosen_inline_result" | "edited_channel_post" | "edited_message" | "inline_query" | "message" | "pre_checkout_query" | "shipping_query" | "poll" | "poll_answer" | "forward_date" | "document" | "audio" | "channel_chat_created" | "connected_website" | "contact" | "delete_chat_photo" | "dice" | "game" | "group_chat_created" | "invoice" | "left_chat_member" | "location" | "migrate_from_chat_id" | "migrate_to_chat_id" | "new_chat_members" | "new_chat_photo" | "new_chat_title" | "passport_data" | "proximity_alert_triggered" | "photo" | "pinned_message" | "sticker" | "successful_payment" | "supergroup_chat_created" | "text" | "video" | "video_note" | "voice" | "animation" | "venue")[]] | [string] | [RegExp] | [(value: string, ctx: never) => RegExpExecArray] | [(string | RegExp | ((value: string, ctx: never) => RegExpExecArray))[]] | [string[]] | [(update: import("typegram").Update) => update is import("typegram").Update] | [(t: never) => boolean]) => MethodDecorator;

@@ -1,1 +0,1 @@

export declare const SceneLeave: (...args: [] | ["callback_query"] | ["channel_post"] | ["chosen_inline_result"] | ["edited_channel_post"] | ["edited_message"] | ["inline_query"] | ["message"] | ["pre_checkout_query"] | ["shipping_query"] | ["poll"] | ["poll_answer"] | ["forward_date"] | ["text"] | ["document"] | ["audio"] | ["channel_chat_created"] | ["connected_website"] | ["contact"] | ["delete_chat_photo"] | ["dice"] | ["game"] | ["group_chat_created"] | ["invoice"] | ["left_chat_member"] | ["location"] | ["migrate_from_chat_id"] | ["migrate_to_chat_id"] | ["new_chat_members"] | ["new_chat_photo"] | ["new_chat_title"] | ["passport_data"] | ["proximity_alert_triggered"] | ["photo"] | ["pinned_message"] | ["sticker"] | ["successful_payment"] | ["supergroup_chat_created"] | ["video"] | ["video_note"] | ["voice"] | ["animation"] | ["venue"] | [("callback_query" | "channel_post" | "chosen_inline_result" | "edited_channel_post" | "edited_message" | "inline_query" | "message" | "pre_checkout_query" | "shipping_query" | "poll" | "poll_answer" | "forward_date" | "text" | "document" | "audio" | "channel_chat_created" | "connected_website" | "contact" | "delete_chat_photo" | "dice" | "game" | "group_chat_created" | "invoice" | "left_chat_member" | "location" | "migrate_from_chat_id" | "migrate_to_chat_id" | "new_chat_members" | "new_chat_photo" | "new_chat_title" | "passport_data" | "proximity_alert_triggered" | "photo" | "pinned_message" | "sticker" | "successful_payment" | "supergroup_chat_created" | "video" | "video_note" | "voice" | "animation" | "venue")[]] | [string] | [RegExp] | [(value: string, ctx: never) => RegExpExecArray] | [(string | RegExp | ((value: string, ctx: never) => RegExpExecArray))[]] | [string[]] | [(update: import("typegram").Update) => update is import("typegram").Update] | [(t: never) => boolean]) => MethodDecorator;
export declare const SceneLeave: (...args: [] | ["callback_query"] | ["channel_post"] | ["chosen_inline_result"] | ["edited_channel_post"] | ["edited_message"] | ["inline_query"] | ["message"] | ["pre_checkout_query"] | ["shipping_query"] | ["poll"] | ["poll_answer"] | ["forward_date"] | ["document"] | ["audio"] | ["channel_chat_created"] | ["connected_website"] | ["contact"] | ["delete_chat_photo"] | ["dice"] | ["game"] | ["group_chat_created"] | ["invoice"] | ["left_chat_member"] | ["location"] | ["migrate_from_chat_id"] | ["migrate_to_chat_id"] | ["new_chat_members"] | ["new_chat_photo"] | ["new_chat_title"] | ["passport_data"] | ["proximity_alert_triggered"] | ["photo"] | ["pinned_message"] | ["sticker"] | ["successful_payment"] | ["supergroup_chat_created"] | ["text"] | ["video"] | ["video_note"] | ["voice"] | ["animation"] | ["venue"] | [("callback_query" | "channel_post" | "chosen_inline_result" | "edited_channel_post" | "edited_message" | "inline_query" | "message" | "pre_checkout_query" | "shipping_query" | "poll" | "poll_answer" | "forward_date" | "document" | "audio" | "channel_chat_created" | "connected_website" | "contact" | "delete_chat_photo" | "dice" | "game" | "group_chat_created" | "invoice" | "left_chat_member" | "location" | "migrate_from_chat_id" | "migrate_to_chat_id" | "new_chat_members" | "new_chat_photo" | "new_chat_title" | "passport_data" | "proximity_alert_triggered" | "photo" | "pinned_message" | "sticker" | "successful_payment" | "supergroup_chat_created" | "text" | "video" | "video_note" | "voice" | "animation" | "venue")[]] | [string] | [RegExp] | [(value: string, ctx: never) => RegExpExecArray] | [(string | RegExp | ((value: string, ctx: never) => RegExpExecArray))[]] | [string[]] | [(update: import("typegram").Update) => update is import("typegram").Update] | [(t: never) => boolean]) => MethodDecorator;

@@ -7,3 +7,3 @@ import { ModuleMetadata, Type } from '@nestjs/common/interfaces';

options?: Partial<Telegraf.Options<any>>;
launchOptions?: Telegraf.LaunchOptions;
launchOptions?: Telegraf.LaunchOptions | false;
include?: Function[];

@@ -10,0 +10,0 @@ middlewares?: ReadonlyArray<Middleware<any>>;

@@ -9,5 +9,7 @@ "use strict";

bot.use(...((_a = options.middlewares) !== null && _a !== void 0 ? _a : []));
await bot.launch(options.launchOptions);
if (options.launchOptions !== false) {
await bot.launch(options.launchOptions);
}
return bot;
}
exports.createBotFactory = createBotFactory;
{
"name": "nestjs-telegraf",
"version": "2.0.0",
"version": "2.1.0",
"description": "Telegraf module for NestJS",

@@ -49,18 +49,18 @@ "keywords": [

"@commitlint/config-angular": "11.0.0",
"@nestjs/common": "7.6.12",
"@nestjs/core": "7.6.12",
"@nestjs/common": "7.6.13",
"@nestjs/core": "7.6.13",
"@types/lodash": "4.14.168",
"@typescript-eslint/eslint-plugin": "4.15.0",
"@typescript-eslint/parser": "4.15.0",
"@typescript-eslint/eslint-plugin": "4.15.2",
"@typescript-eslint/parser": "4.15.2",
"eslint": "7.20.0",
"eslint-config-prettier": "7.2.0",
"eslint-config-prettier": "8.0.0",
"eslint-plugin-prettier": "3.3.1",
"husky": "5.0.9",
"husky": "5.1.1",
"lint-staged": "10.5.4",
"lodash": "4.17.20",
"lodash": "4.17.21",
"prettier": "2.2.1",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
"telegraf": "4.0.3",
"typedoc": "0.20.24",
"telegraf": "4.1.0",
"typedoc": "0.20.27",
"typescript": "4.1.5"

@@ -67,0 +67,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc