Version Packages#460
Merged
Merged
Conversation
✅ Deploy Preview for actions-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
aaf49ad to
39b69d6
Compare
39b69d6 to
6b2e991
Compare
its-everdred
approved these changes
May 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@eth-optimism/actions-sdk@0.7.0
Minor Changes
#430
e24b93aThanks @its-everdred! - SDK: barrel-export the lend / approval / capability vocabulary that downstreamtooling was reaching past the public API to consume.
ApprovalMode,LendProviderName, and the newLendActionliteralfrom the package root.
APPROVAL_MODESandLEND_ACTIONS.ApprovalModeandLendActionare now derived from these tuples, so thetype and the runtime list cannot drift.
CHAIN_SHORTNAMES, a canonicalRecord<SupportedChainId, string>ofhuman-friendly chain shortnames (
base,op-sepolia, ...). Use this asthe source of truth for
--chainparsing and any other surface that mapsuser-typed chain strings to a
SupportedChainId. Adding a newSupportedChainIdrequires a corresponding entry here.getLendMarketAllowlist(lend), which flattens every provider'smarketAllowlistfrom aLendConfigand skips thesettingssibling.Wallet.has(namespace)capability check for thelendandswapnamespaces. Lets callers branch on whether a namespace was registered
without poking at internal fields.
CLI: drop the local mirrors and reach for the SDK exports instead. Help-text
examples now derive from the resolved config (asset symbols, chain shortnames,
chain ids) rather than hard-coding
USDC_DEMO/base-sepolia/84532.runLendMarketpasses the resolvedLendMarketConfigstraight through toactions.lend.getMarketinstead of rebuilding{address, chainId}.#430
afc2b97Thanks @its-everdred! - Perf: cut EOA swap dispatch wall-time on fast L2s.EOAWallet.sendBatchno longer waits forconfirmations: 2between sub-txs.One inclusion wait per tx is enough now that
EOAWallet.walletClientattachesviem's default
nonceManagerto the signer, which keeps nonces sequentiallocally instead of relying on
eth_getTransactionCount('pending')on everysend (avoids races on load-balanced RPCs).
ChainManagernow defaults the viempollingIntervalper chain class:1000ms for L2-class chains (~1-2s blocks) and 4000ms for L1 mainnet/sepolia
(~12s blocks). Saves ~3 RPC poll cycles per receipt wait on Base/OP/Unichain.
This default applies to the public client used by
getPublicClient()and tothe public client wrapping the simple bundler client. There is no override
knob; if a real consumer needs one we'll add it then.
Behavioural notes for consumers:
sendBatchis sequential and assumes a sequencer-ordered chain (e.g.OP-stack L2s). On reorg-heavy chains, callers should consider an additional
confirmations pass at the call site.
router when
approvalMode: 'max'is requested — there is no Permit2intermediary as on Uniswap. The full allowance persists at the router until
manually revoked. Continue to scope
approvalMode: 'max'to demo/testnetpaths.
#424
cf12b15Thanks @its-everdred! - ExportSWAP_PROVIDER_NAMES,LEND_PROVIDER_NAMES, andAPPROVAL_MODESruntime constants from the SDK barrel. The existingSwapProviderName,LendProviderName, andApprovalModetypes are now derived from these constants, so adding a new value is a single-line change. Consumers (CLI, custom validators) that need to enumerate names at runtime can drop their hardcoded copies and import the canonical lists.#461
f288e42Thanks @its-everdred! - - Drop 2-confirmation wait inEOAWallet.sendBatch; attach viemnonceManagerto the signer.pollingIntervalto 1000ms on L2 chains and 4000ms on L1.APPROVAL_MODES,LEND_PROVIDER_NAMES,SWAP_PROVIDER_NAMES, andLEND_ACTIONSruntime tuples; derive matching types from them.CHAIN_SHORTNAMES, a canonicalSupportedChainId→ shortname map derived from viem.ApprovalMode,LendProviderName, and the newLendActionliteral.getLendMarketAllowlist(lend)to flatten provider allowlists from aLendConfig.Wallet.has(namespace)capability check for'lend'and'swap'.payerIsUser: true, resolvingTRANSFER_FAILEDon EOA swaps.actions-cli@0.3.0
Minor Changes
52ba69fThanks @its-everdred! - Add actions-cli package: agent-first CLI for the Actions SDK. Ships scaffolding,JSON output pipeline, smart-wallet bootstrap, and smoke commands (
assets,chains,wallet address,wallet balance). Lend and swap namespaces landin subsequent PRs.
Patch Changes
#430
e24b93aThanks @its-everdred! - SDK: barrel-export the lend / approval / capability vocabulary that downstreamtooling was reaching past the public API to consume.
ApprovalMode,LendProviderName, and the newLendActionliteralfrom the package root.
APPROVAL_MODESandLEND_ACTIONS.ApprovalModeandLendActionare now derived from these tuples, so thetype and the runtime list cannot drift.
CHAIN_SHORTNAMES, a canonicalRecord<SupportedChainId, string>ofhuman-friendly chain shortnames (
base,op-sepolia, ...). Use this asthe source of truth for
--chainparsing and any other surface that mapsuser-typed chain strings to a
SupportedChainId. Adding a newSupportedChainIdrequires a corresponding entry here.getLendMarketAllowlist(lend), which flattens every provider'smarketAllowlistfrom aLendConfigand skips thesettingssibling.Wallet.has(namespace)capability check for thelendandswapnamespaces. Lets callers branch on whether a namespace was registered
without poking at internal fields.
CLI: drop the local mirrors and reach for the SDK exports instead. Help-text
examples now derive from the resolved config (asset symbols, chain shortnames,
chain ids) rather than hard-coding
USDC_DEMO/base-sepolia/84532.runLendMarketpasses the resolvedLendMarketConfigstraight through toactions.lend.getMarketinstead of rebuilding{address, chainId}.Updated dependencies [
e24b93a,afc2b97,cf12b15,f288e42]:@eth-optimism/actions-service@0.2.3
Patch Changes
e24b93a,afc2b97,cf12b15,f288e42]:actions-ui@0.2.3
Patch Changes
e24b93a,afc2b97,cf12b15,f288e42]: