@nymbalhq/platform 1.4.0 → 1.6.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 (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -0
  3. package/dist/{chunk-GMV3B3SC.js → chunk-KH3BABMV.js} +10570 -7364
  4. package/dist/chunk-KH3BABMV.js.map +1 -0
  5. package/dist/{chunk-SNNK2OX3.js → chunk-TVKV5GBY.js} +172 -9
  6. package/dist/chunk-TVKV5GBY.js.map +1 -0
  7. package/dist/db/schema/index.d.ts +6537 -3506
  8. package/dist/db/schema/index.js +1 -1
  9. package/dist/index.d.ts +893 -129
  10. package/dist/index.js +4321 -1905
  11. package/dist/index.js.map +1 -1
  12. package/dist/register-XP5XVAXM.js +8 -0
  13. package/migrations/postgres/0016_email_suppressions.sql +7 -0
  14. package/migrations/postgres/0017_order_shipments.sql +14 -0
  15. package/migrations/postgres/0018_order_key_expiry.sql +8 -0
  16. package/migrations/postgres/0019_carts_customer_idx.sql +1 -0
  17. package/migrations/postgres/0020_alert_confirmation_sent.sql +1 -0
  18. package/migrations/postgres/0021_proposals.sql +27 -0
  19. package/migrations/postgres/0022_order_source.sql +3 -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/0019_snapshot.json +2322 -0
  24. package/migrations/postgres/meta/0020_snapshot.json +2328 -0
  25. package/migrations/postgres/meta/0021_snapshot.json +2543 -0
  26. package/migrations/postgres/meta/0022_snapshot.json +2578 -0
  27. package/migrations/postgres/meta/_journal.json +49 -0
  28. package/migrations/sqlite/0016_email_suppressions.sql +7 -0
  29. package/migrations/sqlite/0017_order_shipments.sql +9 -0
  30. package/migrations/sqlite/0018_order_key_expiry.sql +25 -0
  31. package/migrations/sqlite/0019_carts_customer_idx.sql +1 -0
  32. package/migrations/sqlite/0020_alert_confirmation_sent.sql +1 -0
  33. package/migrations/sqlite/0021_proposals.sql +27 -0
  34. package/migrations/sqlite/0022_order_source.sql +3 -0
  35. package/migrations/sqlite/meta/0016_snapshot.json +1981 -0
  36. package/migrations/sqlite/meta/0017_snapshot.json +2041 -0
  37. package/migrations/sqlite/meta/0018_snapshot.json +2048 -0
  38. package/migrations/sqlite/meta/0019_snapshot.json +2056 -0
  39. package/migrations/sqlite/meta/0020_snapshot.json +2063 -0
  40. package/migrations/sqlite/meta/0021_snapshot.json +2246 -0
  41. package/migrations/sqlite/meta/0022_snapshot.json +2270 -0
  42. package/migrations/sqlite/meta/_journal.json +49 -0
  43. package/package.json +25 -52
  44. package/dist/chunk-GMV3B3SC.js.map +0 -1
  45. package/dist/chunk-SNNK2OX3.js.map +0 -1
  46. package/dist/register-N2XGSFUF.js +0 -8
  47. /package/dist/{register-N2XGSFUF.js.map → register-XP5XVAXM.js.map} +0 -0
@@ -113,6 +113,55 @@
113
113
  "when": 1793018982302,
114
114
  "tag": "0015_events_retry_at",
115
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
137
+ },
138
+ {
139
+ "idx": 19,
140
+ "version": "6",
141
+ "when": 1793507532124,
142
+ "tag": "0019_carts_customer_idx",
143
+ "breakpoints": true
144
+ },
145
+ {
146
+ "idx": 20,
147
+ "version": "6",
148
+ "when": 1793605266500,
149
+ "tag": "0020_alert_confirmation_sent",
150
+ "breakpoints": true
151
+ },
152
+ {
153
+ "idx": 21,
154
+ "version": "6",
155
+ "when": 1793740928592,
156
+ "tag": "0021_proposals",
157
+ "breakpoints": true
158
+ },
159
+ {
160
+ "idx": 22,
161
+ "version": "6",
162
+ "when": 1793809828668,
163
+ "tag": "0022_order_source",
164
+ "breakpoints": true
116
165
  }
