Conversation
357c114 to
9c4191e
Compare
9c4191e to
f8e1805
Compare
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
@delvtech/drift@0.10.1
Patch Changes
b9fc425: EIP-5792 Wallet Call API Implementation
🚀 Features
EIP-5792 Wallet Call API Support
getWalletCapabilities(),getCallsStatus(),showCallsStatus(), andsendCalls()methods + comprehensive type definitions.MockAdapter:onGetWalletCapabilities()onGetCallsStatus()onShowCallsStatus()onSendCalls()getWalletCallsStatusLabel()util function for generating user-friendly labels for wallet call statuses.New Web Example Application
🔧 Improvements
Enhanced Testing Utilities
randomSelectionutility for selecting random items from arrays.createStubWalletCallsStatusfor testing EIP-5792 functionality.MockAdapterwith better type definitions and expanded functionality.OnReadParamsOnSimulateWriteParamsOnMulticallParamsOnDeployParamsOnWriteParamsOnSendCallsParamsStubMulticallCallParamsStubWalletCallParams.Call Preparation and Processing
prepareCallutility function for unified call preparation across different call types (function calls, deploy calls, encoded calls, bytecode calls).Type System Enhancements
BytecodeCallParamstype for bytecode-based calls without contract addresses.PartialByOptionalutility type for better optional property handling.Adapter Improvements
MockAdapter.getSignerAddressand EIP-5792 calls.NotImplementedErroras a generalized replacement for stub-specific errors.Client and Caching Enhancements
Utility Functions
toHexStringutility for flexible hex string conversionisHexStringwith configurableprefixoption to control0xprefix enforcement.DriftErrorto automatically use constructor name for subclasses.🐛 Bug Fixes
Package Configuration
@delvtech/drift-web3package.json fields to point to correct dist files.Type Safety
FunctionCallParamsto infer function names even whenaddressis missing.📦 Dependencies
.nvmrc) tov24🔄 Internal Changes
.jsoncto.json).Breaking Changes: None
Migration Guide: This release is fully backward compatible. The new EIP-5792 functionality is opt-in and doesn't affect existing adapter usage patterns.
@delvtech/drift-ethers@0.10.1
@delvtech/drift-ethers-v5@0.10.1
@delvtech/drift-viem@0.10.1
@delvtech/drift-web3@0.10.1