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

@libp2p/bootstrap

Package Overview
Dependencies
Maintainers
6
Versions
606
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/bootstrap - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

2

package.json
{
"name": "@libp2p/bootstrap",
"version": "5.0.0",
"version": "5.0.1",
"description": "Node.js IPFS Implementation of the railing process of a Node through a bootstrap peer list",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -38,19 +38,19 @@ # @libp2p/bootstrap <!-- omit in toc -->

import { createLibp2p } from 'libp2p'
import { Bootstrap } from '@libp2p/bootstrap'
import { TCP } from 'libp2p/tcp'
import { Noise } from '@libp2p/noise'
import { Mplex } from '@libp2p/mplex'
import { bootstrap } from '@libp2p/bootstrap'
import { tcp } from 'libp2p/tcp'
import { noise } from '@libp2p/noise'
import { mplex } from '@libp2p/mplex'
let options = {
transports: [
new TCP()
tcp()
],
streamMuxers: [
new Mplex()
mplex()
],
connectionEncryption: [
new Noise()
noise()
],
peerDiscovery: [
new Bootstrap({
bootstrap({
list: [ // a list of bootstrap peer multiaddrs to connect to on node startup

@@ -57,0 +57,0 @@ "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ",

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