@equationalapplications/prisma-outbox 4.9.0 → 4.11.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/README.md +18 -2
- package/package.json +21 -4
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# @equationalapplications/prisma-outbox
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Sync [`@equationalapplications/core-llm-wiki`](https://www.npmjs.com/package/@equationalapplications/core-llm-wiki) SQLite outbox events to your Prisma-backed database using the transactional outbox pattern — at-least-once delivery with ordering guarantees.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@equationalapplications/prisma-outbox)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
-
[](LICENSE)
|
|
7
|
+
[](https://github.com/equationalapplications/expo-llm-wiki/blob/main/packages/prisma-outbox/LICENSE)
|
|
8
|
+
|
|
9
|
+
**[GitHub](https://github.com/equationalapplications/expo-llm-wiki)** · **[ScopeLab](https://equationalapplications.github.io/expo-llm-wiki/scopelab/)** · **[WikiDemo](https://equationalapplications.github.io/expo-llm-wiki/wiki-demo/)** · **[Changelog](https://github.com/equationalapplications/expo-llm-wiki/blob/main/CHANGELOG.md)** · **[Issues](https://github.com/equationalapplications/expo-llm-wiki/issues)**
|
|
8
10
|
|
|
9
11
|
Polls the SQLite outbox table written by `@equationalapplications/core-llm-wiki` and syncs events to your Prisma-backed system inside a Prisma transaction, with configurable batch size, poll interval, error handling, and a concurrency guard.
|
|
10
12
|
|
|
@@ -91,3 +93,17 @@ worker.stop();
|
|
|
91
93
|
## Limitations
|
|
92
94
|
|
|
93
95
|
- **Single-instance only.** The worker does not use row-level locking or leases. Running two `PrismaOutboxWorker` instances against the same SQLite file will cause duplicate Prisma writes. Run exactly one worker per SQLite database. `mapEvent` must still be idempotent to tolerate at-least-once delivery (acknowledgement can fail after a successful Prisma commit).
|
|
96
|
+
|
|
97
|
+
## Monorepo Ecosystem
|
|
98
|
+
|
|
99
|
+
| Package | Description |
|
|
100
|
+
|---------|-------------|
|
|
101
|
+
| [`@equationalapplications/core-llm-wiki`](https://www.npmjs.com/package/@equationalapplications/core-llm-wiki) | Pure TypeScript core — DB-agnostic, bring your own SQLite adapter |
|
|
102
|
+
| [`@equationalapplications/expo-llm-wiki`](https://www.npmjs.com/package/@equationalapplications/expo-llm-wiki) | Expo / React Native adapter with `expo-sqlite` |
|
|
103
|
+
| [`@equationalapplications/react-llm-wiki`](https://www.npmjs.com/package/@equationalapplications/react-llm-wiki) | React hooks + web adapter with `sql.js` |
|
|
104
|
+
| **`@equationalapplications/prisma-outbox`** | Sync SQLite outbox events to Prisma in a transaction |
|
|
105
|
+
| [`@equationalapplications/core-llm-tools`](https://www.npmjs.com/package/@equationalapplications/core-llm-tools) | Platform-agnostic Gemini tool schemas + capability scope injector |
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
Made with ❤️ by Equational Applications LLC. [https://equationalapplications.com/](https://equationalapplications.com/)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equationalapplications/prisma-outbox",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "Prisma
|
|
3
|
+
"version": "4.11.0",
|
|
4
|
+
"description": "Sync core-llm-wiki SQLite outbox events to your Prisma-backed database using the transactional outbox pattern — at-least-once delivery with ordering guarantees.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,6 +18,23 @@
|
|
|
18
18
|
"README.md"
|
|
19
19
|
],
|
|
20
20
|
"license": "MIT",
|
|
21
|
+
"keywords": [
|
|
22
|
+
"prisma",
|
|
23
|
+
"outbox-pattern",
|
|
24
|
+
"transactional-outbox",
|
|
25
|
+
"event-sync",
|
|
26
|
+
"sqlite-sync",
|
|
27
|
+
"at-least-once"
|
|
28
|
+
],
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "https://github.com/equationalapplications/expo-llm-wiki.git",
|
|
32
|
+
"directory": "packages/prisma-outbox"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/equationalapplications/expo-llm-wiki/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/equationalapplications/expo-llm-wiki/tree/main/packages/prisma-outbox#readme",
|
|
21
38
|
"publishConfig": {
|
|
22
39
|
"access": "public",
|
|
23
40
|
"registry": "https://registry.npmjs.org"
|
|
@@ -27,7 +44,7 @@
|
|
|
27
44
|
},
|
|
28
45
|
"peerDependencies": {
|
|
29
46
|
"@prisma/client": "^5.0.0 || ^6.0.0",
|
|
30
|
-
"@equationalapplications/core-llm-wiki": "4.
|
|
47
|
+
"@equationalapplications/core-llm-wiki": "4.11.0"
|
|
31
48
|
},
|
|
32
49
|
"devDependencies": {
|
|
33
50
|
"@prisma/client": "^5.0.0",
|
|
@@ -35,7 +52,7 @@
|
|
|
35
52
|
"tsup": "^8.0.0",
|
|
36
53
|
"typescript": "^5.4.0",
|
|
37
54
|
"vitest": "4.1.5",
|
|
38
|
-
"@equationalapplications/core-llm-wiki": "4.
|
|
55
|
+
"@equationalapplications/core-llm-wiki": "4.11.0"
|
|
39
56
|
},
|
|
40
57
|
"scripts": {
|
|
41
58
|
"build": "tsup",
|