@molecule/api-payments-stripe 1.2.1 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +12 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-08-18T00:55:01.761Z
6
+ Generated: 2026-08-18T09:54:27.262Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-payments-stripe
@@ -370,7 +370,17 @@ Parameters for updating a subscription.
370
370
 
371
371
  ```typescript
372
372
  interface SubscriptionUpdateParams {
373
- items?: Array<{ id: string; price: string }>
373
+ items?: Array<{
374
+ id: string
375
+ price: string
376
+ /**
377
+ * Units to bill — seats, on a per-seat plan. Stripe keeps the existing
378
+ * quantity for any field an update omits, so a caller changing plans must
379
+ * state it: leaving it off bills a new flat-priced plan at the old plan's
380
+ * seat count.
381
+ */
382
+ quantity?: number
383
+ }>
374
384
  cancel_at_period_end?: boolean
375
385
  }
376
386
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-payments-stripe",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Stripe payment provider for molecule.dev.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",