@libp2p/interface-connection
Advanced tools
Comparing version 5.0.2 to 5.1.0
@@ -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 { |
{ | ||
"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
34004
391