@gobing-ai/ts-db 0.4.13 → 0.4.15

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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -229,7 +229,8 @@ import { QueueJobDao } from '@gobing-ai/ts-db';
229
229
 
230
230
  const queue = new QueueJobDao(adapter);
231
231
 
232
- // Enqueue
232
+ // Enqueue — maxRetries is a total attempt budget, not retries after the first:
233
+ // 5 means up to 5 attempts, and `maxRetries: 1` runs the job once with no retry.
233
234
  const jobId = await queue.enqueue('send-email', { to: 'user@test.com' }, { maxRetries: 5 });
234
235
 
235
236
  // Consumer: claim ready jobs atomically
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobing-ai/ts-db",
3
- "version": "0.4.13",
3
+ "version": "0.4.15",
4
4
  "description": "@gobing-ai/ts-db — a drizzle-free database facade: typed DAOs over Bun SQLite / Cloudflare D1, a small predicate query spec, single-source-of-truth tables, and migrations. Drizzle stays an internal detail.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -66,8 +66,8 @@
66
66
  "release": "echo 'Manual publish is disabled. Releases go through GitHub Actions via Trusted Publishing — push a tag: git tag @gobing-ai/ts-db-v<version> && git push --tags' && exit 1"
67
67
  },
68
68
  "dependencies": {
69
- "@gobing-ai/ts-runtime": "^0.4.13",
70
- "@gobing-ai/ts-utils": "^0.4.13"
69
+ "@gobing-ai/ts-runtime": "^0.4.15",
70
+ "@gobing-ai/ts-utils": "^0.4.15"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "drizzle-orm": ">=0.38.0",