deps: update it-length-prefix, uint8arraylist etc (#1317)

In order to support no-copy operations in streams, update all deps
to support streaming Uint8ArrayLists.
This commit is contained in:
Alex Potsides
2022-08-03 14:15:35 +01:00
committed by GitHub
parent 05e8e7ead9
commit 564f4b8aa7
27 changed files with 69 additions and 58 deletions

View File

@ -16,7 +16,7 @@ import type Sinon from 'sinon'
import { createRelayOptions, createNodeOptions } from './utils.js'
import { protocols } from '@multiformats/multiaddr'
async function usingAsRelay (node: Libp2pNode, relay: Libp2pNode, opts?: PWaitForOptions) {
async function usingAsRelay (node: Libp2pNode, relay: Libp2pNode, opts?: PWaitForOptions<boolean>) {
// Wait for peer to be used as a relay
await pWaitFor(() => {
for (const addr of node.getMultiaddrs()) {