Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apidog/multibot-sdk-ts

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apidog/multibot-sdk-ts - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

15

dist/telegram/index.js

@@ -150,6 +150,17 @@ "use strict";

this.isPollingActive = true;
let errorCountInRow = 0;
(() => __awaiter(this, void 0, void 0, function* () {
while (this.isPollingActive) {
// eslint-disable-next-line no-await-in-loop
yield this.poll();
try {
// eslint-disable-next-line no-await-in-loop
yield this.poll();
errorCountInRow = 0;
}
catch (e) {
++errorCountInRow;
if (errorCountInRow > 3) {
console.error('3 requests in a row failed. The bot has stopped.');
process.exit(5);
}
}
}

@@ -156,0 +167,0 @@ }))();

2

package.json
{
"name": "@apidog/multibot-sdk-ts",
"version": "0.5.0",
"version": "0.5.1",
"description": "Telegram and VK bot SDK for TypeScript",

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

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