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

Commit

Permalink
chore!: update deps (#189)
Browse files Browse the repository at this point in the history
Update to simplified registry API

BREAKING CHANGE: the registry API has changed
  • Loading branch information
achingbrain authored Jun 17, 2022
1 parent fa59390 commit 719f3f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"release": "aegir release"
},
"dependencies": {
"@libp2p/interface-connection": "^1.0.1",
"@libp2p/interface-connection": "^2.0.0",
"@libp2p/interface-transport": "^1.0.0",
"@libp2p/interfaces": "^3.0.2",
"@libp2p/logger": "^2.0.0",
Expand All @@ -148,8 +148,8 @@
"stream-to-it": "^0.2.2"
},
"devDependencies": {
"@libp2p/interface-mocks": "^1.0.1",
"@libp2p/interface-transport-compliance-tests": "^1.0.0",
"@libp2p/interface-mocks": "^2.0.1",
"@libp2p/interface-transport-compliance-tests": "^2.0.0",
"aegir": "^37.0.4",
"it-all": "^1.0.6",
"it-pipe": "^2.0.3",
Expand Down
10 changes: 5 additions & 5 deletions test/listen-dial.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('dial', () => {
const conn = await tcp.dial(ma, {
upgrader
})
const { stream } = await conn.newStream([protocol])
const stream = await conn.newStream([protocol])

const values = await pipe(
[uint8ArrayFromString('hey')],
Expand All @@ -183,7 +183,7 @@ describe('dial', () => {
const conn = await tcp.dial(ma, {
upgrader
})
const { stream } = await conn.newStream([protocol])
const stream = await conn.newStream([protocol])

const values = await pipe(
[uint8ArrayFromString('hey')],
Expand All @@ -206,7 +206,7 @@ describe('dial', () => {
const conn = await tcp.dial(ma, {
upgrader
})
const { stream } = await conn.newStream([protocol])
const stream = await conn.newStream([protocol])

const values = await pipe(
[uint8ArrayFromString('hey')],
Expand Down Expand Up @@ -242,7 +242,7 @@ describe('dial', () => {
const conn = await tcp.dial(addrs[0], {
upgrader
})
const { stream } = await conn.newStream([protocol])
const stream = await conn.newStream([protocol])
await pipe(stream)

await handledPromise
Expand Down Expand Up @@ -288,7 +288,7 @@ describe('dial', () => {
const conn = await tcp.dial(ma, {
upgrader
})
const { stream } = await conn.newStream([protocol])
const stream = await conn.newStream([protocol])

const values = await pipe(
[uint8ArrayFromString('hey')],
Expand Down

0 comments on commit 719f3f5

Please sign in to comment.