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

@libp2p/peer-collections

Package Overview
Dependencies
Maintainers
6
Versions
562
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/peer-collections - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

dist/src/list.d.ts

@@ -12,3 +12,3 @@ import type { PeerId } from '@libp2p/interface-peer-id';

private readonly list;
constructor(list?: PeerList);
constructor(list?: PeerList | Iterable<PeerId>);
[Symbol.iterator](): IterableIterator<PeerId>;

@@ -15,0 +15,0 @@ concat(list: PeerList): PeerList;

{
"name": "@libp2p/peer-collections",
"version": "2.0.0",
"version": "2.1.0",
"description": "Stores values against a peer id",

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

@@ -16,3 +16,3 @@ import type { PeerId } from '@libp2p/interface-peer-id'

constructor (list?: PeerList) {
constructor (list?: PeerList | Iterable<PeerId>) {
this.list = []

@@ -19,0 +19,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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