From 75e0a280b3dad0adcafde4ae88221799d21f68c4 Mon Sep 17 00:00:00 2001 From: Yurij Mikhalevich Date: Sat, 25 May 2024 14:17:59 +0400 Subject: [PATCH] fix(websocket): ProtocolV1 shouldn't be exported as type because it's a string --- packages/automerge-repo-network-websocket/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/automerge-repo-network-websocket/src/index.ts b/packages/automerge-repo-network-websocket/src/index.ts index cb3177274..22d645bbf 100644 --- a/packages/automerge-repo-network-websocket/src/index.ts +++ b/packages/automerge-repo-network-websocket/src/index.ts @@ -22,4 +22,5 @@ export type { ErrorMessage, PeerMessage, } from "./messages.js" -export type { ProtocolVersion, ProtocolV1 } from "./protocolVersion.js" +export type { ProtocolVersion } from "./protocolVersion.js" +export { ProtocolV1 } from "./protocolVersion.js"