Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

chore: update deps #176

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@
"wherearewe": "^1.0.1"
},
"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",
"@mapbox/node-pre-gyp": "^1.0.8",
"aegir": "^37.2.0",
"it-all": "^1.0.6",
Expand Down
6 changes: 3 additions & 3 deletions test/dial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default (create: () => Promise<WebRTCDirect>) => {
it('dial on IPv4', async () => {
const wd = await create()
const conn = await wd.dial(REMOTE_MULTIADDR_IP4, { upgrader })
const { stream } = await conn.newStream(ECHO_PROTOCOL)
const stream = await conn.newStream(ECHO_PROTOCOL)
const data = fromString('some data')

const values = await pipe(
Expand All @@ -58,7 +58,7 @@ export default (create: () => Promise<WebRTCDirect>) => {

const values = await Promise.all(
[conn1, conn2].map(async conn => {
const { stream } = await conn1.newStream(ECHO_PROTOCOL)
const stream = await conn1.newStream(ECHO_PROTOCOL)
const data = fromString('some data ' + conn.id)

const values = await pipe(
Expand Down Expand Up @@ -91,7 +91,7 @@ export default (create: () => Promise<WebRTCDirect>) => {
it('dial on IPv6', async () => {
const wd = await create()
const conn = await wd.dial(REMOTE_MULTIADDR_IP6, { upgrader })
const { stream } = await conn.newStream(['/echo/1.0.0'])
const stream = await conn.newStream(['/echo/1.0.0'])
const data = fromString('some data')

const values = await pipe(
Expand Down
4 changes: 2 additions & 2 deletions test/listen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default (create: () => Promise<WebRTCDirect>) => {
upgrader,
handler: (conn) => {
void conn.newStream([ECHO_PROTOCOL])
.then(({ stream }) => {
.then((stream) => {
void pipe(stream, stream)
})
}
Expand Down Expand Up @@ -169,7 +169,7 @@ export default (create: () => Promise<WebRTCDirect>) => {
expect(conn.remoteAddr).to.exist()

void conn.newStream([ECHO_PROTOCOL])
.then(({ stream }) => {
.then((stream) => {
void pipe(stream, stream)
})
},
Expand Down