@stripe/link-cli 0.7.1 → 0.7.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 CHANGED
@@ -216,7 +216,7 @@ A spend request moves through: **create** → **request approval** → **approve
216
216
 
217
217
  **Required fields for create:** `payment_method_id`, `merchant_name`, `merchant_url`, `context`, `amount`
218
218
 
219
- **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.
219
+ **Constraints:** `context` must be at least 100 characters; `amount` must not exceed 500000 (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.
220
220
  **Test mode:** Pass `--test` to create testmode credentials (uses test card `4242424242424242`), useful for development and integration testing without real payment methods.
221
221
 
222
222
  ```bash
@@ -238,10 +238,11 @@ link-cli spend-request cancel lsrq_001
238
238
 
239
239
  | Limit | Value |
240
240
  |-------|-------|
241
- | Max amount per spend request | $500 (50,000 cents) |
241
+ | Max amount per spend request | $5,000 (500,000 cents) |
242
242
  | Approval window | 10 minutes — user must approve within 10 min of `request-approval` |
243
243
  | Card / SPT validity | 12 hours from spend request creation |
244
- | Daily spend | $500 |
244
+ | Daily spend | $5,000 |
245
+ | Monthly spend (30 days) | $20,000 |
245
246
  | Concurrent active requests (created + approved) | 30 |
246
247
  | Concurrent approved requests | 10 |
247
248
  | Hourly creation rate | 50 per hour |
package/dist/cli.js CHANGED
@@ -15429,7 +15429,7 @@ var createOptions = z7.object({
15429
15429
  networkId: z7.string().optional().describe(
15430
15430
  "Network ID (required for shared_payment_token) \u2014 use `link-cli mpp decode` to extract"
15431
15431
  ),
15432
- amount: z7.coerce.number().int().positive().max(5e4).describe("Amount in cents, max 50000 ($500.00)"),
15432
+ amount: z7.coerce.number().int().positive().max(5e5).describe("Amount in cents, max 500000 ($5,000.00)"),
15433
15433
  currency: z7.string().length(3).default("usd").describe("Currency code"),
15434
15434
  merchantName: z7.string().optional().describe(
15435
15435
  "Merchant name (required for card; forbidden for shared_payment_token)"
@@ -16463,7 +16463,7 @@ function cacheUpdateInfo(value, ttlMs = UPDATE_CACHE_TTL_MS) {
16463
16463
  }
16464
16464
 
16465
16465
  // src/cli.tsx
16466
- var cliVersion = "0.7.1";
16466
+ var cliVersion = "0.7.3";
16467
16467
  var cliName = "@stripe/link-cli";
16468
16468
  var defaultHeaders = {
16469
16469
  "User-Agent": `link-cli/${cliVersion}`
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@stripe/link-cli",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "link-cli": "./dist/cli.js"
7
7
  },
8
8
  "files": [
9
9
  "dist",
10
+ "!dist/sea",
10
11
  "README.md",
11
12
  "LICENSE"
12
13
  ],
@@ -47,6 +48,7 @@
47
48
  },
48
49
  "scripts": {
49
50
  "build": "tsup",
51
+ "build:sea": "tsup --config tsup.sea.config.ts",
50
52
  "typecheck": "tsc",
51
53
  "test": "vitest run",
52
54
  "dev": "tsx src/cli.tsx"