Releases: thirdweb-dev/typescript-sdk
v2.3.7
What's Changed
- [ERC1155] - expose totalCirculatingSupply & rename getTotalCount => totalCount (in line with erc721) by @jnsdls in #443
- Bugfix - Incorrect entrypoint being loaded when using Node ESModules by @jameshowe in #444
- improve error logs by @jnsdls in #445
- handle ws rpc urls & alias matic -> polygon mapping by @jnsdls in #446
New Contributors
- @jameshowe made their first contribution in #444
Full Changelog: v2.3.6...v2.3.7
v2.3.6
v2.3.5
What's Changed
- Remove un-used byoc registry and factory by @joaquim-verges in #440
- improve
wallet.balance()
usability by @jnsdls in #441
Full Changelog: v2.3.4...v2.3.5
v2.3.4
What's Changed
- unify the contract interfaces between generic smartcontract & pre-built contracts by @jnsdls in #437
- Move merkletree to dev dependency by @nachoiacovino in #439
Full Changelog: v2.3.3...v2.3.4
v2.3.3
What's Changed
- Accept ethereum as network option by @nachoiacovino in #429
- Stricter bytes and bytes32 inputs as hex strings only by @joaquim-verges in #432
- split node and browser builds and export them separately to avoid dependency issues by @jnsdls in #430
- Support tuple types for thirdweb deploy by @joaquim-verges in #436
Full Changelog: v2.3.2...v2.3.3
v2.3.2
What's Changed
- Add decimals to getWrappedContents and fix example by @adam-maj in #425
- Handle new CLI pre deploy metadata by @joaquim-verges in #426
Full Changelog: v2.3.1...v2.3.2
v2.3.1
What's Changed
- Implement new thirdweb deploy flow by @joaquim-verges in #416
Full Changelog: v2.3.0...v2.3.1
v2.3.0
NEW sdk.storage
You can now use the sdk to upload and download files to IPFS with a simple API!
sdk.storage.fetch("ipfs://...");
const uploadResult = sdk.storage.upload([file1, file2]);
Check out the full documentation: https://portal.thirdweb.com/typescript/sdk.remotestorage
Breaking change
If you've been using thirdweb deploy
and interacting with your custom contracts via the SDK, the API changed slightly:
Before: contract.functions.myFunction(arg1, arg2)
After: contract.call("myFunction", arg1, arg2)
This new way gives many advantages, like gasless support and automatic waiting for tx confirmations!
What's Changed
- add sdk storage interface by @adam-maj in #394
- New generic
contract.call(fn, args)
for custom contracts by @joaquim-verges in #424
Full Changelog: v2.2.21...v2.3.0
v2.2.21
New Contract ✨ Multiwrap ✨
You can now "wrap" any number of ERC20/721/1155 tokens into a single "wrapped bundle" NFT that can be transferred, sold and "unwrapped" by someone else to receive the contents of the bundle!
This enables really creative use cases for games and dapps, we can't wait to see what you build with it!
Learn more:
What's Changed
- Add example js snippets for deploying pre-built contracts by @jarrodwatts in #422
- Implement Multiwrap Wrapper by @ndeto in #418
- Show helpful error messages when trying to wrap unapproved tokens by @joaquim-verges in #423
Full Changelog: v2.2.20...v2.2.21
v2.2.20
What's Changed
- upgrade typescript (4.7.x) and tsup (6.x.x) by @jnsdls in #417
- Implement Signature Drop SDK wrapper by @ndeto in #396
- fix: handle broken token metadata by falling back to a pre-set fallback token instead of breaking the entire call by @jnsdls in #419
- Disable sigdrop deployment for now by @joaquim-verges in #421
New Contributors
Full Changelog: v2.2.19...v2.2.20