@rozoai/checkout 0.1.22 → 0.1.23

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
@@ -80,7 +80,7 @@ npx @rozoai/checkout pay <coinbase-link> --with usdt-solana
80
80
  | POL | `pol-polygon` or `pol` | `137` | 18 decimals |
81
81
 
82
82
  A native coin is offered only when the invoice's quote lists it (`quote` shows
83
- which), and only for invoices up to $2,000. The order is **exact-out**, like
83
+ which), and only for invoices up to $3,500. The order is **exact-out**, like
84
84
  Lightning: send exactly the coin amount in the deposit block. Its price is
85
85
  locked only until the time shown (about an hour); after that, do not send it,
86
86
  let the order expire and start a new one. The coin amount includes an FX spread
@@ -33,7 +33,7 @@ los agentes deben pasar siempre `--with`: el selector solo aparece en una
33
33
  terminal y no hay moneda por defecto.
34
34
 
35
35
  Una moneda nativa solo se ofrece cuando la cotización de la factura la incluye,
36
- para facturas de hasta $2,000 (ETH nativo en Ethereum: mínimo $1). Es exact-out:
36
+ para facturas de hasta $3,500 (ETH nativo en Ethereum: mínimo $1). Es exact-out:
37
37
  envía exactamente la cantidad indicada antes de que termine el precio fijado
38
38
  (alrededor de una hora), y guarda un poco de la misma moneda para el gas. El BTC
39
39
  on-chain y Tron no están soportados.
@@ -30,7 +30,7 @@ npx @rozoai/checkout pay https://payments.coinbase.com/payment-links/pl_01YOURLI
30
30
  スクリプトやエージェントでは必ず `--with` を渡してください。対話式の選択は端末でのみ
31
31
  表示され、既定の通貨はありません。
32
32
 
33
- ネイティブコインは、インボイスの見積もりに含まれている場合のみ使えます(上限 $2,000、Ethereum の ETH は最低 $1)。
33
+ ネイティブコインは、インボイスの見積もりに含まれている場合のみ使えます(上限 $3,500、Ethereum の ETH は最低 $1)。
34
34
  受取額固定(exact-out)なので、表示された数量を価格固定の期限(約 1 時間)までに正確に送り、ガス代として同じコインを少し残してください。
35
35
  オンチェーンの BTC と Tron には対応していません。
36
36
  Zcash の ZEC(Beta)は https://checkout.rozo.ai/zec を使ってください。この CLI では ZEC の注文は作れません。
@@ -33,7 +33,7 @@ and the native coins `eth-ethereum`, `eth-base`, `eth-arbitrum`, `bnb-bnb`,
33
33
  only appears on a terminal, and there is no default coin.
34
34
 
35
35
  A native coin is offered only when the invoice's quote lists it, for invoices up
36
- to $2,000 (native ETH on Ethereum: $1 minimum). It is exact-out: send exactly
36
+ to $3,500 (native ETH on Ethereum: $1 minimum). It is exact-out: send exactly
37
37
  the coin amount shown, before its price lock ends (about an hour), and keep a
38
38
  little of the same coin for gas. On-chain BTC and Tron are not supported.
39
39
  ZEC on Zcash (Beta): use https://checkout.rozo.ai/zec, this CLI does not create ZEC orders.
@@ -22,7 +22,7 @@ npx @rozoai/checkout pay https://payments.coinbase.com/payment-links/pl_01YOURLI
22
22
 
23
23
  `--with` 可选的币种有:`usdt-solana`、`usdc-solana`、`usdt-bnb`、`usdc-bnb`、`usdt-ethereum`、`usdc-ethereum`、`usdt-polygon`、`usdc-polygon`、`usdt-arbitrum`、`usdc-arbitrum`、`usdc-base`、`usdc-stellar`、`btc-lightning`,以及原生币 `eth-ethereum`、`eth-base`、`eth-arbitrum`、`bnb-bnb`、`sol-solana`、`pol-polygon`。脚本和 agent 必须显式传 `--with`:交互式选择只在终端里出现,而且没有默认币种。
24
24
 
