fix: 按 K-00 约定修复 JS SDK 断线重交与退避

This commit is contained in:
Nixevol
2026-09-30 16:24:13 +08:00
parent f6f8ccf269
commit 55aa0ccf53
10 changed files with 1049 additions and 184 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { describe, expect, it } from "vitest";
import { Client, FakeTransport, APIError, buildCleanConnectFlags, register } from "../src/index.js";
import { Client, APIError, buildCleanConnectFlags, register } from "../src/index.js";
import { FakeTransport } from "../src/fake.js";
import { createServer } from "node:http";
async function connectFake(fake: FakeTransport): Promise<Client> {