@crvouga/mockingbird-service-stripe 2.2.0 → 2.3.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.
- package/CHANGELOG.md +30 -1
- package/README.md +6 -1
- package/dist/{chunk-CHK6KZV4.js → chunk-H6YCFQIS.js} +1097 -905
- package/dist/chunk-H6YCFQIS.js.map +7 -0
- package/dist/{chunk-PNBTN2AA.js → chunk-WXTYR6RQ.js} +2 -2
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +149 -145
- package/dist/index.js +1 -1
- package/dist/server.d.ts +281 -273
- package/dist/server.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-CHK6KZV4.js.map +0 -7
- /package/dist/{chunk-PNBTN2AA.js.map → chunk-WXTYR6RQ.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-stripe
|
|
2
2
|
|
|
3
|
-
## 2.
|
|
3
|
+
## 2.3.0 (2026-10-05)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- compose mock admin APIs ([952bd1f](https://github.com/crvouga/mockingbird/commit/952bd1f679bd442c9a5348a0d9c4d40ad0ac165c))
|
|
8
|
+
- add Fargate task acceptance mock ([f65fc3f](https://github.com/crvouga/mockingbird/commit/f65fc3f293b2fdb41fd45dd1693a5420c6a5109a))
|
|
9
|
+
- keep resource views live ([82c80e1](https://github.com/crvouga/mockingbird/commit/82c80e110b4aa551a17d0ee451c5d08167755267))
|
|
10
|
+
- add LocalStack free tier mocks ([84b7d0c](https://github.com/crvouga/mockingbird/commit/84b7d0ccf4acc7257bb3c3b466a38e30d5b4ab33))
|
|
11
|
+
- implement github reference semantics ([10143e8](https://github.com/crvouga/mockingbird/commit/10143e8364905d77ccfa188d8b6573b1f1003c56))
|
|
12
|
+
- implement docker attach upgrade handshake ([39ad1a3](https://github.com/crvouga/mockingbird/commit/39ad1a39b47aeb423b11bc96230d59f1f5985fa0))
|
|
13
|
+
- preserve accepted docker mutations across response loss ([c2b2d7d](https://github.com/crvouga/mockingbird/commit/c2b2d7dafffe653b3ae9667ec5019d342a68e802))
|
|
14
|
+
|
|
15
|
+
### Fixes and improvements
|
|
16
|
+
|
|
17
|
+
- reconcile combined PR integration ([124d5be](https://github.com/crvouga/mockingbird/commit/124d5bed7576535ff481ce6da7d2369957799665))
|
|
18
|
+
- preserve inferred form headers ([02bdd28](https://github.com/crvouga/mockingbird/commit/02bdd2806a9a934607ecd7ffd0cfbe4f6ba80c91))
|
|
19
|
+
|
|
20
|
+
### Dependencies
|
|
21
|
+
|
|
22
|
+
- `@crvouga/mockingbird-service-sqlite`
|
|
23
|
+
|
|
24
|
+
## 2.2.1 (2026-10-04)
|
|
25
|
+
|
|
26
|
+
### Fixes and improvements
|
|
27
|
+
|
|
28
|
+
- validate card element input ([d53f042](https://github.com/crvouga/mockingbird/commit/d53f042089ee20b2708b489e5412065013309a55))
|
|
29
|
+
- reject empty customer account filters ([b7910c7](https://github.com/crvouga/mockingbird/commit/b7910c73ad24fb1ae6767fc83effce76bfd09eaa))
|
|
30
|
+
- render split card elements independently ([99e9a5d](https://github.com/crvouga/mockingbird/commit/99e9a5d82f9189ca5d347ff5d071d05f2d9fbf21))
|
|
31
|
+
|
|
32
|
+
## 2.2.0 (2026-10-04)
|
|
4
33
|
|
|
5
34
|
### Features
|
|
6
35
|
|
package/README.md
CHANGED
|
@@ -252,7 +252,12 @@ finalize; a customer credit balance is applied at finalize; `void` works only on
|
|
|
252
252
|
payment mode, inactive prices, mixed currencies, quantities below 1, `trial_end` under 48 h.
|
|
253
253
|
- `POST /__admin/checkout/sessions/:id/complete {"card": "4242…"}` does the same without a browser;
|
|
254
254
|
`…/expire` and `…/async_payment_succeeded` too.
|
|
255
|
-
- `GET /v3` — the Stripe.js stand-in: `Stripe(pk)`, `elements()` → `create("payment"|"card")
|
|
255
|
+
- `GET /v3` — the Stripe.js stand-in: `Stripe(pk)`, `elements()` → combined `create("payment"|"card")`
|
|
256
|
+
or split `create("cardNumber"|"cardExpiry"|"cardCvc")` inputs. Split inputs share card data
|
|
257
|
+
within their `Elements` group, add no visible labels, and the combined card honors
|
|
258
|
+
`hidePostalCode`. Card inputs format number/expiry/CVC values, report field-level `empty`,
|
|
259
|
+
`complete`, `brand`, and validation errors through change events, and refuse tokenization until
|
|
260
|
+
all required split or combined values are valid. It also provides
|
|
256
261
|
`confirmPayment`, `confirmSetup`, `confirmCardPayment`, `confirmCardSetup`,
|
|
257
262
|
`retrievePaymentIntent`, `retrieveSetupIntent`, `createPaymentMethod`, `handleCardAction`. It calls
|
|
258
263
|
`POST /v1/{payment,setup}_intents/:id/confirm` with the publishable key and `client_secret` (the
|