Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/interface-internal

Package Overview
Dependencies
Maintainers
6
Versions
549
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-internal - npm Package Compare versions

Comparing version 1.3.0-d1aec4d9f to 1.3.0-e1f0b307c

6

dist/src/connection-manager/index.d.ts

@@ -1,7 +0,5 @@

import type { TransportManagerDialProgressEvents } from '../transport-manager/index.js';
import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, Address, OutboundConnectionUpgradeEvents } from '@libp2p/interface';
import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, OpenConnectionProgressEvents } from '@libp2p/interface';
import type { PeerMap } from '@libp2p/peer-collections';
import type { Multiaddr } from '@multiformats/multiaddr';
import type { ProgressOptions, ProgressEvent } from 'progress-events';
export type OpenConnectionProgressEvents = TransportManagerDialProgressEvents | ProgressEvent<'dial-queue:already-connected'> | ProgressEvent<'dial-queue:already-in-dial-queue'> | ProgressEvent<'dial-queue:add-to-dial-queue'> | ProgressEvent<'dial-queue:start-dial'> | ProgressEvent<'dial-queue:calculated-addresses', Address[]> | OutboundConnectionUpgradeEvents;
import type { ProgressOptions } from 'progress-events';
export interface OpenConnectionOptions extends AbortOptions, ProgressOptions<OpenConnectionProgressEvents> {

@@ -8,0 +6,0 @@ /**

@@ -1,5 +0,4 @@

import type { AbortOptions, Connection, Listener, Transport } from '@libp2p/interface';
import type { AbortOptions, Connection, Listener, Transport, TransportManagerDialProgressEvents } from '@libp2p/interface';
import type { Multiaddr } from '@multiformats/multiaddr';
import type { ProgressOptions, ProgressEvent } from 'progress-events';
export type TransportManagerDialProgressEvents = ProgressEvent<'transport-manager:selected-transport', string>;
import type { ProgressOptions } from 'progress-events';
export interface TransportManagerDialOptions extends AbortOptions, ProgressOptions<TransportManagerDialProgressEvents> {

@@ -6,0 +5,0 @@ }

{
"name": "@libp2p/interface-internal",
"version": "1.3.0-d1aec4d9f",
"version": "1.3.0-e1f0b307c",
"description": "Interfaces implemented by internal libp2p components",

@@ -51,4 +51,4 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/interface": "1.6.0-d1aec4d9f",
"@libp2p/peer-collections": "5.2.5-d1aec4d9f",
"@libp2p/interface": "1.6.0-e1f0b307c",
"@libp2p/peer-collections": "5.2.5-e1f0b307c",
"@multiformats/multiaddr": "^12.2.3",

@@ -55,0 +55,0 @@ "progress-events": "^1.0.0",

@@ -1,16 +0,6 @@

import type { TransportManagerDialProgressEvents } from '../transport-manager/index.js'
import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, Address, OutboundConnectionUpgradeEvents } from '@libp2p/interface'
import type { AbortOptions, PendingDial, Connection, MultiaddrConnection, PeerId, IsDialableOptions, OpenConnectionProgressEvents } from '@libp2p/interface'
import type { PeerMap } from '@libp2p/peer-collections'
import type { Multiaddr } from '@multiformats/multiaddr'
import type { ProgressOptions, ProgressEvent } from 'progress-events'
import type { ProgressOptions } from 'progress-events'
export type OpenConnectionProgressEvents =
TransportManagerDialProgressEvents |
ProgressEvent<'dial-queue:already-connected'> |
ProgressEvent<'dial-queue:already-in-dial-queue'> |
ProgressEvent<'dial-queue:add-to-dial-queue'> |
ProgressEvent<'dial-queue:start-dial'> |
ProgressEvent<'dial-queue:calculated-addresses', Address[]> |
OutboundConnectionUpgradeEvents
export interface OpenConnectionOptions extends AbortOptions, ProgressOptions<OpenConnectionProgressEvents> {

@@ -17,0 +7,0 @@ /**

@@ -1,8 +0,5 @@

import type { AbortOptions, Connection, Listener, Transport } from '@libp2p/interface'
import type { AbortOptions, Connection, Listener, Transport, TransportManagerDialProgressEvents } from '@libp2p/interface'
import type { Multiaddr } from '@multiformats/multiaddr'
import type { ProgressOptions, ProgressEvent } from 'progress-events'
import type { ProgressOptions } from 'progress-events'
export type TransportManagerDialProgressEvents =
ProgressEvent<'transport-manager:selected-transport', string>
export interface TransportManagerDialOptions extends AbortOptions, ProgressOptions<TransportManagerDialProgressEvents> {

@@ -9,0 +6,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