From 0af8bb3469b363caa85a62d3ec6e27f23f261fab Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 31 Aug 2023 09:52:22 -0400 Subject: [PATCH] fix: use URL type from url package not global URL --- src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.ts b/src/types.ts index 30ea65a..4834789 100644 --- a/src/types.ts +++ b/src/types.ts @@ -5,6 +5,7 @@ import { P2PService } from "./service/p2p.js"; import { RegistryService } from "./service/registry.js"; import { S5Node } from "#node.js"; import Unpacker from "#serialization/unpack.js"; +import type { URL } from "url"; export interface Peer { id: NodeId;