Socket
Socket
Sign inDemoInstall

node-telegram-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-telegram-bot-api - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

27

package.json
{
"name": "node-telegram-bot-api",
"version": "0.8.4",
"version": "0.8.5",
"description": "Telegram Bot API",

@@ -24,2 +24,3 @@ "main": "index.js",

"bluebird": "^2.9.30",
"debug": "^2.2.0",
"mime": "^1.3.4",

@@ -54,2 +55,11 @@ "request": "^2.58.0"

{
"name": "Ilias Ismanalijev",
"email": "hello@illyism.com",
"url": "https://github.com/Illyism",
"contributions": 7,
"additions": 140,
"deletions": 10,
"hireable": true
},
{
"name": "Sebastian Troć",

@@ -67,17 +77,8 @@ "email": "sebastian.troc@gucman.pl",

"url": "https://github.com/yagop",
"contributions": 60,
"additions": 1251,
"deletions": 200,
"contributions": 66,
"additions": 1278,
"deletions": 218,
"hireable": true
},
{
"name": "Ilias Ismanalijev",
"email": "hello@illyism.com",
"url": "https://github.com/Illyism",
"contributions": 7,
"additions": 140,
"deletions": 10,
"hireable": true
}
]
}
var EventEmitter = require('events').EventEmitter;
var debug = require('debug')('node-telegram-bot-api');
var Promise = require("bluebird");

@@ -115,3 +116,3 @@ var request = require("request");

}).catch(function (err) {
// console.error(err);
debug('polling error: %j', err);
// Wait for 2 seconds before retry

@@ -132,3 +133,3 @@ setTimeout(self._polling.bind(self), 2000, timeout);

});
debug('HTTP request: %j', options);
return requestPromise(options)

@@ -135,0 +136,0 @@ .then(function (resp) {

Sorry, the diff of this file is not supported yet

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