@libp2p/interface-internal
Advanced tools
Comparing version 1.3.0-d1aec4d9f to 1.3.0-e1f0b307c
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30096
612
+ Added@libp2p/crypto@4.1.5-e1f0b307c(transitive)
+ Added@libp2p/interface@1.6.0-e1f0b307c(transitive)
+ Added@libp2p/logger@4.0.16-e1f0b307c(transitive)
+ Added@libp2p/peer-collections@5.2.5-e1f0b307c(transitive)
+ Added@libp2p/peer-id@4.2.0-e1f0b307c(transitive)
+ Added@libp2p/utils@5.4.5-e1f0b307c(transitive)
- Removed@libp2p/crypto@4.1.5-d1aec4d9f(transitive)
- Removed@libp2p/interface@1.6.0-d1aec4d9f(transitive)
- Removed@libp2p/logger@4.0.16-d1aec4d9f(transitive)
- Removed@libp2p/peer-collections@5.2.5-d1aec4d9f(transitive)
- Removed@libp2p/peer-id@4.2.0-d1aec4d9f(transitive)
- Removed@libp2p/utils@5.4.5-d1aec4d9f(transitive)