@rozoai/checkout 0.1.23 → 0.1.24
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 +6 -1
- package/llms.txt +9 -1
- package/package.json +1 -1
- package/scripts/dist/cli.js +429 -54
- package/scripts/dist/create-order.js +303 -28
- package/scripts/dist/quote.js +102 -6
- package/scripts/dist/receipt.js +56 -9
- package/scripts/dist/resume.js +176 -20
- package/scripts/dist/send-evm.js +132 -7
- package/scripts/dist/send-sol.js +132 -7
- package/scripts/dist/status.js +56 -9
package/README.md
CHANGED
|
@@ -90,7 +90,12 @@ be the full amount: check that the withdrawal fee is not taken out of it.
|
|
|
90
90
|
`--send` pays native coins too, as a plain transfer of the exact amount.
|
|
91
91
|
|
|
92
92
|
On-chain BTC and Tron are not supported.
|
|
93
|
-
|
|
93
|
+
|
|
94
|
+
ZEC from a shielded balance (Beta): `pay <link> --with zec --shielded` prints the
|
|
95
|
+
Unified Address, the exact amount and a ZIP-321 payment URI to scan with a shielded
|
|
96
|
+
wallet such as Zashi. The CLI never sends ZEC. Pay the exact amount in one
|
|
97
|
+
transaction; underpayments are not refunded automatically. Beta limit $1,200 per
|
|
98
|
+
payment, minimum $5. Transparent ZEC: use https://checkout.rozo.ai/zec.
|
|
94
99
|
|
|
95
100
|
## Which wallet do I need?
|
|
96
101
|
|
package/llms.txt
CHANGED
|
@@ -104,7 +104,15 @@ chainId "1" Ethereum (USDC, USDT, native ETH) · "56" BNB Chain (USDC, USDT;
|
|
|
104
104
|
native SOL) · "1500" Stellar (USDC; deposit memo REQUIRED) · "lightning" (BTC;
|
|
105
105
|
BOLT11 invoice, amounts in integer satoshis via source.amountUnit=="sats").
|
|
106
106
|
USDT is not accepted on Base or Stellar. On-chain BTC and Tron are NOT supported.
|
|
107
|
-
|
|
107
|
+
"9133" Zcash (ZEC, Beta, SHIELDED orders only via --shielded / source.shielded=true on
|
|
108
|
+
create-invoice with ?beta=zec,zec_shielded): the live payment carries source.receiverAddress
|
|
109
|
+
(u1 Unified Address), source.amount (ZEC, 8 decimals, exact-out), source.paymentUri (ZIP-321,
|
|
110
|
+
show verbatim as the QR content) and source.zec {receive, payinState, confirmations,
|
|
111
|
+
requiredConfirmations, quoteExpiresAt}. Offer only when quote-invoice lists ZEC in
|
|
112
|
+
supportedSources["9133"] and sourceMeta["ZEC@9133"].shieldedAvailable is true. Beta limit
|
|
113
|
+
$1,200 per payment, minimum $5; 1 confirmation under $110, else 2. Pay the exact amount in
|
|
114
|
+
one transaction; underpayments are not refunded automatically. The CLI never sends ZEC.
|
|
115
|
+
Transparent ZEC is not created here: use https://checkout.rozo.ai/zec.
|
|
108
116
|
Native coins (tokenSymbol "ETH", "BNB", "SOL" or "POL" on the chains above; ETH, BNB
|
|
109
117
|
and POL have 18 decimals, SOL 9): offer one only when quote-invoice lists it in
|
|
110
118
|
supportedSources for that invoice ({"<chainId>": ["USDC", "ETH", ...]}). A native
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rozoai/checkout",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Pay OpenRouter, or any Coinbase invoice, with the crypto you already hold: USDT/USDC on Solana, BNB Chain, Ethereum, Polygon or Arbitrum, USDC on Base or Stellar, BTC over Lightning, or native ETH, BNB, SOL or POL. No Coinbase account.",
|
|
6
6
|
"license": "MIT",
|