@classytic/cart 0.1.0 → 0.1.1
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 +1 -10
- package/dist/{create-cart-q3CXxPP7.mjs → create-cart-DRYSw5Bj.mjs} +585 -539
- package/dist/domain/errors/index.d.mts +1 -1
- package/dist/domain/errors/index.mjs +2 -2
- package/dist/domain/events/index.mjs +1 -1
- package/dist/domain/index.d.mts +8 -8
- package/dist/domain/index.mjs +5 -5
- package/dist/domain/ports/index.d.mts +2 -2
- package/dist/domain/saga/index.d.mts +2 -2
- package/dist/domain/saga/index.mjs +2 -2
- package/dist/engine/index.d.mts +1 -1
- package/dist/engine/index.mjs +1 -1
- package/dist/{errors-CHR9RlbY.mjs → errors-iFWUnl8m.mjs} +26 -26
- package/dist/{index-Doi5uzux.d.mts → index-PD-kf5pR.d.mts} +67 -67
- package/dist/index.d.mts +70 -55
- package/dist/index.mjs +44 -44
- package/dist/{internal-event-bus-IkUfQJxn.d.mts → internal-event-bus-BGcwAeqK.d.mts} +108 -83
- package/dist/{line-item.entity-B3M_i-pw.d.mts → kind-registry-CqOJHV-2.d.mts} +52 -52
- package/dist/kinds/index.d.mts +1 -1
- package/dist/kinds/index.mjs +1 -1
- package/dist/{line-kind-Bndo6IS8.d.mts → line-kind-DOYygKG4.d.mts} +1 -1
- package/dist/{cart-event-catalog-BOP9aDhL.mjs → outbox-store-bP30uBXd.mjs} +30 -30
- package/dist/{idempotency-record.entity-DIFXjN1V.d.mts → reservation.entity-gmeCFe8a.d.mts} +71 -71
- package/dist/{saga-steps-B27LI7xp.mjs → saga-steps-aP8iTHT3.mjs} +1 -2
- package/dist/{shipping.bridge-DD4A_O0O.d.mts → shipping.bridge-_VwuKCSE.d.mts} +82 -82
- package/dist/{not-found.error-B6WYnAjX.mjs → state-transition.error-CML7cQSd.mjs} +22 -22
- package/dist/{saga-step-fn-Cyob38iU.d.mts → state-transitions-CbPYzeca.d.mts} +20 -29
- package/dist/{bundle.kind-DFydSxV_.mjs → variant.kind-BpEzENX-.mjs} +132 -132
- package/dist/{bundle.kind-BdgnyKZt.d.mts → variant.kind-CCwwWAB6.d.mts} +51 -51
- package/package.json +12 -5
- /package/dist/{id.port-DPXLrqb2.d.mts → id.port-CpYO7sc1.d.mts} +0 -0
- /package/dist/{index-DEHBdV_z.d.mts → index-DNLi60D-.d.mts} +0 -0
package/README.md
CHANGED
|
@@ -85,9 +85,6 @@ Cart no longer provisions its own durable Mongo outbox by default.
|
|
|
85
85
|
- If a write runs with `ctx.session` and no `outbox` is configured, cart throws
|
|
86
86
|
instead of pretending the event was written durably.
|
|
87
87
|
|
|
88
|
-
For the exact host contract and examples, see
|
|
89
|
-
[`docs/host-integration.md`](./docs/host-integration.md).
|
|
90
|
-
|
|
91
88
|
## Zero framework dependencies
|
|
92
89
|
|
|
93
90
|
`peerDependencies`: `mongoose`, `@classytic/mongokit`.
|
|
@@ -99,11 +96,5 @@ backend framework.
|
|
|
99
96
|
## Tests
|
|
100
97
|
|
|
101
98
|
```bash
|
|
102
|
-
npm test
|
|
99
|
+
npm test
|
|
103
100
|
```
|
|
104
|
-
|
|
105
|
-
See [`tests/scenarios/`](./tests/scenarios/) for per-industry examples
|
|
106
|
-
and [`tests/integration/`](./tests/integration/) for real-Mongo proofs.
|
|
107
|
-
|
|
108
|
-
See [`CLAUDE.md`](./CLAUDE.md) for the agent guide and
|
|
109
|
-
[`MIGRATION.md`](./MIGRATION.md) for be-prod migration steps.
|