@crvouga/mockingbird-service-stripe 1.5.0 → 1.6.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 CHANGED
@@ -1,5 +1,56 @@
1
1
  # Changelog — @crvouga/mockingbird-service-stripe
2
2
 
3
+ ## 1.6.1 (2026-09-29)
4
+
5
+ ### Fixes and improvements
6
+
7
+ - use main's stripe parity script now that main owns the oracle timing ([78c6cb9](https://github.com/crvouga/mockingbird/commit/78c6cb9000fa8934d3d1eca07c5f09a8b69f3bcb))
8
+ - balance transaction list refuses an empty invoice filter ([9561075](https://github.com/crvouga/mockingbird/commit/9561075126eda5d253ccc33abc1be08b618d8161))
9
+ - keep a previous walk's cleanup events out of the next walk's webhook comparison ([aaf8817](https://github.com/crvouga/mockingbird/commit/aaf88177355c24120863ced552f548b4680ea0e6))
10
+ - schedules list reports the scheduled conflict before an empty customer_account ([a9aa836](https://github.com/crvouga/mockingbird/commit/a9aa8369c430689f2e479ad15e889795c0578735))
11
+ - a missing event is 'No such notification', as real Stripe says ([6c4540e](https://github.com/crvouga/mockingbird/commit/6c4540eb5082d33b84879f99f5626da6abc8cd73))
12
+ - refuse empty metadata on price create before the product lookup ([3918d68](https://github.com/crvouga/mockingbird/commit/3918d6883bd2ddc4f312b377b6a1f8495392d433))
13
+ - listing invoice items for a missing customer is a 400 resource_missing ([d5c0245](https://github.com/crvouga/mockingbird/commit/d5c02450c62526382e3b3dceb3c80ede829e7097))
14
+ - a POST reports other parameter errors before an empty expand ([18bef54](https://github.com/crvouga/mockingbird/commit/18bef5484d682cc6b477ea146e7807503ae25ad8))
15
+ - schedules list refuses an empty customer_account before the filters ([6f22969](https://github.com/crvouga/mockingbird/commit/6f22969cb63e85e39fc33659e4bc61d471152ea7))
16
+ - search refuses an invalid limit before an empty expand ([877a871](https://github.com/crvouga/mockingbird/commit/877a871ae3a8a48a1fde58b7451f3736ac1bfd6f))
17
+ - report exponent-notation dimensions after the places check, in field order ([583dc06](https://github.com/crvouga/mockingbird/commit/583dc0612dc6ad36b3d4eeb38758b25576b3449d))
18
+ - a scalar metadata gets Stripe's metadata message on every object schema ([d6c2d80](https://github.com/crvouga/mockingbird/commit/d6c2d8085acc687bed84faf439075e7eca1a58a2))
19
+ - missing subscription schedule reads 'subscription schedule' and retrieve names param id ([47ca227](https://github.com/crvouga/mockingbird/commit/47ca2278ca08fd5d0c9207ff5243a39759907bd1))
20
+ - search refuses an empty query before an empty expand ([5411e8d](https://github.com/crvouga/mockingbird/commit/5411e8df04f266175cf110045cf23a74aee70f08))
21
+ - refuse an empty expand on subscription item retrieve before the lookup ([dfc57fa](https://github.com/crvouga/mockingbird/commit/dfc57fa03d0dab7490cd5e3b3ca203ea7a5ccae6))
22
+ - portal configuration list cursor errors say 'No such configuration' ([6d2d518](https://github.com/crvouga/mockingbird/commit/6d2d518068b97c339a86ffff4fc375020a991d27))
23
+ - exponent-notation package dimensions are valid numbers, as in real Stripe ([570d1eb](https://github.com/crvouga/mockingbird/commit/570d1eb2c815f02b371febf6a481a0a711c457ba))
24
+ - portal configuration list rejects an empty cursor like real Stripe ([326988f](https://github.com/crvouga/mockingbird/commit/326988f71953771ac01849b7d15b337cba741e9c))
25
+ - missing portal configuration says 'No such configuration', as real Stripe does ([69807ef](https://github.com/crvouga/mockingbird/commit/69807ef62dab4c95cb5824c712e23089e40fe5c5))
26
+ - list no billing portal configurations until a session creates the default ([967cb12](https://github.com/crvouga/mockingbird/commit/967cb12410ffe81d75323c94b7343db29e74ea6b))
27
+ - missing invoice item reports param id, as real Stripe does ([87ee8cd](https://github.com/crvouga/mockingbird/commit/87ee8cd546cbab59ace2f596b56433b8ac6619a7))
28
+ - listen with --all-snapshot, which CLI 1.52 requires ([859ee75](https://github.com/crvouga/mockingbird/commit/859ee75d9f3bc56bd1bf62e44fe1cd07c03f21be))
29
+ - pass --events to stripe listen for CLI 1.52 ([cf1266d](https://github.com/crvouga/mockingbird/commit/cf1266da0fb03b05766cfe17063b768f713d50c4))
30
+ - report why stripe listen exited before ready ([61c46f9](https://github.com/crvouga/mockingbird/commit/61c46f9a5d5d3a53f8ab421e04fce50af7e1edf9))
31
+ - accept price recurring.trial_period_days and honour trial_from_plan ([13c389d](https://github.com/crvouga/mockingbird/commit/13c389da3592a03e8ecc95be7f75eb2a57d8b86c))
32
+
33
+ ## 1.6.0 (2026-09-29)
34
+
35
+ ### Features
36
+
37
+ - per-option data-testids on the portal's plan and reason choices ([237e5ef](https://github.com/crvouga/mockingbird/commit/237e5efc5425be3062e75cdfbcf942e8590bcd90))
38
+
39
+ ### Fixes and improvements
40
+
41
+ - name a missing invoice item list cursor an invoice item ([7cfc811](https://github.com/crvouga/mockingbird/commit/7cfc81125e5e5ee23cfb03644bb7db4fa5473fa2))
42
+ - keep a customer address country as sent unless it is two letters ([6547c6c](https://github.com/crvouga/mockingbird/commit/6547c6c41e35dcfb469ebd53fbbb31dedbe34379))
43
+ - refuse a malformed preferred_locales before an empty invoice_settings on customer create ([65b18ed](https://github.com/crvouga/mockingbird/commit/65b18ed74f072b856a9c5334c3039c17f705bf45))
44
+ - resolve a payment method list's cursors before its customer_account ([8df4ce6](https://github.com/crvouga/mockingbird/commit/8df4ce63462b0192e32b8a14ce411c136ac55639))
45
+ - refuse both price amounts before looking up the product ([86700e2](https://github.com/crvouga/mockingbird/commit/86700e2e22576a4ebb79d5caa2790a2c86954da5))
46
+ - refuse an empty expand before looking up a Checkout Session ([4eb1010](https://github.com/crvouga/mockingbird/commit/4eb1010153a26f321dbc2870a537f8e0842bc945))
47
+ - refuse an empty cursor on a customer's balance transactions ([05fe354](https://github.com/crvouga/mockingbird/commit/05fe3549de39fb1a0208e79eba3c12d35641e5c7))
48
+ - name the dispute, not the cursor, in a missing-cursor error ([036ed1a](https://github.com/crvouga/mockingbird/commit/036ed1a249d015242e068c9c6796a320a9483f5c))
49
+ - name a missing portal configuration "configuration" ([d62e1df](https://github.com/crvouga/mockingbird/commit/d62e1df914536adef44a34414a0e42bfc726961a))
50
+ - leave portal configuration listing out of live parity walks ([ea11169](https://github.com/crvouga/mockingbird/commit/ea11169571ed61c2308ad5cb13fc07fa907ee9b2))
51
+ - refuse an empty search query before an empty expand ([2d0a11a](https://github.com/crvouga/mockingbird/commit/2d0a11aa1aab9e925597e63a1ec9df1744f8f9ef))
52
+ - show redacted startup output when stripe listen fails ([6c86bcc](https://github.com/crvouga/mockingbird/commit/6c86bccfe4654442cf20d2ab4e7114b63bd1ac04))
53
+
3
54
  ## 1.5.0 (2026-09-29)
4
55
 
5
56
  ### Features
package/README.md CHANGED
@@ -283,6 +283,11 @@ billing.stripe.com) where the customer manages their billing, as the session's c
283
283
  through a SetupIntent, which becomes the customer's and each subscription's default; **Make
284
284
  default**; **Delete** a non-default card); billing information (the configured `allowed_updates`,
285
285
  `customer.updated` with `previous_attributes`); invoice history with **Pay** for open invoices.
286
+ Repeated choices carry a per-option `data-testid` on the wrapping `<label class="option">`
287
+ (tapping it checks the radio), so a test-id-only driver can pick one: each plan is
288
+ `stripe-mock-portal-price-option-<price lookup_key, else price id>` and each cancellation reason
289
+ is `stripe-mock-portal-reason-<reason>` (e.g. `…-too_expensive`). The generic
290
+ `stripe-mock-portal-price-option` and `stripe-mock-portal-reason` ids stay on the radios.
286
291
  - **Deep links** open on the flow's page — cancel (with a retention offer to accept), update, update
287
292
  confirmation, payment method, billing details — and on completion honour `after_completion`:
288
293
  `redirect` (302), `hosted_confirmation` (its `custom_message`) or the homepage. Every action
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createRuntime,
3
3
  validateAccounts
4
- } from "./chunk-HLEW2SR7.js";
4
+ } from "./chunk-SITQPERY.js";
5
5
 
6
6
  // src/server.ts
7
7
  import { readFileSync } from "node:fs";
@@ -385,4 +385,4 @@ export {
385
385
  createServer2 as createServer,
386
386
  serveTarget
387
387
  };
388
- //# sourceMappingURL=chunk-L4SSW3ZW.js.map
388
+ //# sourceMappingURL=chunk-44XMO754.js.map