@libp2p/interfaces
Advanced tools
Comparing version 1.3.27 to 1.3.28
@@ -1,2 +0,2 @@ | ||
import type { EventEmitter } from '../index.js'; | ||
import type { AbortOptions, EventEmitter } from '../index.js'; | ||
import type { Connection } from '../connection/index.js'; | ||
@@ -61,3 +61,3 @@ import type { PeerId } from '../peer-id/index.js'; | ||
*/ | ||
openConnection: (peer: PeerId) => Promise<Connection>; | ||
openConnection: (peer: PeerId, options?: AbortOptions) => Promise<Connection>; | ||
/** | ||
@@ -64,0 +64,0 @@ * Close our connection to a peer |
{ | ||
"name": "@libp2p/interfaces", | ||
"version": "1.3.27", | ||
"version": "1.3.28", | ||
"description": "Interfaces for JS Libp2p", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT", |
@@ -1,2 +0,2 @@ | ||
import type { EventEmitter } from '../index.js' | ||
import type { AbortOptions, EventEmitter } from '../index.js' | ||
import type { Connection } from '../connection/index.js' | ||
@@ -74,3 +74,3 @@ import type { PeerId } from '../peer-id/index.js' | ||
*/ | ||
openConnection: (peer: PeerId) => Promise<Connection> | ||
openConnection: (peer: PeerId, options?: AbortOptions) => Promise<Connection> | ||
@@ -77,0 +77,0 @@ /** |
Sorry, the diff of this file is not supported yet
1378441