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

vk-fast-longpoll

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vk-fast-longpoll - npm Package Compare versions

Comparing version 2.0.13 to 2.0.14

23

lib/longpoll.js

@@ -84,5 +84,22 @@ 'use strict';

{
console.error(body);
this._lpi.ts = body.ts;
process.nextTick(this.listen.bind(this));
switch(parseInt(body.failed))
{
case 1:
this._lpi.ts = body.ts;
process.nextTick(this.listen.bind(this));
break;
case 2:
process.nextTick(this.start.bind(this));
break;
case 3:
this._lpStarted = false;
process.nextTick(this.start.bind(this));
break;
case 4:
console.error('Передан недопустимый номер версии в параметре version');
break;
default:
console.error(body);
break;
}
return;

@@ -89,0 +106,0 @@ }

2

package.json

@@ -128,3 +128,3 @@ {

},
"version": "2.0.13"
"version": "2.0.14"
}
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