diff --git a/.changeset/pay-solana-usdc.md b/.changeset/pay-solana-usdc.md deleted file mode 100644 index 01ac9d8..0000000 --- a/.changeset/pay-solana-usdc.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@codkit/pay": patch ---- - -Fix the Solana mainnet USDC mint in `USDC` / `usdcAddress()` (used by payment links and QR codes): it was a mistyped address with no account on-chain; it is now Circle's `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`. Every other entry was checked on-chain. diff --git a/.changeset/ui-pay-button.md b/.changeset/ui-pay-button.md deleted file mode 100644 index 585a84e..0000000 --- a/.changeset/ui-pay-button.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@codkit/ui": minor ---- - -`@codkit/ui/pay`: `` and `usePaidFetch()` pay x402 endpoints from the connected EVM wallet, through a `@codkit/policy` engine that caps each payment (default 0.01 USDC) and the page's total before the wallet is asked to sign. Shows the settlement with an explorer link, or why it was refused. `@codkit/pay` and `@codkit/policy` are optional peers, needed only for this subpath. diff --git a/.changeset/wallet-sign-typed-data.md b/.changeset/wallet-sign-typed-data.md deleted file mode 100644 index 023bff8..0000000 --- a/.changeset/wallet-sign-typed-data.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@codkit/wallet": minor ---- - -EVM wallets can sign EIP-712 typed data: `useWallet("evm").signTypedData({ domain, types, primaryType, message })` (x402 payment authorizations, permits, sign-in). If the domain names another chain the adapter knows, the wallet switches to it first, because wallets refuse a domain `chainId` that isn't the active chain. diff --git a/packages/pay/CHANGELOG.md b/packages/pay/CHANGELOG.md index 0d7a457..dd53cdf 100644 --- a/packages/pay/CHANGELOG.md +++ b/packages/pay/CHANGELOG.md @@ -1,5 +1,11 @@ # @codkit/pay +## 0.1.3 + +### Patch Changes + +- c03820a: Fix the Solana mainnet USDC mint in `USDC` / `usdcAddress()` (used by payment links and QR codes): it was a mistyped address with no account on-chain; it is now Circle's `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`. Every other entry was checked on-chain. + ## 0.1.2 ### Patch Changes diff --git a/packages/pay/package.json b/packages/pay/package.json index 61fc484..15aa361 100644 --- a/packages/pay/package.json +++ b/packages/pay/package.json @@ -1,6 +1,6 @@ { "name": "@codkit/pay", - "version": "0.1.2", + "version": "0.1.3", "description": "x402 payments for agents: paywall middleware (Hono / Express / MCP), a budget-aware client bounded by @codkit/policy, Solana x402, payment links, QR codes and signed webhooks.", "license": "MIT", "engines": { diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 38ee373..f01bc2e 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,18 @@ # @codkit/ui +## 0.3.0 + +### Minor Changes + +- c03820a: `@codkit/ui/pay`: `` and `usePaidFetch()` pay x402 endpoints from the connected EVM wallet, through a `@codkit/policy` engine that caps each payment (default 0.01 USDC) and the page's total before the wallet is asked to sign. Shows the settlement with an explorer link, or why it was refused. `@codkit/pay` and `@codkit/policy` are optional peers, needed only for this subpath. + +### Patch Changes + +- Updated dependencies [c03820a] +- Updated dependencies [c03820a] + - @codkit/pay@0.1.3 + - @codkit/wallet@0.2.0 + ## 0.2.0 ### Minor Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 2354680..a4d359b 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@codkit/ui", - "version": "0.2.0", + "version": "0.3.0", "description": "Dapp UI for @codkit/wallet: ConnectButton, AddressPill, ChainSwitcher, TokenAmountInput, TxStatusToast. Import them or copy a file in.", "license": "MIT", "engines": { diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index bf685c6..a957c1d 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -1,5 +1,11 @@ # @codkit/wallet +## 0.2.0 + +### Minor Changes + +- c03820a: EVM wallets can sign EIP-712 typed data: `useWallet("evm").signTypedData({ domain, types, primaryType, message })` (x402 payment authorizations, permits, sign-in). If the domain names another chain the adapter knows, the wallet switches to it first, because wallets refuse a domain `chainId` that isn't the active chain. + ## 0.1.2 ### Patch Changes diff --git a/packages/wallet/package.json b/packages/wallet/package.json index b56df51..339da36 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@codkit/wallet", - "version": "0.1.2", + "version": "0.2.0", "description": "One useWallet() for EVM and Solana dapps: hand-wired wagmi + Wallet Standard adapters, one swappable file per ecosystem.", "license": "MIT", "engines": {