Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
chore(deps)!: bump @libp2p/interface-connection from 1.0.1 to 2.1.0 (#51
Browse files Browse the repository at this point in the history
)

BREAKING CHANGE: the API of the returned MultiaddrConnection has changed
  • Loading branch information
D4nte authored Jun 27, 2022
1 parent 786a712 commit 0f99bf8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
},
"dependencies": {
"@achingbrain/ip-address": "^8.1.0",
"@libp2p/interface-connection": "^1.0.1",
"@libp2p/interface-connection": "^2.1.0",
"@libp2p/interface-peer-store": "^1.0.0",
"@libp2p/logger": "^2.0.0",
"@multiformats/multiaddr": "^10.1.1",
Expand Down
8 changes: 6 additions & 2 deletions test/stream-to-ma-conn.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ function toMuxedStream (stream: Duplex<Uint8Array>) {
closeWrite: () => {},
abort: () => {},
reset: () => {},
timeline: {
open: Date.now()
stat: {
direction: 'outbound',
timeline: {
open: Date.now()
}
},
metadata: {},
id: `muxed-stream-${Math.random()}`
}

Expand Down

0 comments on commit 0f99bf8

Please sign in to comment.