From a4c5dd5b5b1c7bef14eccafbb2e3f4c93290726c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 31 Aug 2023 18:49:00 -0400 Subject: [PATCH] fix: make uris optional --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index bfe03ef..454f544 100644 --- a/src/types.ts +++ b/src/types.ts @@ -30,7 +30,7 @@ export interface Peer { renderLocationUri(): string; } -export type PeerConstructorOptions = { socket: any; uris: URL[] }; +export type PeerConstructorOptions = { socket: any; uris?: URL[] }; // Define the static side of the class export interface PeerStatic {