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

ssb-conn

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-conn - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

2

lib/gossip.d.ts

@@ -7,3 +7,3 @@ import { Callback, Peer } from './types';

private latestWarning;
constructor(ssb: any);
constructor(ssb: any, cfg: any);
private setupConnectionListeners;

@@ -10,0 +10,0 @@ private onConnectingFailed;

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

let Gossip = class Gossip {
constructor(ssb) {
constructor(ssb, cfg) {
this.peers = () => {

@@ -205,3 +205,5 @@ if (this.latestWarning + 10e3 < Date.now()) {

this.setupConnectionListeners();
this.conn.start();
if (cfg.conn && cfg.conn.autostart !== false) {
this.conn.start();
}
}

@@ -208,0 +210,0 @@ setupConnectionListeners() {

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

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

@@ -93,3 +93,3 @@ import {ListenEvent as HubEvent} from 'ssb-conn-hub/lib/types';

constructor(ssb: any) {
constructor(ssb: any, cfg: any) {
this.ssb = ssb;

@@ -101,3 +101,5 @@ this.notify = Notify();

this.setupConnectionListeners();
this.conn.start();
if (cfg.conn && cfg.conn.autostart !== false) {
this.conn.start();
}
}

@@ -104,0 +106,0 @@

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