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

@veluga/telegram

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@veluga/telegram - npm Package Compare versions

Comparing version 0.0.0-alpha.1 to 0.0.0-alpha.2

dist/utils/downloadFile/index.d.ts

2

dist/bot/index.d.ts

@@ -14,3 +14,3 @@ import FormData from 'form-data';

protected static readonly defaultConfig: Required<BotConfig>;
protected readonly config: Required<BotConfig>;
readonly config: Required<BotConfig>;
readonly client: BotClient;

@@ -17,0 +17,0 @@ protected readonly LONGPOLL_TIMEOUT = 25;

@@ -103,3 +103,5 @@ "use strict";

try {
const { data, status, statusText } = await axios_1.default.post(url, {
const { data, status, statusText } = await axios_1.default.request({
method: 'POST',
url,
data: form,

@@ -106,0 +108,0 @@ headers: form.getHeaders(),

@@ -9,3 +9,3 @@ export { Bot } from './bot';

/**
* Utilites
* Utilities
*/

@@ -15,1 +15,2 @@ export { sendMessageUniversal } from './utils/sendMessageUniversal';

export * from './utils/extractBotCommand';
export * from './utils/downloadFile';

@@ -29,3 +29,3 @@ "use strict";

/**
* Utilites
* Utilities
*/

@@ -36,1 +36,2 @@ var sendMessageUniversal_1 = require("./utils/sendMessageUniversal");

__exportStar(require("./utils/extractBotCommand"), exports);
__exportStar(require("./utils/downloadFile"), exports);
{
"name": "@veluga/telegram",
"version": "0.0.0-alpha.1",
"version": "0.0.0-alpha.2",
"description": "Library for Telegram Bot API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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