Releases: tokenbound/sdk
v0.5.5
v0.5.4
v0.5.2
This release:
- Adds Base Sepolia as a bundled chain
- Replaces legacy goerli tests with dynamic tests within the standard test pipeline
- Cleans up types
- Exports a new CallData type, which is used throughout
Catching up on a few releases that weren't tagged:
v0.5.1
Cross-chain tweaks
v0.5.0
Add LayerZero cross-chain support
v0.4.6
v0.4.5
v0.4.4
v0.4.3
- moves multicall handling into prepareCreateAccount so V3 accounts created using the default implementation will be initialized
- moves implementationAddress + registryAddress initialization into constructor now that they're no longer customizeable on a per-method basis
- adds getSDKVersion method + test
v0.4.2
Patch release to ensure V3 accounts are initialized in createAccount when the TokenboundClient is instantiated with an implementationAddress that matches the default V3 account implementation proxy.
This fixes an issue where devs setting the implementationAddress dynamically were setting the address unnecessarily and thereby skipping the init step.
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
v0.3.12
This release makes a few changes relating to 1155s:
- Allow 1155 transfers using
transferNFT
to set amount - Add 1155 tests:
- demonstrates that 1155s can be minted using a TBA
- demonstrates that multiple 1155s can transferred using transferNFT
- demonstrates that
amount
param on transferNFT will throw when >1 for 721 tokens