@nymbalhq/platform 1.1.0 → 1.2.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.
Files changed (36) hide show
  1. package/dist/chunk-UBEGSSFI.js +5332 -0
  2. package/dist/chunk-UBEGSSFI.js.map +1 -0
  3. package/dist/{chunk-PW6ILJF7.js → chunk-XVUH34US.js} +138 -10
  4. package/dist/chunk-XVUH34US.js.map +1 -0
  5. package/dist/db/schema/index.d.ts +3717 -2105
  6. package/dist/db/schema/index.js +1 -2
  7. package/dist/index.d.ts +408 -21
  8. package/dist/index.js +1563 -1867
  9. package/dist/index.js.map +1 -1
  10. package/dist/register-NHG3TIRQ.js +8 -0
  11. package/migrations/postgres/0008_event_correlation.sql +6 -0
  12. package/migrations/postgres/0009_settings.sql +13 -0
  13. package/migrations/postgres/0010_catch_up_index.sql +2 -0
  14. package/migrations/postgres/0011_audit_entries.sql +27 -0
  15. package/migrations/postgres/meta/0008_snapshot.json +1625 -0
  16. package/migrations/postgres/meta/0009_snapshot.json +1705 -0
  17. package/migrations/postgres/meta/0010_snapshot.json +1732 -0
  18. package/migrations/postgres/meta/0011_snapshot.json +1887 -0
  19. package/migrations/postgres/meta/_journal.json +28 -0
  20. package/migrations/sqlite/0008_event_correlation.sql +7 -0
  21. package/migrations/sqlite/0009_settings.sql +13 -0
  22. package/migrations/sqlite/0010_catch_up_index.sql +2 -0
  23. package/migrations/sqlite/0011_audit_entries.sql +26 -0
  24. package/migrations/sqlite/meta/0008_snapshot.json +1485 -0
  25. package/migrations/sqlite/meta/0009_snapshot.json +1571 -0
  26. package/migrations/sqlite/meta/0010_snapshot.json +1580 -0
  27. package/migrations/sqlite/meta/0011_snapshot.json +1705 -0
  28. package/migrations/sqlite/meta/_journal.json +28 -0
  29. package/package.json +29 -23
  30. package/dist/chunk-2GFZHF5W.js +0 -2647
  31. package/dist/chunk-2GFZHF5W.js.map +0 -1
  32. package/dist/chunk-PW6ILJF7.js.map +0 -1
  33. package/dist/chunk-PZ5AY32C.js +0 -10
  34. package/dist/register-FJA7YJV3.js +0 -8
  35. package/dist/register-FJA7YJV3.js.map +0 -1
  36. /package/dist/{chunk-PZ5AY32C.js.map → register-NHG3TIRQ.js.map} +0 -0
@@ -57,6 +57,34 @@
57
57
  "when": 1792550522929,
58
58
  "tag": "0007_native_search",
59
59
  "breakpoints": true
60
+ },
61
+ {
62
+ "idx": 8,
63
+ "version": "6",
64
+ "when": 1792609199341,
65
+ "tag": "0008_event_correlation",
66
+ "breakpoints": true
67
+ },
68
+ {
69
+ "idx": 9,
70
+ "version": "6",
71
+ "when": 1792617492050,
72
+ "tag": "0009_settings",
73
+ "breakpoints": true
74
+ },
75
+ {
76
+ "idx": 10,
77
+ "version": "6",
78
+ "when": 1792645027561,
79
+ "tag": "0010_catch_up_index",
80
+ "breakpoints": true
81
+ },
82
+ {
83
+ "idx": 11,
84
+ "version": "6",
85
+ "when": 1792659499370,
86
+ "tag": "0011_audit_entries",
87
+ "breakpoints": true
60
88
  }
61
89
  ]
62
90
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nymbalhq/platform",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Nymbal CQRS kernel (command store, document store, event bus)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -36,26 +36,27 @@
36
36
  "recipes"
37
37
  ],
38
38
  "dependencies": {
39
+ "@nymbalhq/config": "1.2.0",
40
+ "@nymbalhq/types": "1.2.0",
39
41
  "bcryptjs": "^2.4.3",
40
- "better-sqlite3": "^11.3.0",
42
+ "better-sqlite3": "^12.11.1",
41
43
  "drizzle-orm": "^0.36.0",
42
44
  "jose": "^5.9.6",
43
45
  "pg": "^8.13.1",
44
46
  "pino": "^9.5.0",
45
47
  "pino-pretty": "^11.3.0",
46
48
  "uuid": "^10.0.0",
47
- "zod": "^3.23.8",
48
- "@nymbalhq/config": "1.1.0",
49
- "@nymbalhq/types": "1.1.0"
49
+ "zod": "^3.23.8"
50
50
  },
