mirror of https://github.com/status-im/js-waku.git
chore: rename file to node.ts (#1363)
* rename file to node.ts * update imports
This commit is contained in:
parent
d80042fc47
commit
60304bc908
|
@ -9,4 +9,4 @@ export * from "./async_fs.js";
|
|||
export * from "./constants.js";
|
||||
export * from "./delay.js";
|
||||
export * from "./log_file.js";
|
||||
export * from "./node/nwaku.js";
|
||||
export * from "./node/node.js";
|
||||
|
|
|
@ -6,7 +6,7 @@ import { Protocols } from "@waku/interfaces";
|
|||
import { expect } from "chai";
|
||||
|
||||
import { makeLogFileName, NOISE_KEY_1 } from "../src/index.js";
|
||||
import { NimGoNode } from "../src/node/nwaku.js";
|
||||
import { NimGoNode } from "../src/node/node.js";
|
||||
|
||||
describe("ENR Interop: NimGoNode", function () {
|
||||
let waku: RelayNode;
|
||||
|
|
|
@ -28,7 +28,7 @@ import {
|
|||
NOISE_KEY_1,
|
||||
NOISE_KEY_2,
|
||||
} from "../src/index.js";
|
||||
import { NimGoNode } from "../src/node/nwaku.js";
|
||||
import { NimGoNode } from "../src/node/node.js";
|
||||
|
||||
const log = debug("waku:test:ephemeral");
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import { expect } from "chai";
|
|||
import debug from "debug";
|
||||
|
||||
import { delay, makeLogFileName, NOISE_KEY_1 } from "../src/index.js";
|
||||
import { NimGoNode } from "../src/node/nwaku.js";
|
||||
import { NimGoNode } from "../src/node/node.js";
|
||||
|
||||
const log = debug("waku:test");
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { expect } from "chai";
|
|||
|
||||
import { delay } from "../src/delay.js";
|
||||
import { makeLogFileName } from "../src/log_file.js";
|
||||
import { NimGoNode } from "../src/node/nwaku.js";
|
||||
import { NimGoNode } from "../src/node/node.js";
|
||||
|
||||
describe("Peer Exchange", () => {
|
||||
let waku: LightNode;
|
||||
|
|
|
@ -32,7 +32,7 @@ import {
|
|||
NOISE_KEY_3,
|
||||
} from "../src/index.js";
|
||||
import { MessageRpcResponse } from "../src/node/interfaces.js";
|
||||
import { base64ToUtf8, NimGoNode } from "../src/node/nwaku.js";
|
||||
import { base64ToUtf8, NimGoNode } from "../src/node/node.js";
|
||||
import { generateRandomUint8Array } from "../src/random_array.js";
|
||||
|
||||
const log = debug("waku:test");
|
||||
|
|
|
@ -30,7 +30,7 @@ import {
|
|||
NOISE_KEY_1,
|
||||
NOISE_KEY_2,
|
||||
} from "../src/index.js";
|
||||
import { NimGoNode } from "../src/node/nwaku.js";
|
||||
import { NimGoNode } from "../src/node/node.js";
|
||||
|
||||
const log = debug("waku:test:store");
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { bytesToUtf8, utf8ToBytes } from "@waku/utils/bytes";
|
|||
import { expect } from "chai";
|
||||
|
||||
import { makeLogFileName, NOISE_KEY_1 } from "../src/index.js";
|
||||
import { NimGoNode } from "../src/node/nwaku.js";
|
||||
import { NimGoNode } from "../src/node/node.js";
|
||||
|
||||
const TestContentTopic = "/test/1/waku-filter";
|
||||
const TestEncoder = createEncoder({ contentTopic: TestContentTopic });
|
||||
|
|
|
@ -5,7 +5,7 @@ import { Protocols } from "@waku/interfaces";
|
|||
import { expect } from "chai";
|
||||
|
||||
import { delay, makeLogFileName, NOISE_KEY_1 } from "../src/index.js";
|
||||
import { NimGoNode } from "../src/node/nwaku.js";
|
||||
import { NimGoNode } from "../src/node/node.js";
|
||||
|
||||
describe("Wait for remote peer", function () {
|
||||
let waku1: RelayNode;
|
||||
|
|
|
@ -17,7 +17,7 @@ import { bytesToUtf8, utf8ToBytes } from "@waku/utils/bytes";
|
|||
import { expect } from "chai";
|
||||
|
||||
import { makeLogFileName, NOISE_KEY_1, NOISE_KEY_2 } from "../src/index.js";
|
||||
import { NimGoNode } from "../src/node/nwaku.js";
|
||||
import { NimGoNode } from "../src/node/node.js";
|
||||
|
||||
const TestContentTopic = "/test/1/waku/utf8";
|
||||
|
||||
|
|
Loading…
Reference in New Issue