@stripe/link-cli 0.13.0 → 0.13.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/README.md +3 -3
- package/dist/cli.js +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -287,7 +287,7 @@ Link Pay Token requests require `execution_method=link_pay_token` and the
|
|
|
287
287
|
DOM-derived `merchant_account_id`, and Link supplies their canonical merchant
|
|
288
288
|
identity.
|
|
289
289
|
|
|
290
|
-
**Constraints:** `context` must be at least 100 characters; `amount` must not exceed
|
|
290
|
+
**Constraints:** `context` must be at least 100 characters; `amount` must not exceed 50000 (cents); `currency` must be a 3-letter ISO code. The user has 10 minutes from when approval is requested to approve. Approved credentials (card or SPT) are valid for 12 hours from spend request creation.
|
|
291
291
|
**Test mode:** Pass `--test` to create a testmode SpendRequest. A testmode SpendRequest will return test payment credentials (e.g test card `4000009990001984`) rather than a real payment credential. Testmode SpendRequests will not charge the underlying payment method of the SpendRequest. This is useful for development and integration testing without real payment methods.
|
|
292
292
|
|
|
293
293
|
```bash
|
|
@@ -309,10 +309,10 @@ link-cli spend-request cancel lsrq_001
|
|
|
309
309
|
|
|
310
310
|
| Limit | Value |
|
|
311
311
|
|-------|-------|
|
|
312
|
-
| Max amount per spend request | $
|
|
312
|
+
| Max amount per spend request | $500 (50,000 cents) |
|
|
313
313
|
| Approval window | 10 minutes — user must approve within 10 min of `request-approval` |
|
|
314
314
|
| Card / SPT validity | 12 hours from spend request creation |
|
|
315
|
-
| Daily spend | $
|
|
315
|
+
| Daily spend | $500 |
|
|
316
316
|
| Monthly spend (30 days) | $20,000 |
|
|
317
317
|
| Concurrent active requests (created + approved) | 30 |
|
|
318
318
|
| Concurrent approved requests | 10 |
|
package/dist/cli.js
CHANGED
|
@@ -17808,7 +17808,7 @@ var createOptions = z10.object({
|
|
|
17808
17808
|
merchantAccountId: z10.string().optional().describe(
|
|
17809
17809
|
"Stripe account ID from data-stripe-merchant-account; required with execution_method link_pay_token"
|
|
17810
17810
|
),
|
|
17811
|
-
amount: z10.coerce.number().int().positive().max(5e5).describe("Amount in cents
|
|
17811
|
+
amount: z10.coerce.number().int().positive().max(5e5).describe("Amount in cents"),
|
|
17812
17812
|
currency: z10.string().length(3).default("usd").describe("Currency code"),
|
|
17813
17813
|
merchantName: z10.string().optional().describe(
|
|
17814
17814
|
"Merchant name (required for regular card requests; omit for link_pay_token and shared_payment_token)"
|
|
@@ -19289,7 +19289,7 @@ function cacheUpdateInfo(value, ttlMs = UPDATE_CACHE_TTL_MS) {
|
|
|
19289
19289
|
}
|
|
19290
19290
|
|
|
19291
19291
|
// src/cli.tsx
|
|
19292
|
-
var cliVersion = "0.13.
|
|
19292
|
+
var cliVersion = "0.13.1";
|
|
19293
19293
|
var cliName = "@stripe/link-cli";
|
|
19294
19294
|
var defaultHeaders = {
|
|
19295
19295
|
"User-Agent": `link-cli/${cliVersion}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stripe/link-cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"link-cli": "./dist/cli.js"
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"tsx": "^4.23.5",
|
|
45
45
|
"typescript": "^5.9.3",
|
|
46
46
|
"vitest": "^4.1.10",
|
|
47
|
-
"@stripe/link-
|
|
48
|
-
"@stripe/link-
|
|
47
|
+
"@stripe/link-typescript-config": "0.0.0",
|
|
48
|
+
"@stripe/link-sdk": "1.0.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsup",
|