chore: rename file to node.ts (#1363)

* rename file to node.ts

* update imports
This commit is contained in:
Danish Arora 2023-05-19 01:38:43 +05:30 committed by GitHub
parent d80042fc47
commit 60304bc908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 10 additions and 10 deletions

View File

@ -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";

View File

@ -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;

View File

@ -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");

View File

@ -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");

View File

@ -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;

View File

@ -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");

View File

@ -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");

View File

@ -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 });

View File

@ -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;

View File

@ -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";