@babav/knowledge-core-client 0.25.0 → 0.25.1

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.d.ts CHANGED
@@ -791,11 +791,6 @@ export declare class KnowledgeCoreClient extends HttpBase {
791
791
  items: RetrievalEventRow[];
792
792
  next_cursor: string | null;
793
793
  }>;
794
- /** Flush pending events into the read tables NOW (idempotent; read-your-writes). The Cloud
795
- * Scheduler drain is the authoritative periodic driver — this is a convenience trigger. */
796
- drain: () => Promise<{
797
- processed: number;
798
- }>;
799
794
  };
800
795
  }
801
796
  export declare class AdminClient extends HttpBase {
package/dist/index.js CHANGED
@@ -426,9 +426,6 @@ export class KnowledgeCoreClient extends HttpBase {
426
426
  month: (yyyyMm) => this.request("GET", `/v1/analytics/months/${yyyyMm}`),
427
427
  /** Raw immutable events + document rollups (escape hatch for custom formulas). */
428
428
  events: (q) => this.request("GET", "/v1/analytics/events", { query: q }),
429
- /** Flush pending events into the read tables NOW (idempotent; read-your-writes). The Cloud
430
- * Scheduler drain is the authoritative periodic driver — this is a convenience trigger. */
431
- drain: () => this.request("POST", "/v1/analytics/drain"),
432
429
  };
433
430
  }
434
431
  // ---------------------------------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babav/knowledge-core-client",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "TypeScript client for the Babav Knowledge Core API (Deno + Node 18+, zero deps). Includes the babav.visual grammar TYPES at the ./visual subpath (types only; all visual rendering is server-side).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -918,9 +918,6 @@ export class KnowledgeCoreClient extends HttpBase {
918
918
  /** Raw immutable events + document rollups (escape hatch for custom formulas). */
919
919
  events: (q?: { from?: string; to?: string; limit?: number; cursor?: string }) =>
920
920
  this.request<{ items: RetrievalEventRow[]; next_cursor: string | null }>("GET", "/v1/analytics/events", { query: q }),
921
- /** Flush pending events into the read tables NOW (idempotent; read-your-writes). The Cloud
922
- * Scheduler drain is the authoritative periodic driver — this is a convenience trigger. */
923
- drain: () => this.request<{ processed: number }>("POST", "/v1/analytics/drain"),
924
921
  };
925
922
  }
926
923