25
- 原生币只有在这张账单的报价列出时才能用,账单上限 $2,000(Ethereum 上的 ETH 最低 $1)。原生币是精确到账(exact-out):在币价锁定结束前(约 1 小时)按显示的币数精确发送,并留一点同一种币付 gas。链上 BTC 和 Tron 不支持。Zcash 上的 ZEC(Beta):请用 https://checkout.rozo.ai/zec,本 CLI 不创建 ZEC 订单。
25
+ 原生币只有在这张账单的报价列出时才能用,账单上限 $3,500(Ethereum 上的 ETH 最低 $1)。原生币是精确到账(exact-out):在币价锁定结束前(约 1 小时)按显示的币数精确发送,并留一点同一种币付 gas。链上 BTC 和 Tron 不支持。Zcash 上的 ZEC(Beta):请用 https://checkout.rozo.ai/zec,本 CLI 不创建 ZEC 订单。
26
26
 
27
27
  默认情况下它只是打印一个地址,让你用任意钱包去付 —— 不需要私钥,也不需要任何配置。只有当你想让 CLI 改从热钱包签名时才加 `--send`;加 `--json` 输出机器可读格式。
28
28
 
package/docs/README.es.md CHANGED
@@ -50,7 +50,7 @@ npx @rozoai/checkout pay <coinbase-link> --with usdt-solana
50
50
  | SOL | `sol-solana` o `sol` | `900` | 9 decimales (lamports) |
51
51
  | POL | `pol-polygon` o `pol` | `137` | 18 decimales |
52
52
 
53
- Una moneda nativa solo se ofrece cuando la cotización de la factura la incluye (`quote` lo muestra), y solo para facturas de hasta $2,000. La orden es **exact-out**, como Lightning: envía exactamente la cantidad de moneda del bloque de depósito. Su precio queda fijado solo hasta la hora indicada (alrededor de una hora); pasada esa hora, no la envíes: deja que la orden expire y crea una nueva. La cantidad incluye un diferencial cambiario además de la comisión de servicio, y la billetera necesita un poco más de la misma moneda para la comisión de red. Si pagas desde un exchange, debe llegar la cantidad completa: comprueba que la comisión de retiro no se descuente de ella. `--send` también paga monedas nativas, como una transferencia normal de la cantidad exacta.
53
+ Una moneda nativa solo se ofrece cuando la cotización de la factura la incluye (`quote` lo muestra), y solo para facturas de hasta $3,500. La orden es **exact-out**, como Lightning: envía exactamente la cantidad de moneda del bloque de depósito. Su precio queda fijado solo hasta la hora indicada (alrededor de una hora); pasada esa hora, no la envíes: deja que la orden expire y crea una nueva. La cantidad incluye un diferencial cambiario además de la comisión de servicio, y la billetera necesita un poco más de la misma moneda para la comisión de red. Si pagas desde un exchange, debe llegar la cantidad completa: comprueba que la comisión de retiro no se descuente de ella. `--send` también paga monedas nativas, como una transferencia normal de la cantidad exacta.
54
54
 
55
55
  El BTC on-chain y Tron no están soportados.
56
56
  ZEC en Zcash (Beta): usa https://checkout.rozo.ai/zec, esta CLI no crea órdenes en ZEC.
package/docs/README.ja.md CHANGED
@@ -48,7 +48,7 @@ npx @rozoai/checkout pay <coinbase-link> --with usdt-solana
48
48
  | SOL | `sol-solana` または `sol` | `900` | 小数点以下 9 桁(lamports) |
49
49
  | POL | `pol-polygon` または `pol` | `137` | 小数点以下 18 桁 |
50
50
 