117
166
  ]
118
167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nymbalhq/platform",
3
- "version": "1.4.0",
3
+ "version": "1.6.0",
4
4
  "description": "Nymbal CQRS kernel (command store, document store, event bus)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -36,69 +36,42 @@
36
36
  "recipes"
37
37
  ],
38
38
  "dependencies": {
39
- "@nymbalhq/config": "1.4.0",
40
- "@nymbalhq/types": "1.4.0",
39
+ "@nymbalhq/config": "1.6.0",
40
+ "@nymbalhq/types": "1.6.0",
41
41
  "bcryptjs": "^2.4.3",
42
42
  "better-sqlite3": "^12.11.1",
43
- "drizzle-orm": "^0.36.0",
43
+ "drizzle-orm": "^0.45.4",
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",
47
48
  "pino-pretty": "^11.3.0",
48
- "uuid": "^10.0.0",
49
- "zod": "^3.23.8"
50
- },
51
- "peerDependencies": {
52
- "@nymbalhq/adapter-anthropic": "^1.4.0",
53
- "@nymbalhq/adapter-smtp": "^1.4.0",
54
- "@nymbalhq/adapter-stripe": "^1.4.0",
55
- "@nymbalhq/doc-store-postgres-jsonb": "^1.4.0",
56
- "@nymbalhq/doc-store-redis": "^1.4.0",
57
- "@nymbalhq/event-bus-redis-streams": "^1.4.0",
58
- "@nymbalhq/media-s3": "^1.4.0",
59
- "@nymbalhq/security-cloudflare": "^1.4.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
- }
49
+ "sanitize-html": "2.18.1",
50
+ "uuid": "^11.1.1",
51
+ "zod": "^4.6.7"
86
52
  },
87
53
  "devDependencies": {
88
- "@nymbalhq/adapter-anthropic": "1.4.0",
89
- "@nymbalhq/adapter-smtp": "1.4.0",
90
- "@nymbalhq/adapter-stripe": "1.4.0",
91
- "@nymbalhq/doc-store-postgres-jsonb": "1.4.0",
92
- "@nymbalhq/doc-store-redis": "1.4.0",
93
- "@nymbalhq/event-bus-redis-streams": "1.4.0",
94
- "@nymbalhq/media-s3": "1.4.0",
95
- "@nymbalhq/security-cloudflare": "1.4.0",
54
+ "@nymbalhq/ai-anthropic": "1.6.0",
55
+ "@nymbalhq/ai-openai": "0.1.0",
56
+ "@nymbalhq/document-store-postgres-jsonb": "1.5.1",
57
+ "@nymbalhq/document-store-redis": "1.5.1",
58
+ "@nymbalhq/email-mailgun": "1.6.0",
59
+ "@nymbalhq/email-resend": "1.6.0",
60
+ "@nymbalhq/email-ses": "1.6.0",
61
+ "@nymbalhq/email-smtp": "1.6.0",
62
+ "@nymbalhq/event-bus-redis-streams": "1.4.2",
63
+ "@nymbalhq/media-s3": "1.4.2",
64
+ "@nymbalhq/payments-stripe": "1.6.0",
65
+ "@nymbalhq/search-algolia": "1.5.1",
66
+ "@nymbalhq/security-cloudflare": "1.5.0",
67
+ "@nymbalhq/shipping-aftership": "0.1.0",
68
+ "@nymbalhq/shipping-easypost": "1.6.0",
96
69
  "@types/bcryptjs": "^2.4.6",
97
70
  "@types/better-sqlite3": "^7.6.11",
98
71
  "@types/pg": "^8.11.10",
99
- "@types/uuid": "^10.0.0",
72
+ "@types/sanitize-html": "2.16.2",
100
73
  "@typescript/native": "npm:typescript@^7.0.2",
101
- "drizzle-kit": "^0.28.0",
74
+ "drizzle-kit": "^0.31.11",
102
75
  "stripe": "^17.4.0",
103
76
  "tsup": "^9.0.0",
104
77
  "typescript": "npm:@typescript/typescript6@^6.0.2",