node-telegram-bot-api
Advanced tools
Comparing version 0.8.4 to 0.8.5
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
535758
776
4
+ Addeddebug@^2.2.0
+ Addeddebug@2.6.9(transitive)
+ Addedms@2.0.0(transitive)