@crvouga/mockingbird-service-flex 0.3.0 → 1.0.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/CHANGELOG.md +13 -0
- package/README.md +2 -2
- package/dist/{chunk-CTPIFEBJ.js → chunk-JYH5AFHL.js} +765 -693
- package/dist/chunk-JYH5AFHL.js.map +7 -0
- package/dist/{chunk-7ZR3HG2Y.js → chunk-XQ3UGAR4.js} +5 -3
- package/dist/chunk-XQ3UGAR4.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +129 -101
- package/dist/index.js +1 -1
- package/dist/server.d.ts +233 -177
- package/dist/server.js +2 -2
- package/package.json +7 -2
- package/dist/chunk-7ZR3HG2Y.js.map +0 -7
- package/dist/chunk-CTPIFEBJ.js.map +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-flex
|
|
2
2
|
|
|
3
|
+
## 1.0.1 (2026-09-26)
|
|
4
|
+
|
|
5
|
+
### Fixes and improvements
|
|
6
|
+
|
|
7
|
+
- take the rejected-request byte count from content-length, never by reading the body ([a0e5fb2](https://github.com/crvouga/mockingbird/commit/a0e5fb2fc80ab725c3552b612f3f091fd6c857fb))
|
|
8
|
+
- reject a present body by media type, and log what a rejected request sent ([12e351a](https://github.com/crvouga/mockingbird/commit/12e351aba53cfb7b41e31a7809419455fc2902eb))
|
|
9
|
+
|
|
10
|
+
## 1.0.0 (2026-09-24)
|
|
11
|
+
|
|
12
|
+
### ⚠️ Breaking changes
|
|
13
|
+
|
|
14
|
+
- vendor branding for every service; purge internal mocks and consumer names ([f689534](https://github.com/crvouga/mockingbird/commit/f6895343543550dafcb7d76b426cae7635e03226))
|
|
15
|
+
|
|
3
16
|
## 0.3.0 (2026-09-24)
|
|
4
17
|
|
|
5
18
|
### Features
|
package/README.md
CHANGED
|
@@ -190,8 +190,8 @@ Fault presets (`POST /__admin/faults {"preset": "<name>", "count"?: n}`; `GET /_
|
|
|
190
190
|
|
|
191
191
|
`src/corpus/products.ts` is the product side of every row of the consumer's
|
|
192
192
|
`flexCatalogMappings` reference fixture (663 rows, regenerated with
|
|
193
|
-
`bun scripts/corpus.ts <fixture.json>`): product id, client reference, the `
|
|
194
|
-
`
|
|
193
|
+
`bun scripts/corpus.ts <fixture.json>`): product id, client reference, the `acme_purpose` /
|
|
194
|
+
`acme_merchant_product_id` / `acme_client_reference_id` metadata our catalog validation
|
|
195
195
|
compares, eligibility and visit type. Every product is active and test-mode, so our validation
|
|
196
196
|
reproduces each mapping row's own `active` flag. No sandbox recording exists (no credentials),
|
|
197
197
|
so product names are synthesised.
|