51
- ネイティブコインは、そのインボイスの見積もりに含まれている場合にのみ使えます(`quote` で確認できます)。上限は 1 件 $2,000 です。注文は Lightning と同じく**exact-out(受取額固定)**で、入金ブロックのコイン数量をそのまま正確に送ってください。価格は表示された時刻(約 1 時間)までしか固定されません。それを過ぎたら送らず、注文の期限切れを待って新しく作り直してください。コイン数量にはサービス手数料に加えて為替スプレッドが含まれます。ウォレットにはネットワーク手数料用に同じコインが少し余分に必要です。取引所から出金する場合は、着金額が全額になるよう、出金手数料が差し引かれないことを確認してください。`--send` もネイティブコインに対応しており、正確な数量の通常送金として送ります。
51
+ ネイティブコインは、そのインボイスの見積もりに含まれている場合にのみ使えます(`quote` で確認できます)。上限は 1 件 $3,500 です。注文は Lightning と同じく**exact-out(受取額固定)**で、入金ブロックのコイン数量をそのまま正確に送ってください。価格は表示された時刻(約 1 時間)までしか固定されません。それを過ぎたら送らず、注文の期限切れを待って新しく作り直してください。コイン数量にはサービス手数料に加えて為替スプレッドが含まれます。ウォレットにはネットワーク手数料用に同じコインが少し余分に必要です。取引所から出金する場合は、着金額が全額になるよう、出金手数料が差し引かれないことを確認してください。`--send` もネイティブコインに対応しており、正確な数量の通常送金として送ります。
52
52
 
53
53
  オンチェーンの BTC と Tron には対応していません。
54
54
  Zcash の ZEC(Beta)は https://checkout.rozo.ai/zec を使ってください。この CLI では ZEC の注文は作れません。
package/docs/README.zh.md CHANGED
@@ -45,7 +45,7 @@ npx @rozoai/checkout pay <coinbase-link> --with usdt-solana
45
45
  | SOL | `sol-solana` 或 `sol` | `900` | 9 位小数(lamports) |
46
46
  | POL | `pol-polygon` 或 `pol` | `137` | 18 位小数 |
47
47
 
48
- 只有当这张账单的报价列出某个原生币时才能用它(`quote` 会显示),且账单不超过 $2,000。原生币订单是**精确到账(exact-out)**,和闪电网络一样:按充值信息块里的币数一分不差地发送。币价只锁定到显示的时间(约 1 小时);过了这个时间就不要再发,让订单过期后重新下单。币数里在服务费之外还含汇率价差,钱包里还需要多留一点同一种币付网络费。从交易所提币时,到账金额必须是完整金额:确认提币手续费没有从中扣除。`--send` 也能付原生币,按精确金额做一笔普通转账。
48
+ 只有当这张账单的报价列出某个原生币时才能用它(`quote` 会显示),且账单不超过 $3,500。原生币订单是**精确到账(exact-out)**,和闪电网络一样:按充值信息块里的币数一分不差地发送。币价只锁定到显示的时间(约 1 小时);过了这个时间就不要再发,让订单过期后重新下单。币数里在服务费之外还含汇率价差,钱包里还需要多留一点同一种币付网络费。从交易所提币时,到账金额必须是完整金额:确认提币手续费没有从中扣除。`--send` 也能付原生币,按精确金额做一笔普通转账。
49
49
 
50
50
  链上 BTC 和 Tron 不支持。
51
51
  Zcash 上的 ZEC(Beta):请用 https://checkout.rozo.ai/zec,本 CLI 不创建 ZEC 订单。
