@nebutra/audit 0.1.3 → 3.0.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 +6 -3
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -112,10 +112,13 @@ interface AuditEvent {
|
|
|
112
112
|
|
|
113
113
|
## Storage
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
Provider is resolved from the environment (`AUDIT_PROVIDER`, or auto-detected —
|
|
116
|
+
see `src/providers/index.ts`):
|
|
116
117
|
|
|
117
|
-
- **
|
|
118
|
-
- **
|
|
118
|
+
- **Postgres** (via Prisma, `DATABASE_URL`) — default durable backend
|
|
119
|
+
- **ClickHouse** (`CLICKHOUSE_URL` + `AUDIT_USE_CLICKHOUSE=true`) — high-volume
|
|
120
|
+
append-only storage
|
|
121
|
+
- **Memory** — dev/test fallback only, not durable
|
|
119
122
|
|
|
120
123
|
## Related
|
|
121
124
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nebutra/audit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Audit logging for sensitive operations",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"nebutra": {
|
|
9
|
+
"graph": "core",
|
|
9
10
|
"status": "wip",
|
|
10
11
|
"productionReady": false,
|
|
11
12
|
"requires": [
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
],
|
|
48
49
|
"dependencies": {
|
|
49
50
|
"zod": "^4.3.6",
|
|
50
|
-
"@nebutra/logger": "0.
|
|
51
|
+
"@nebutra/logger": "3.0.0"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
54
|
"@types/node": "^22.19.15",
|