Socket
Socket
Sign inDemoInstall

ssb-conn

Package Overview
Dependencies
94
Maintainers
2
Versions
92
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.3 to 6.0.4

6

lib/conn.js

@@ -33,6 +33,6 @@ "use strict";

const data = (typeof b === 'object' ? b : {});
this._hub.connect(address, data).then(result => cb === null || cb === void 0 ? void 0 : cb(null, result), err => cb === null || cb === void 0 ? void 0 : cb(err));
this._hub.connect(address, data).then((result) => cb === null || cb === void 0 ? void 0 : cb(null, result), (err) => cb === null || cb === void 0 ? void 0 : cb(err));
};
this.disconnect = (address, cb) => {
this._hub.disconnect(address).then(result => cb === null || cb === void 0 ? void 0 : cb(null, result), err => cb === null || cb === void 0 ? void 0 : cb(err));
this._hub.disconnect(address).then((result) => cb === null || cb === void 0 ? void 0 : cb(null, result), (err) => cb === null || cb === void 0 ? void 0 : cb(err));
};

@@ -91,5 +91,5 @@ this.peers = () => this._hub.liveEntries();

that.stopScheduler();
that._db.close();
that._hub.close();
that._staging.close();
that._db.close();
return fn.apply(this, args);

@@ -96,0 +96,0 @@ });

{
"name": "ssb-conn",
"description": "SSB plugin for establishing and managing peer connections",
"version": "6.0.3",
"version": "6.0.4",
"homepage": "https://github.com/staltz/ssb-conn",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc