Releases: klappay/klap-cli
Releases · klappay/klap-cli
Release list
v1.3.0
Minor Changes
- a5a2079: Bump
@klappay/nodeto4.2.0. Addsklap charges watch <id>, a live tail of a single charge's status and confirmation progress straight from its own event stream — no webhook endpoint orklap listenrelay needed.
v1.2.1
Patch Changes
- 061978c: Bump
@klappay/nodeto^4.1.1and@klappay/typesto^4.0.0.@klappay/types4.0.0 renames themoralis_webhookTransactionSourcevalue tocontract_watcherandHealthSchema.lastMoralisEventAgeSecondstolastContractWatcherEventAgeSeconds(Core's move from Moralis Streams to a self-hosted contract-watcher), but neither symbol is referenced anywhere in this CLI, so there's no behavior change here.
v1.2.0
Minor Changes
- 7a56a6b: Bumps
@klappay/nodeto^4.1.0and@klappay/typesto^3.8.0, and picks upfeePayerthrough the CLI:klap charges create --fee-payer merchant|payer(defaults tomerchant, matching the API), andklap fixtures charge --fee-payer merchant|payer.klap charges create/klap sandbox triggernow also print the fee breakdown (fee,merchantAmount) that's on everyChargein this version.
v1.1.0
Minor Changes
- dded2cd: Added
klap webhooks trigger <event>— signs and delivers a fake webhook payload straight to a local URL, with no Core involved and no login required (unless--charge <id>is used to substitute a real charge's data for the synthesized fixture). Same HMAC signature schemeklap listen --forward-toalready uses, so a handler under test can't tell the difference from a real delivery.
v1.0.0
Major Changes
-
3f55252: First real release of the CLI, rewired to work end-to-end against the actual
@klappay/node/@klappay/typespackages instead of the placeholder@klappay/sdkdependency it shipped with.- Fixed dependencies:
@klappay/sdk→@klappay/node, pinned real published@klappay/typesversions instead of an unresolvedworkspace:*. - Fixed
klap listen/klap logs --tailto hit the real relay endpoint (GET /v1/webhooks/listen). - Removed
charges create --mode continuousandsandbox trigger-event— neither corresponds to anything in the current API. charges createnow requires--amount/--expires-in(the API has no "any amount"/"never expires" charge), and prints the charge'scheckoutUrlso you can open the hosted checkout page straight from the terminal.klap listen --forward-tois now optional — omit it to just print events live, same asklap logs --tail. Both now also accept--charge <id>to filter to a single charge.- Added
klap webhooks create/list/delete/deliveries/retry. - Added
klap fixtures charge— a realisticChargeJSON object for any lifecycle status, no API call or login required. - Added a full test suite (vitest), typecheck, and biome lint, all wired into CI.
- Added a documentation site (VitePress, deployed to cli.klappay.com) and the standard klappay tooling: commitlint, husky, changesets, GitHub Actions CI/release/docs workflows.
- Fixed dependencies: