Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/docs-post-release-cli.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/docs-post-release-sdk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sdk-erc20.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# radius-cli

## 0.2.1

### Patch Changes

- fd86bf6: README: SBC has a built-in default address (from `radius-sdk`); `--sbc` / `RADIUS_SBC_ADDRESS` are only needed for another deployment.
- Updated dependencies [fd86bf6]
- Updated dependencies [2dae8ec]
- radius-sdk@0.2.0

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "radius-cli",
"version": "0.2.0",
"version": "0.2.1",
"description": "CLI wallet for the Radius network \u2014 like cast, with a built-in account",
"type": "module",
"bin": {
Expand Down
10 changes: 10 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# radius-sdk

## 0.2.0

### Minor Changes

- 2dae8ec: Add ERC-20 interactions as viem actions, exported from `radius-sdk/client`: `getTokenMetadata`, `getAllowance`, `approve`, `transfer`, `transferFrom`, `getTransfers`, `watchTransfers` and the `erc20Actions({ token?, network? })` client extension. The default token is the payment asset of the client's chain when it is a Radius preset, or of `network`; any other chain must name a `token` (a `config` error, never a silent SBC address). Writes wait for the receipt; `wait: false` returns `status: 'pending'` (`TxResult.status` is now `'pending' | 'success' | 'reverted'`). `getTransfers` defaults to the last `MAX_LOG_RANGE` (1e6) blocks and splits wider ranges into sequential `eth_getLogs` calls; `watchTransfers` is an SDK poller with a resumable `fromBlock`, ordered at-least-once delivery, `onCheckpoint`, retry without gaps, and `transferKey` as the dedupe key. `createRadiusFetch(...)` gains `allowance(spender)` and `approve(spender, amount)`; every allowance change it makes (payment-time Permit2 approval, `approvePermit2()`, `approve()`) now passes through `onApprovalRequired`, whose `ApprovalRequest` carries a `reason` and an optional `offer`.

### Patch Changes

- fd86bf6: README: drop the PoC and unpublished-preview wording, add an entry-point table, and list every `src/` module.

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "radius-sdk",
"version": "0.1.0",
"version": "0.2.0",
"description": "Accept and make Radius payments over x402 v2 \u2014 Hono / Cloudflare Workers first",
"type": "module",
"license": "MIT",
Expand Down
Loading