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

@libp2p/multistream-select

Package Overview
Dependencies
Maintainers
6
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/multistream-select - npm Package Compare versions

Comparing version

to
3.1.7

4

dist/src/index.d.ts

@@ -5,4 +5,4 @@ import { PROTOCOL_ID } from './constants.js';

export { PROTOCOL_ID };
export interface ProtocolStream<TSource, TSink = TSource> {
stream: Duplex<AsyncGenerator<TSource>, Source<TSink>>;
export interface ProtocolStream<TSource, TSink = TSource, RSink = Promise<void>> {
stream: Duplex<AsyncGenerator<TSource>, Source<TSink>, RSink>;
protocol: string;

@@ -9,0 +9,0 @@ }

{
"name": "@libp2p/multistream-select",
"version": "3.1.6",
"version": "3.1.7",
"description": "JavaScript implementation of multistream-select",

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

@@ -7,4 +7,4 @@ import { PROTOCOL_ID } from './constants.js'

export interface ProtocolStream<TSource, TSink = TSource> {
stream: Duplex<AsyncGenerator<TSource>, Source<TSink>>
export interface ProtocolStream<TSource, TSink = TSource, RSink = Promise<void>> {
stream: Duplex<AsyncGenerator<TSource>, Source<TSink>, RSink>
protocol: string

@@ -11,0 +11,0 @@ }

Sorry, the diff of this file is not supported yet