@nymbalhq/platform 1.3.0 → 1.5.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 (41) hide show
  1. package/dist/{chunk-QN56IB4G.js → chunk-NNDIAIT6.js} +187 -5
  2. package/dist/chunk-NNDIAIT6.js.map +1 -0
  3. package/dist/{chunk-2PLYK5RU.js → chunk-TRLERRUI.js} +3559 -509
  4. package/dist/chunk-TRLERRUI.js.map +1 -0
  5. package/dist/db/schema/index.d.ts +5276 -3224
  6. package/dist/db/schema/index.js +1 -1
  7. package/dist/index.d.ts +428 -81
  8. package/dist/index.js +1200 -2254
  9. package/dist/index.js.map +1 -1
  10. package/dist/register-SBGUI2L5.js +8 -0
  11. package/migrations/postgres/0013_order_access_keys.sql +11 -0
  12. package/migrations/postgres/0014_alert_subscriptions.sql +22 -0
  13. package/migrations/postgres/0015_events_retry_at.sql +1 -0
  14. package/migrations/postgres/0016_email_suppressions.sql +7 -0
  15. package/migrations/postgres/0017_order_shipments.sql +14 -0
  16. package/migrations/postgres/0018_order_key_expiry.sql +8 -0
  17. package/migrations/postgres/meta/0013_snapshot.json +2000 -0
  18. package/migrations/postgres/meta/0014_snapshot.json +2185 -0
  19. package/migrations/postgres/meta/0015_snapshot.json +2191 -0
  20. package/migrations/postgres/meta/0016_snapshot.json +2233 -0
  21. package/migrations/postgres/meta/0017_snapshot.json +2300 -0
  22. package/migrations/postgres/meta/0018_snapshot.json +2306 -0
  23. package/migrations/postgres/meta/_journal.json +42 -0
  24. package/migrations/sqlite/0013_order_access_keys.sql +11 -0
  25. package/migrations/sqlite/0014_alert_subscriptions.sql +22 -0
  26. package/migrations/sqlite/0015_events_retry_at.sql +1 -0
  27. package/migrations/sqlite/0016_email_suppressions.sql +7 -0
  28. package/migrations/sqlite/0017_order_shipments.sql +9 -0
  29. package/migrations/sqlite/0018_order_key_expiry.sql +25 -0
  30. package/migrations/sqlite/meta/0013_snapshot.json +1788 -0
  31. package/migrations/sqlite/meta/0014_snapshot.json +1931 -0
  32. package/migrations/sqlite/meta/0015_snapshot.json +1938 -0
  33. package/migrations/sqlite/meta/0016_snapshot.json +1981 -0
  34. package/migrations/sqlite/meta/0017_snapshot.json +2041 -0
  35. package/migrations/sqlite/meta/0018_snapshot.json +2048 -0
  36. package/migrations/sqlite/meta/_journal.json +42 -0
  37. package/package.json +17 -47
  38. package/dist/chunk-2PLYK5RU.js.map +0 -1
  39. package/dist/chunk-QN56IB4G.js.map +0 -1
  40. package/dist/register-UUQ64HZP.js +0 -8
  41. /package/dist/{register-UUQ64HZP.js.map → register-SBGUI2L5.js.map} +0 -0
@@ -92,6 +92,48 @@
92
92
  "when": 1792853533426,
93
93
  "tag": "0012_event_subject",
94
94
  "breakpoints": true
95
+ },
96
+ {
97
+ "idx": 13,
98
+ "version": "6",
99
+ "when": 1792914031329,
100
+ "tag": "0013_order_access_keys",
101
+ "breakpoints": true
102
+ },
103
+ {
104
+ "idx": 14,
105
+ "version": "6",
106
+ "when": 1792919478996,
107
+ "tag": "0014_alert_subscriptions",
108
+ "breakpoints": true
109
+ },
110
+ {
111
+ "idx": 15,
112
+ "version": "6",
113
+ "when": 1793018982302,
114
+ "tag": "0015_events_retry_at",
115
+ "breakpoints": true
116
+ },
117
+ {
118
+ "idx": 16,
119
+ "version": "6",
120
+ "when": 1793243517935,
121
+ "tag": "0016_email_suppressions",
122
+ "breakpoints": true
123
+ },
124
+ {
125
+ "idx": 17,
126
+ "version": "6",
127
+ "when": 1793247291371,
128
+ "tag": "0017_order_shipments",
129
+ "breakpoints": true
130
+ },
131
+ {
132
+ "idx": 18,
133
+ "version": "6",
134
+ "when": 1793344407742,
135
+ "tag": "0018_order_key_expiry",
136
+ "breakpoints": true
95
137
  }
