@libp2p/interface-registrar
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11091
128