chore: fix tests build

This commit is contained in:
fryorcraken.eth 2022-11-03 21:48:04 +11:00
parent d78a40f273
commit e901e7f69d
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 4 additions and 5 deletions

View File

@ -57,7 +57,8 @@
"dependencies": {
"@waku/core": "*",
"@waku/create": "*",
"@waku/interfaces": "*"
"@waku/interfaces": "*",
"@waku/byte-utils": "*"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.8.1",

View File

@ -3,8 +3,8 @@ import { ChildProcess, spawn } from "child_process";
import type { PeerId } from "@libp2p/interface-peer-id";
import { peerIdFromString } from "@libp2p/peer-id";
import { Multiaddr, multiaddr } from "@multiformats/multiaddr";
import { bytesToHex, hexToBytes } from "@waku/byte-utils";
import { DefaultPubSubTopic } from "@waku/core";
import { utils } from "@waku/core";
import appRoot from "app-root-path";
import debug from "debug";
import portfinder from "portfinder";
@ -13,8 +13,6 @@ import { existsAsync, mkdirAsync, openAsync } from "./async_fs";
import { delay } from "./delay";
import waitForLine from "./log_file";
const { bytesToHex, hexToBytes } = utils;
const log = debug("waku:nwaku");
const WAKU_SERVICE_NODE_DIR =

View File

@ -1,10 +1,10 @@
import { bytesToUtf8, utf8ToBytes } from "@waku/byte-utils";
import {
generatePrivateKey,
generateSymmetricKey,
getPublicKey,
} from "@waku/core";
import { PageDirection } from "@waku/core";
import { bytesToUtf8, utf8ToBytes } from "@waku/core/lib/utils";
import { waitForRemotePeer } from "@waku/core/lib/wait_for_remote_peer";
import { DecoderV0, EncoderV0 } from "@waku/core/lib/waku_message/version_0";
import {