51
51
  "peerDependencies": {
52
- "@nymbalhq/adapter-anthropic": "^1.1.0",
53
- "@nymbalhq/adapter-smtp": "^1.1.0",
54
- "@nymbalhq/adapter-stripe": "^1.1.0",
55
- "@nymbalhq/doc-store-postgres-jsonb": "^1.1.0",
56
- "@nymbalhq/doc-store-redis": "^1.1.0",
57
- "@nymbalhq/event-bus-redis-streams": "^1.1.0",
58
- "@nymbalhq/media-s3": "^1.1.0"
52
+ "@nymbalhq/adapter-anthropic": "^1.2.0",
53
+ "@nymbalhq/adapter-smtp": "^1.2.0",
54
+ "@nymbalhq/adapter-stripe": "^1.2.0",
55
+ "@nymbalhq/doc-store-postgres-jsonb": "^1.2.0",
56
+ "@nymbalhq/doc-store-redis": "^1.2.0",
57
+ "@nymbalhq/event-bus-redis-streams": "^1.2.0",
58
+ "@nymbalhq/media-s3": "^1.2.0",
59
+ "@nymbalhq/security-cloudflare": "^1.2.0"
59
60
  },
60
61
  "peerDependenciesMeta": {
61
62
  "@nymbalhq/adapter-anthropic": {
@@ -78,30 +79,35 @@
78
79
  },
79
80
  "@nymbalhq/media-s3": {
80
81
  "optional": true
82
+ },
83
+ "@nymbalhq/security-cloudflare": {
84
+ "optional": true
81
85
  }
82
86
  },
83
87
  "devDependencies": {
88
+ "@nymbalhq/adapter-anthropic": "1.2.0",
89
+ "@nymbalhq/adapter-smtp": "1.2.0",
90
+ "@nymbalhq/adapter-stripe": "1.2.0",
91
+ "@nymbalhq/doc-store-postgres-jsonb": "1.2.0",
92
+ "@nymbalhq/doc-store-redis": "1.2.0",
93
+ "@nymbalhq/event-bus-redis-streams": "1.2.0",
94
+ "@nymbalhq/media-s3": "1.2.0",
95
+ "@nymbalhq/security-cloudflare": "1.2.0",
84
96
  "@types/bcryptjs": "^2.4.6",
85
97
  "@types/better-sqlite3": "^7.6.11",
86
98
  "@types/pg": "^8.11.10",
87
99
  "@types/uuid": "^10.0.0",
100
+ "@typescript/native": "npm:typescript@^7.0.2",
88
101
  "drizzle-kit": "^0.28.0",
89
102
  "stripe": "^17.4.0",
90
- "tsup": "^8.3.5",
91
- "typescript": "^5.6.3",
92
- "vitest": "^3.0.0",
93
- "@nymbalhq/adapter-anthropic": "1.1.0",
94
- "@nymbalhq/adapter-stripe": "1.1.0",
95
- "@nymbalhq/adapter-smtp": "1.1.0",
96
- "@nymbalhq/doc-store-postgres-jsonb": "1.1.0",
97
- "@nymbalhq/doc-store-redis": "1.1.0",
98
- "@nymbalhq/event-bus-redis-streams": "1.1.0",
99
- "@nymbalhq/media-s3": "1.1.0"
103
+ "tsup": "^9.0.0",
104
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
105
+ "vitest": "^3.0.0"
100
106
  },
101
107
  "scripts": {
102
108
  "build": "tsup",
103
109
  "dev": "tsup --watch",
104
- "typecheck": "tsc -p tsconfig.json --noEmit",
110
+ "typecheck": "tsc -p tsconfig.json --noEmit --rootDir ../..",
105
111
  "db:generate:sqlite": "drizzle-kit generate --config=drizzle.config.sqlite.ts",
106
112
  "db:generate:postgres": "drizzle-kit generate --config=drizzle.config.postgres.ts",
107
113
  "db:migrate:sqlite": "drizzle-kit migrate --config=drizzle.config.sqlite.ts",