run402 1.33.0 → 1.33.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/lib/billing.mjs +3 -3
- package/package.json +1 -1
package/lib/billing.mjs
CHANGED
|
@@ -9,7 +9,7 @@ Subcommands:
|
|
|
9
9
|
create-email <email> Create an email billing account
|
|
10
10
|
link-wallet <account_id> <wallet> Link a wallet to an email account
|
|
11
11
|
tier-checkout <tier> [--email <e> | --wallet <w>] Stripe tier checkout
|
|
12
|
-
buy-pack [--email <e> | --wallet <w>]
|
|
12
|
+
buy-email-pack [--email <e> | --wallet <w>] Buy \$5 email pack (10,000 emails)
|
|
13
13
|
auto-recharge <account_id> <on|off> [--threshold <n>]
|
|
14
14
|
balance <identifier> Balance by email or wallet (0x...)
|
|
15
15
|
history <identifier> [--limit <n>] Ledger history by email or wallet
|
|
@@ -17,7 +17,7 @@ Subcommands:
|
|
|
17
17
|
Examples:
|
|
18
18
|
run402 billing create-email user@example.com
|
|
19
19
|
run402 billing tier-checkout hobby --email user@example.com
|
|
20
|
-
run402 billing buy-pack --wallet 0x1234...
|
|
20
|
+
run402 billing buy-email-pack --wallet 0x1234...
|
|
21
21
|
run402 billing auto-recharge acct_abc on --threshold 2000
|
|
22
22
|
run402 billing balance user@example.com
|
|
23
23
|
`;
|
|
@@ -157,7 +157,7 @@ export async function run(sub, args) {
|
|
|
157
157
|
case "create-email": await createEmail(args); break;
|
|
158
158
|
case "link-wallet": await linkWallet(args); break;
|
|
159
159
|
case "tier-checkout": await tierCheckout(args); break;
|
|
160
|
-
case "buy-pack": await buyPack(args); break;
|
|
160
|
+
case "buy-email-pack": await buyPack(args); break;
|
|
161
161
|
case "auto-recharge": await autoRecharge(args); break;
|
|
162
162
|
case "balance": await balance(args); break;
|
|
163
163
|
case "history": await history(args); break;
|
package/package.json
CHANGED