docs: update wallet-evm (beta.7) and wallet-evm-erc-4337 (beta.4) documentation
Created by: ihsraham
Summary
Documentation updates for @tetherto/wdk-wallet-evm v1.0.0-beta.7, @tetherto/wdk-wallet-evm-erc-4337 v1.0.0-beta.4, and @tetherto/wdk-wallet-spark v1.0.0-beta.9.
wallet-evm
- Added EIP-712 typed data signing and verification (
signTypedData,verifyTypedData) - Updated supported networks (deprecated testnets)
- Improved configuration clarity
wallet-evm-erc-4337
- Added 2 new gas payment modes: Sponsorship Policy and Native Coins
- Added per-call config override documentation
- Added
getUserOperationReceiptmethod docs - Added
ConfigurationErrortype docs - Added
isSponsored,useNativeCoins,sponsorshipPolicyIdconfig options
wallet-spark
- Upgrade spark-sdk from
0.6.1to0.6.4and bare runtime to0.0.43
Changelog
- Updated changelog for all three releases
Documentation Fixes
Corrections applied across both EVM modules to align docs with .d.ts type definitions.
wallet-evm
- Fixed
keyPairtype fromBuffertoUint8Array | null - Added missing inherited methods (
getTransactionReceipt,getAllowance,getAddress) to class tables - Added inherited statics (
getRandomSeedPhrase,isValidSeedPhrase) andseedgetter toWalletManagerEvm - Added
ApproveOptionstype definition - Removed unexported
BIP_44_ETH_DERIVATION_PATH_PREFIXconstant - Fixed
transfer()examples (single parameter, no config override) - Clarified
WalletAccountReadOnlyEvmconstructor config type asOmit<EvmWalletConfig, 'transferMaxFee'> - Fixed
providerconfig comment (optional per type definition) - Replaced placeholder token addresses with real USDT address
- Updated deprecated testnets (Mumbai → Amoy, Goerli → Sepolia)
- Fixed broken anchor link in usage.md
wallet-evm-erc-4337
- Fixed
keyPairtype fromBuffertoUint8Array | null - Fixed paymaster field requirements to be mode-specific (not unconditionally required)
- Fixed
entrypointAddresstypo toentryPointAddressin Plasma config - Removed
blockchainfield from config examples (not in type definition) - Fixed
quoteSendTransactionandquoteTransferreturn types to useOmit<> - Added
predictSafeAddressstatic method documentation - Added
FeeRatestype definition - Fixed fragile anchor link in usage.md