New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 5.0.2 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

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