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

@libp2p/interface-registrar

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-registrar - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

8

dist/src/index.d.ts

@@ -13,5 +13,9 @@ import type { Connection, Stream } from '@libp2p/interface-connection';

/**
* How many streams can be open for this protocol at the same time on each connection (default: 1)
* How many incoming streams can be open for this protocol at the same time on each connection (default: 1)
*/
maxConcurrentStreams?: number;
maxIncomingStreams?: number;
/**
* How many outgoing streams can be open for this protocol at the same time on each connection (default: 1)
*/
maxOutgoingStreams?: number;
}

@@ -18,0 +22,0 @@ export interface StreamHandlerRecord {

{
"name": "@libp2p/interface-registrar",
"version": "1.0.0",
"version": "1.1.0",
"description": "Registrar interface for libp2p",

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

@@ -16,5 +16,10 @@ import type { Connection, Stream } from '@libp2p/interface-connection'

/**
* How many streams can be open for this protocol at the same time on each connection (default: 1)
* How many incoming streams can be open for this protocol at the same time on each connection (default: 1)
*/
maxConcurrentStreams?: number
maxIncomingStreams?: number
/**
* How many outgoing streams can be open for this protocol at the same time on each connection (default: 1)
*/
maxOutgoingStreams?: number
}

@@ -21,0 +26,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