@kedem/okdb 2.6.1 → 2.6.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kedem/okdb",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "A fast, type-oriented database — strong consistency and rich indexing at the core, with sync, vector embeddings, full-text search, and AI tooling built in. Designed for the AI era.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "engines": {
@@ -123,6 +123,10 @@ export interface OKDBEnqueueOptions {
123
123
  idempotency_scope?: 'active' | 'pending';
124
124
  /** Per-job log ring-buffer cap (1–50 000; default 500). */
125
125
  logCap?: number;
126
+ /**
127
+ * Enqueue atomically with the caller's writes: the job commits or rolls back with `txn`.
128
+ * Must be open and from the queue's own env. `queue:enqueued` fires after commit.
129
+ */
126
130
  txn?: OKDBQueueTransaction;
127
131
  }
128
132