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

@ajustee/ajustee-client-node

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ajustee/ajustee-client-node - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

24

lib/index.js

@@ -268,17 +268,15 @@ "use strict";

this.setStatus("Disconnected");
if (event.code === 1001) {
if (this.subscribedKeys.size > 0) {
for (const keyInfo of this.subscribedKeys.values()) {
const oldKey = keyInfo.oldKey;
if (oldKey) {
keyInfo.oldKey = undefined;
this.setKeyStatus(oldKey, "Unsubscribed");
}
else if (keyInfo.status === "Unsubscribing") {
this.setKeyStatus(keyInfo, "Unsubscribed");
this.subscribedKeys.delete(keyInfo.path);
}
if (this.subscribedKeys.size > 0) {
for (const keyInfo of this.subscribedKeys.values()) {
const oldKey = keyInfo.oldKey;
if (oldKey) {
keyInfo.oldKey = undefined;
this.setKeyStatus(oldKey, "Unsubscribed");
}
setTimeout(this.connect.bind(this), 0);
else if (keyInfo.status === "Unsubscribing") {
this.setKeyStatus(keyInfo, "Unsubscribed");
this.subscribedKeys.delete(keyInfo.path);
}
}
setTimeout(this.connect.bind(this), 0);
}

@@ -285,0 +283,0 @@ this.webSocket.onopen = undefined;

{
"name": "@ajustee/ajustee-client-node",
"version": "1.0.0",
"version": "1.0.1",
"description": "Ajustee Config Center FrontOffice API",

@@ -5,0 +5,0 @@ "main": "./lib/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