96
138
  ]
97
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nymbalhq/platform",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Nymbal CQRS kernel (command store, document store, event bus)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -36,11 +36,12 @@
36
36
  "recipes"
37
37
  ],
38
38
  "dependencies": {
39
- "@nymbalhq/config": "1.3.0",
40
- "@nymbalhq/types": "1.3.0",
39
+ "@nymbalhq/config": "1.5.0",
40
+ "@nymbalhq/types": "1.5.0",
41
41
  "bcryptjs": "^2.4.3",
42
42
  "better-sqlite3": "^12.11.1",
43
43
  "drizzle-orm": "^0.36.0",
44
+ "import-meta-resolve": "^4.2.0",
44
45
  "jose": "^5.9.6",
45
46
  "pg": "^8.13.1",
46
47
  "pino": "^9.5.0",
@@ -48,51 +49,20 @@
48
49
  "uuid": "^10.0.0",
49
50
  "zod": "^3.23.8"
50
51
  },
51
- "peerDependencies": {
52
- "@nymbalhq/adapter-anthropic": "^1.3.0",
53
- "@nymbalhq/adapter-smtp": "^1.3.0",
54
- "@nymbalhq/adapter-stripe": "^1.3.0",
55
- "@nymbalhq/doc-store-postgres-jsonb": "^1.3.0",
56
- "@nymbalhq/doc-store-redis": "^1.3.0",
57
- "@nymbalhq/event-bus-redis-streams": "^1.3.0",
58
- "@nymbalhq/media-s3": "^1.3.0",
59
- "@nymbalhq/security-cloudflare": "^1.3.0"
60
- },
61
- "peerDependenciesMeta": {
62
- "@nymbalhq/adapter-anthropic": {
63
- "optional": true
64
- },
65
- "@nymbalhq/adapter-smtp": {
66
- "optional": true
67
- },
68
- "@nymbalhq/adapter-stripe": {
69
- "optional": true
70
- },
71
- "@nymbalhq/doc-store-postgres-jsonb": {
72
- "optional": true
73
- },
74
- "@nymbalhq/doc-store-redis": {
75
- "optional": true
76
- },
77
- "@nymbalhq/event-bus-redis-streams": {
78
- "optional": true
79
- },
80
- "@nymbalhq/media-s3": {
81
- "optional": true
82
- },
83
- "@nymbalhq/security-cloudflare": {
84
- "optional": true
85
- }
86
- },
87
52
  "devDependencies": {
88
- "@nymbalhq/adapter-anthropic": "1.3.0",
89
- "@nymbalhq/adapter-smtp": "1.3.0",
90
- "@nymbalhq/adapter-stripe": "1.3.0",
91
- "@nymbalhq/doc-store-postgres-jsonb": "1.3.0",
92
- "@nymbalhq/doc-store-redis": "1.3.0",
93
- "@nymbalhq/event-bus-redis-streams": "1.3.0",
94
- "@nymbalhq/media-s3": "1.3.0",
95
- "@nymbalhq/security-cloudflare": "1.3.0",
53
+ "@nymbalhq/ai-anthropic": "1.5.0",
54
+ "@nymbalhq/document-store-postgres-jsonb": "1.5.0",
55
+ "@nymbalhq/document-store-redis": "1.5.0",
56
+ "@nymbalhq/email-mailgun": "1.5.0",
57
+ "@nymbalhq/email-resend": "1.5.0",
58
+ "@nymbalhq/email-ses": "1.5.0",
59
+ "@nymbalhq/email-smtp": "1.5.0",
60
+ "@nymbalhq/event-bus-redis-streams": "1.4.1",
61
+ "@nymbalhq/media-s3": "1.4.1",
62
+ "@nymbalhq/payments-stripe": "1.5.0",
63
+ "@nymbalhq/search-algolia": "1.5.0",
64
+ "@nymbalhq/security-cloudflare": "1.4.1",
65
+ "@nymbalhq/shipping-easypost": "1.5.0",
96
66
  "@types/bcryptjs": "^2.4.6",
97
67
  "@types/better-sqlite3": "^7.6.11",
98
68
  "@types/pg": "^8.11.10",