v0.4.0
This is a big release, including initial integration of the just-released Tokenbound V3 contracts as outlined in EIP-6551. This release strives for feature parity with the legacy Tokenbound V2 account and registry implementations, while adding a few goodies from the V3 spec and setting the table for much more.
- renames prepareExecuteCall -> prepareExecution
- renames executeCall -> execute
- adds isValidSigner method
- auto-identifies usage of legacy V2 contracts to use V2 method pathways
- adds version param so devs can ensure V2 usage for older custom implementations
- changes return type of createAccount from 0x${string} to obj with {account: 0x${string}, txHash: 0x${string}}
- removes custom implementation params from createAccount and getAccount
- updates documentation
- features tests for all paths: V2 + V3 for each of Ethers5, Ethers6, and viem (154 tests total)
- updates example apps to use V3
- updates ABI exports
- bumps viem + wagmi dependencies