@molecule/api-payments-stripe 1.2.1 → 1.2.3
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/README.md +12 -2
- package/package.json +4 -4
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-
|
|
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<{
|
|
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.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Stripe payment provider for molecule.dev.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@molecule/api-proxy-agent": "1.1.
|
|
30
|
+
"@molecule/api-proxy-agent": "1.1.1",
|
|
31
31
|
"stripe": "22.4.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "26.1.2",
|
|
35
35
|
"typescript": "6.0.3",
|
|
36
|
-
"vitest": "4.1.
|
|
36
|
+
"vitest": "4.1.11"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@molecule/api-bond": "^1.0.1",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"url": "https://github.com/molecule-dev/molecule.git",
|
|
56
56
|
"directory": "packages/api/bonds/payments/stripe"
|
|
57
57
|
},
|
|
58
|
-
"homepage": "https://
|
|
58
|
+
"homepage": "https://www.molecule.dev/packages/api-payments-stripe",
|
|
59
59
|
"bugs": "https://github.com/molecule-dev/molecule/issues",
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|