New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

libp2p-switch

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libp2p-switch - npm Package Versions

134

0.42.3

Diff
jacobheun
published 0.42.3 •

Changelog

Source

0.42.3 (2019-03-28)

Features

  • global dial queue (#314) (20175dd)

<a name="0.42.2"></a>

jacobheun
published 0.42.2 •

Changelog

Source

0.42.2 (2019-03-25)

Bug Fixes

<a name="0.42.1"></a>

jacobheun
published 0.42.1 •

Changelog

Source

0.42.1 (2019-03-21)

Bug Fixes

  • ensure dials always use the latest PeerInfo from the PeerBook (#312) (16f2bc3)

<a name="0.42.0"></a>

jacobheun
published 0.42.0 •

Changelog

Source

0.42.0 (2019-03-21)

Features

  • add basic dial queue to avoid many connections to peer (#310) (6a94d9a)
  • update identify to include supported protocols (#311) (46e2509)

BREAKING CHANGES

  • This adds a very basic dial queue peer peer. This will prevent multiple, simultaneous dial requests to the same peer from creating multiple connections. The requests will be queued per peer, and will leverage the same connection when possible. The breaking change here is that .dial, will no longer return a connection. js-libp2p, circuit relay, and kad-dht, which use .dial were not using the returned connection. So while this is a breaking change it should not break the existing libp2p stack. If custom applications are leveraging the returned connection, they will need to convert to only using the connection returned via the callback.

  • chore: dont log priviatized unless it actually happened

  • refactor: only get our addresses for filtering once

<a name="0.41.7"></a>

jacobheun
published 0.41.7 •

Changelog

Source

0.41.7 (2019-03-13)

Bug Fixes

  • peer disconnect event and improve logging performance (#309) (f731cdc)

<a name="0.41.6"></a>

jacobheun
published 0.41.6 •

Changelog

Source

0.41.6 (2019-03-06)

Bug Fixes

  • dial in series until we have proper abort support (#306) (ddf622b)
  • import async/setImmediate to avoid webpack errors (#303) (86e0a7a)

<a name="0.41.5"></a>

jacobheun
published 0.41.5 •

Changelog

Source

0.41.5 (2019-01-11)

Bug Fixes

<a name="0.41.4"></a>

jacobheun
published 0.41.4 •

Changelog

Source

0.41.4 (2018-12-20)

Bug Fixes

  • avoid sync callback in async functions (#297) (089835e)

<a name="0.41.3"></a>

jacobheun
published 0.41.3 •

Changelog

Source

0.41.3 (2018-12-14)

Bug Fixes

  • improve connection tracking and closing (#291) (aa86307)
  • use retimer to avoid creating so many timers (#289) (f43084b)

<a name="0.41.2"></a>

jacobheun
published 0.41.2 •

Changelog

Source

0.41.2 (2018-11-15)

Bug Fixes

  • dont dial an address that we have (f406dd5)
  • ensure circuit listens last on start (7697281)
  • improve connection closing and error handling (#285) (e757cf6)

<a name="0.41.1"></a>