🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@libp2p/interface-connection

Package Overview
Dependencies
Maintainers
6
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-connection - npm Package Compare versions

Comparing version

to
5.1.0

18

dist/src/index.d.ts

@@ -39,4 +39,22 @@ import type * as Status from './status.js';

export interface StreamTimeline {
/**
* A timestamp of when the stream was opened
*/
open: number;
/**
* A timestamp of when the stream was closed for both reading and writing
*/
close?: number;
/**
* A timestamp of when the stream was closed for reading
*/
closeRead?: number;
/**
* A timestamp of when the stream was closed for writing
*/
closeWrite?: number;
/**
* A timestamp of when the stream was reset
*/
reset?: number;
}

@@ -43,0 +61,0 @@ export interface StreamStat {

2

package.json
{
"name": "@libp2p/interface-connection",
"version": "5.0.2",
"version": "5.1.0",
"description": "Connection interface for libp2p",

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

@@ -47,4 +47,26 @@ import type * as Status from './status.js'

export interface StreamTimeline {
/**
* A timestamp of when the stream was opened
*/
open: number
/**
* A timestamp of when the stream was closed for both reading and writing
*/
close?: number
/**
* A timestamp of when the stream was closed for reading
*/
closeRead?: number
/**
* A timestamp of when the stream was closed for writing
*/
closeWrite?: number
/**
* A timestamp of when the stream was reset
*/
reset?: number
}

@@ -51,0 +73,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet