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 3.0.0 to 3.0.1

2

dist/src/index.d.ts

@@ -221,3 +221,3 @@ import type { Multiaddr } from '@multiformats/multiaddr';

*/
export interface MultiaddrConnection<T extends Uint8Array | Uint8ArrayList = Uint8Array> extends Duplex<T> {
export interface MultiaddrConnection extends Duplex<Uint8Array> {
close: (err?: Error) => Promise<void>;

@@ -224,0 +224,0 @@ remoteAddr: Multiaddr;

{
"name": "@libp2p/interface-connection",
"version": "3.0.0",
"version": "3.0.1",
"description": "Connection interface for libp2p",

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

@@ -259,3 +259,3 @@ import type { Multiaddr } from '@multiformats/multiaddr'

*/
export interface MultiaddrConnection<T extends Uint8Array | Uint8ArrayList = Uint8Array> extends Duplex<T> {
export interface MultiaddrConnection extends Duplex<Uint8Array> {
close: (err?: Error) => Promise<void>

@@ -262,0 +262,0 @@ remoteAddr: Multiaddr

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