mirror of https://github.com/status-im/js-waku.git
chore: fix tests build
This commit is contained in:
parent
d78a40f273
commit
e901e7f69d
|
@ -57,7 +57,8 @@
|
|||
"dependencies": {
|
||||
"@waku/core": "*",
|
||||
"@waku/create": "*",
|
||||
"@waku/interfaces": "*"
|
||||
"@waku/interfaces": "*",
|
||||
"@waku/byte-utils": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue