@crvouga/mockingbird-service-stripe 1.4.1 → 1.4.2
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 +11 -0
- package/README.md +4 -0
- package/dist/{chunk-RI3PMA5Y.js → chunk-3IXCGEEZ.js} +2 -2
- package/dist/{chunk-4YHVIH3S.js → chunk-G3CFEXYC.js} +98 -5
- package/dist/chunk-G3CFEXYC.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/server.d.ts +6 -0
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-4YHVIH3S.js.map +0 -7
- /package/dist/{chunk-RI3PMA5Y.js.map → chunk-3IXCGEEZ.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-stripe
|
|
2
2
|
|
|
3
|
+
## 1.4.2 (2026-09-29)
|
|
4
|
+
|
|
5
|
+
### Fixes and improvements
|
|
6
|
+
|
|
7
|
+
- name missing portal configurations as real Stripe does and skip the account-dependent list in parity ([11833e0](https://github.com/crvouga/mockingbird/commit/11833e0fc344d93d46be16a577d36ccadf393902))
|
|
8
|
+
- answer an unknown SetupIntent with a 404 naming "setupintent" ([9db9fff](https://github.com/crvouga/mockingbird/commit/9db9fffd3495343ac17b0b9e3cf6850e3024195c))
|
|
9
|
+
- check product images in index order across empty and invalid URLs ([662cca3](https://github.com/crvouga/mockingbird/commit/662cca3a85e63279faa0b3a2f1b304ca67ed650c))
|
|
10
|
+
- pass --all-snapshot to stripe listen ([8e32c50](https://github.com/crvouga/mockingbird/commit/8e32c50f06517bcfc9deeb118d608dd94eaba76c))
|
|
11
|
+
- report why stripe listen exited before ready ([31f2f21](https://github.com/crvouga/mockingbird/commit/31f2f2117a1bfba1a70381462a7b9c3f75592527))
|
|
12
|
+
- store and return price currency_options ([36e2b5a](https://github.com/crvouga/mockingbird/commit/36e2b5a917ac27a3f6dc2f59bc5604aa136c22d3))
|
|
13
|
+
|
|
3
14
|
## 1.4.1 (2026-09-29)
|
|
4
15
|
|
|
5
16
|
### Fixes and improvements
|
package/README.md
CHANGED
|
@@ -393,6 +393,10 @@ plus `port`, `host`; resolves `{url, port, runtime, close}`), `serveTarget` (the
|
|
|
393
393
|
- **Customer portal extras**: the login page (`login_page.url` is not served), `schedule_at_period_end`
|
|
394
394
|
downgrades, multi-item subscription updates, locales,
|
|
395
395
|
and payment method configurations. Portal sessions do not expire.
|
|
396
|
+
- **Multi-currency prices** store, merge (on update) and return `currency_options` when expanded,
|
|
397
|
+
and a Checkout Session `currency` charges a payment-mode line in that option. Per-option
|
|
398
|
+
`tiers` and `custom_unit_amount`, and subscription-mode sessions in a non-default currency, are
|
|
399
|
+
refused with a 400; subscriptions and invoices always bill in the price's own currency.
|
|
396
400
|
- **Webhook endpoint `api_version`**: payloads render at the account's version, not per endpoint.
|
|
397
401
|
- **Live keys** (`sk_live_…`) are refused with Stripe's 401: the mock is test mode only.
|
|
398
402
|
- Operations marked unsupported in SUPPORT.md (charge create/update, checkout session update,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRuntime,
|
|
3
3
|
validateAccounts
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G3CFEXYC.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-
|
|
388
|
+
//# sourceMappingURL=chunk-3IXCGEEZ.js.map
|