learning_ai_notes/backend/package.json
saravanakumardb1 61de6ce94a feat(backend): wire @bytelyst/webhook-dispatch to domain event bus
- New lib/webhook-subscriber.ts: bridges event bus to webhook dispatch.
  Registers listeners on all 5 domain events (note.created, updated,
  deleted, task.created, workspace.created). Dispatches to registered
  targets with HMAC-SHA256 signing, retry, and delivery log.
- server.ts: init webhook subscriber on startup, stop on close.
- Adds @bytelyst/webhook-dispatch dependency.
2026-04-13 10:29:43 -07:00

48 lines
1.3 KiB
JSON

{
"name": "@notelett/backend",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@10.6.5",
"description": "NoteLett product backend — notes, workspaces, relationships, tasks, artifacts, agent actions",
"type": "module",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc",
"start": "node dist/server.js",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "eslint src/"
},
"dependencies": {
"@azure/cosmos": "^4.2.0",
"@bytelyst/auth": "*",
"@bytelyst/backend-config": "*",
"@bytelyst/backend-flags": "*",
"@bytelyst/backend-telemetry": "*",
"@bytelyst/config": "*",
"@bytelyst/cosmos": "*",
"@bytelyst/datastore": "*",
"@bytelyst/errors": "*",
"@bytelyst/fastify-auth": "*",
"@bytelyst/fastify-core": "*",
"@bytelyst/field-encrypt": "*",
"@bytelyst/llm": "*",
"@bytelyst/palace": "*",
"@bytelyst/logger": "*",
"@bytelyst/webhook-dispatch": "*",
"fastify": "5.7.4",
"jose": "^6.0.8",
"zod": "^3.24.2"
},
"devDependencies": {
"@bytelyst/testing": "*",
"@types/node": "^22.12.0",
"eslint": "^9.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.0.0",
"vitest": "^3.0.5"
}
}