Socket
Socket
Sign inDemoInstall

ssb-conn-hub

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-conn-hub - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/index.js

@@ -228,3 +228,3 @@ "use strict";

debug('connected to %s', address);
this._notify({ type: state_1, address: address, key: key, details: rpc });
this._notify({ type: state_1, address: address, key: key, details: { rpc: rpc } });
}

@@ -231,0 +231,0 @@ return [2, rpc];

{
"name": "ssb-conn-hub",
"description": "Module that manages active connections to SSB peers",
"version": "0.0.2",
"version": "0.0.3",
"homepage": "https://github.com/staltz/ssb-conn-hub",

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

@@ -163,3 +163,3 @@ import {ConnectionData as Data, ListenEvent, Address} from './types';

debug('connected to %s', address);
this._notify({type: state, address, key, details: rpc} as ListenEvent);
this._notify({type: state, address, key, details: {rpc}} as ListenEvent);
}

@@ -166,0 +166,0 @@ return rpc;

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