package/llms.txt CHANGED
@@ -113,7 +113,7 @@ and the price is locked only until quoteExpiresAt (returned by create-invoice an
113
113
  the payments GET; the order's own expiresAt is later). Never send after
114
114
  quoteExpiresAt. The coin amount includes an FX spread on top of the service fee, and
115
115
  the payer also needs some of the same coin for gas. Native orders are limited to
116
- $2,000 per invoice (native ETH on Ethereum: $1 minimum; quote-invoice may report
116
+ $3,500 per invoice (native ETH on Ethereum: $1 minimum; quote-invoice may report
117
117
  per-coin minimums in nativeMinUsd). The CLI enforces all of this, and --send pays a
118
118
  native coin as a plain transfer of the exact amount.
119
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rozoai/checkout",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
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",
@@ -41676,7 +41676,7 @@ var NATIVE_COINS = Object.freeze({
41676
41676
  "137:POL": { chainId: "137", symbol: "POL", decimals: 18 },
41677
41677
  "900:SOL": { chainId: "900", symbol: "SOL", decimals: 9 }
41678
41678
  });
41679
- var NATIVE_MAX_USD = 2e3;
41679
+ var NATIVE_MAX_USD = 3500;
41680
41680
  var NATIVE_MIN_USD_FALLBACK = Object.freeze({ "1:ETH": 1 });
41681
41681
  var DECIMALS = {
41682
41682
  "1:USDC": 6,
@@ -42354,7 +42354,7 @@ COINS (--with)
42354
42354
 
42355
42355
  NATIVE COINS
42356
42356
  Offered only when the invoice's quote lists the coin, and only for invoices
42357
- up to $2,000 (native ETH on Ethereum: $1 minimum). The order is exact-out:
42357
+ up to $3,500 (native ETH on Ethereum: $1 minimum). The order is exact-out:
42358
42358
  send exactly the coin amount shown. Its price is locked only until the time
42359
42359
  shown (about an hour); after that do not send, start a new order. The coin
42360
42360
  amount includes an FX spread on top of the service fee, and your wallet also
@@ -55910,7 +55910,7 @@ async function main(argv) {
55910
55910
  // and the native coins it makes payable for this invoice.
55911
55911
  routerSupportedSources: quote?.supportedSources && typeof quote.supportedSources === "object" ? quote.supportedSources : null,
55912
55912
  nativeOffered,
55913
- nativeNote: "Native coins are exact-out: the coin amount is fixed at order creation and its price is locked only until quoteExpiresAt. Up to $2,000 per invoice; native ETH on Ethereum needs $1.",
55913
+ nativeNote: "Native coins are exact-out: the coin amount is fixed at order creation and its price is locked only until quoteExpiresAt. Up to $3,500 per invoice; native ETH on Ethereum needs $1.",
55914
55914
  quoteReceipt: quote?.quoteReceipt ?? null,
55915
55915
  quoteReceiptTtlSeconds: 60,
55916
55916
  quoteReceiptNote: "Short-lived (~60s). create-order.js takes its own fresh quote; do not carry this over.",
@@ -770,7 +770,7 @@ var NATIVE_COINS = Object.freeze({
770
770
  "137:POL": { chainId: "137", symbol: "POL", decimals: 18 },
771
771
  "900:SOL": { chainId: "900", symbol: "SOL", decimals: 9 }
772
772
  });
773
- var NATIVE_MAX_USD = 2e3;
773
+ var NATIVE_MAX_USD = 3500;
774
774
  var NATIVE_MIN_USD_FALLBACK = Object.freeze({ "1:ETH": 1 });
775
775
  var DECIMALS = {
776
776
  "1:USDC": 6,
@@ -353,7 +353,7 @@ var NATIVE_COINS = Object.freeze({
353
353
  "137:POL": { chainId: "137", symbol: "POL", decimals: 18 },
354
354
  "900:SOL": { chainId: "900", symbol: "SOL", decimals: 9 }
355
355
  });
356
- var NATIVE_MAX_USD = 2e3;
356
+ var NATIVE_MAX_USD = 3500;
357
357
  var NATIVE_MIN_USD_FALLBACK = Object.freeze({ "1:ETH": 1 });
358
358
  function decimalsKey(chainId, tokenSymbol) {
359
359
  return `${String(chainId).trim()}:${String(tokenSymbol || "").trim().toUpperCase()}`;
@@ -572,7 +572,7 @@ async function main(argv) {
572
572
  // and the native coins it makes payable for this invoice.
573
573
  routerSupportedSources: quote?.supportedSources && typeof quote.supportedSources === "object" ? quote.supportedSources : null,
574
574
  nativeOffered,
575
- nativeNote: "Native coins are exact-out: the coin amount is fixed at order creation and its price is locked only until quoteExpiresAt. Up to $2,000 per invoice; native ETH on Ethereum needs $1.",
575
+ nativeNote: "Native coins are exact-out: the coin amount is fixed at order creation and its price is locked only until quoteExpiresAt. Up to $3,500 per invoice; native ETH on Ethereum needs $1.",
576
576
  quoteReceipt: quote?.quoteReceipt ?? null,
577
577
  quoteReceiptTtlSeconds: 60,
578
578
  quoteReceiptNote: "Short-lived (~60s). create-order.js takes its own fresh quote; do not carry this over.",