From c71613dab2b5ccca50fba8a5199704764e8fab47 Mon Sep 17 00:00:00 2001 From: zeevdr Date: Mon, 25 May 2026 19:32:54 +0300 Subject: [PATCH] fix(compat): resolve cyclic import between compat.ts and index.ts Import SUPPORTED_SERVER_VERSION directly from version.ts instead of index.ts, which itself imports from client.ts, creating a cycle. version.ts is the canonical source for this constant. Closes #67 Co-Authored-By: Claude --- src/compat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat.ts b/src/compat.ts index 508e9a1..95fb15f 100644 --- a/src/compat.ts +++ b/src/compat.ts @@ -5,7 +5,7 @@ */ import { IncompatibleServerError } from "./errors.js"; -import { SUPPORTED_SERVER_VERSION } from "./index.js"; +import { SUPPORTED_SERVER_VERSION } from "./version.js"; /** * Parse a semver-like version string into an array of numbers.