@acosmi/sdk-ts 2.9.0 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2206,9 +2206,16 @@ var Client = class _Client {
2206
2206
  fetchImpl;
2207
2207
  /** 互斥锁 (TS 用 Promise chain 替代 sync.Mutex) */
2208
2208
  mu = Promise.resolve();
2209
- /** WebSocket 状态 (实际方法由 ws.ts mixin 维护) */
2209
+ /**
2210
+ * WebSocket 状态 (实际方法由 ws.ts mixin 维护)。
2211
+ * @internal — 实现细节: 跨模块 (ws.ts mixin) 需可见故为 public, 但非消费者 API,
2212
+ * 消费者用 connect/subscribe 等高层方法; 引用的 WSState 不进公开文档。
2213
+ */
2210
2214
  ws = null;
2211
- /** v0.15.1: token 就绪等待机制 — login 成功后 resolve, 等待方解除阻塞 */
2215
+ /**
2216
+ * v0.15.1: token 就绪等待机制 — login 成功后 resolve, 等待方解除阻塞。
2217
+ * @internal — 内部同步原语 (Deferred), 非消费者 API。
2218
+ */
2212
2219
  tokenReady = newDeferred();
2213
2220
  /** Login 进行中 — 等待方需等而非 fail-fast */
2214
2221
  loginInFlight = false;