Socket
Socket
Sign inDemoInstall

hyperswarm

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperswarm - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

2

package.json
{
"name": "hyperswarm",
"version": "2.0.4",
"version": "2.0.5",
"description": "A distributed networking stack for connecting peers",

@@ -5,0 +5,0 @@ "main": "swarm.js",

@@ -138,2 +138,10 @@ # hyperswarm

#### `swarm.on('disconnection', (socket, details) => {})`
A connection has been dropped.
#### `swarm.connections`
A set of all the active connections.
#### `swarm.on('peer', (peer) => {})`

@@ -155,2 +163,2 @@

Emitted once a discovery cycle for a particular topic has completed. The topic can be identified by the `key` property of the emitted object. After this event the peer will wait for period of between 5 and 10 minutes before looking for new peers on that topic again.
Emitted once a discovery cycle for a particular topic has completed. The topic can be identified by the `key` property of the emitted object. After this event the peer will wait for period of between 5 and 10 minutes before looking for new peers on that topic again.

@@ -68,2 +68,3 @@ 'use strict'

this.ephemeral = ephemeral !== false
this.connections = network.sockets

@@ -70,0 +71,0 @@ this[kQueue] = peerQueue(queue)

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