18 KiB
@thirdweb-dev/sdk
3.1.1
Patch Changes
-
#222
666ff5fThanks @joaquim-verges! - [SOL] expose ThirdwebSDK.fromPrivateKey() -
#224
0dade96Thanks @joaquim-verges! - [EVM] Ensure that factory/proxy flags are set before deploying via proxy
3.1.0
Minor Changes
- #213
e187d21Thanks @joaquim-verges! - new @thirdweb-dev/sdk/solana entrypoint
Patch Changes
-
#217
3c8f620Thanks @joaquim-verges! - Enable proxy deploys for released contracts -
#206
acbabc8Thanks @kumaryash90! - Gas override for relayer txns -
#216
b030a86Thanks @kumaryash90! - Update addresses
3.0.8
Patch Changes
- #205
ce05bfdThanks @joaquim-verges! - Fix Buffer usage in SDK
3.0.7
Patch Changes
- #199
5f5ab01Thanks @joaquim-verges! - Fix getOwned for signature drop
3.0.6
Patch Changes
-
#195
a80fc97Thanks @jnsdls! - add missing roles for pre-built contracts -
Updated dependencies [
24f66e3]:- @thirdweb-dev/[email protected]
3.0.5
Patch Changes
-
#167
4169b94Thanks @joaquim-verges! - Syntax changes for react native support -
#174
3b877baThanks @kumaryash90! - detect forwarder address for defender -
#163
b54f95dThanks @adam-maj! - Use independent JSON types by package -
#154
f8ab477Thanks @jnsdls! - Add fiat checkout to nft-drop, edition-drop and signature-drop -
#162
772f843Thanks @joaquim-verges! - Catch gas estimate errors in gasless tx -
#168
208b038Thanks @jnsdls! - Switch naming of exported prebuilt contract types back from<name>Implto<name>for easier use -
#161
5345479Thanks @joaquim-verges! - Allow forcing direct deploys to deploy implementations from release flow -
Updated dependencies [
493ebf0,b54f95d,cfe8bba,f4074dd,d608cea,3580182,0ccbca7,45a400f]:- @thirdweb-dev/[email protected]
3.0.4
Patch Changes
- Updated dependencies [
964add6]:- @thirdweb-dev/[email protected]
3.0.3
Patch Changes
-
#143
51dde28Thanks @joaquim-verges! - Fix using external signers with ThirdwebSDKProvider -
#133
9d74a43Thanks @joaquim-verges! - Make contract events data generic for better DX -
#135
b234c58Thanks @jnsdls! - add a new StaticJsonRpcBatchProvider to stop callingeth_getChainIdwhen possible -
Updated dependencies [
57432d2]:- @thirdweb-dev/[email protected]
3.0.2
Patch Changes
-
#131
42c79e9Thanks @joaquim-verges! - Fix editing releases from the dashboard -
#124
fe8751eThanks @joaquim-verges! - Add feature detection for Ownable
3.0.1
Patch Changes
- #122
98dd64aThanks @joaquim-verges! - handle legacy claim method signature in extensions
3.0.0
Major Changes
-
#19
82627eaThanks @joaquim-verges! - 3.0.0 updateMAJOR VERSION CHANGE
- 85% reduction in package size!
- Custom contracts are now first class citizens
Breaking changes:
- Getting contracts is now async. This allows dynamically importing contracts and reduces the weight of the SDK significantly.
before:
const token = sdk.getToken(...) const nftDrop = sdk.getNFTDrop(...)after:
const token = await sdk.getToken(...) const nftDrop = await sdk.getNFTDrop(...)- New Extension API for custom contracts
When working with custom contracts using
await sdk.getContract(...), we now expose all the convenient high level APIs for each ERC standard top level. Calling a function that is not supported in your contract will give you an error with instructions on how to unlock that functionality.before:
const contract = await sdk.getContract(...) // ERC721 contracts const contract.nft?.drop?.claim?.to(...) const contract.nft?.drop?.claim?.conditions.set(...) // ERC1155 contracts const contract.edition?.mint?.to(...) // ERC20 contracts const contract.token?.burn.tokens(...)after:
const contract = await sdk.getContract(...) // ERC721 contracts const contract.erc721.claimTo(...) const contract.erc721.claimConditions.set(...) // ERC1155 contracts const contract.erc1155.mintTo(...) // ERC20 contracts const contract.erc20.burn(...)
Patch Changes
-
#99
a70b590Thanks @jnsdls! - do not prompt to deploy again if user rejected the first call -
#115
a37bc00Thanks @jnsdls! - addsalesmodule to token pre-built contract -
#111
b442c97Thanks @nachoiacovino! - Use Enumerable to getOwned NFTs if no Supply extension found -
#106
0fa6f3fThanks @jnsdls! - add "events" to token-drop, make "getBuiltInContract" async properly -
#91
2adb8ffThanks @kumaryash90! - Add arbitrum and optimism goerli; rename testnets -
#108
5a5bc36Thanks @kumaryash90! - function for adding contents to pack -
#90
820a519Thanks @joaquim-verges! - Expose ERC721/1155Claimable detected extensions -
#106
0fa6f3fThanks @jnsdls! - make prebuilt contracts entirely async -
Updated dependencies [
820a519]:- @thirdweb-dev/[email protected]
2.4.9
Patch Changes
-
#74
baa87a1Thanks @nkrishang! - Updated forwarder address for Goerli -
#75
4079326Thanks @jnsdls! - add a default for factory deployments initializer function ("initialize") -
#71
05353fdThanks @joaquim-verges! - Allow for chain agnostic gasless tx -
Updated dependencies [
f2bdf47]:- @thirdweb-dev/[email protected]
2.4.8
Patch Changes
-
#61
3287c2bThanks @jnsdls! - fix versions in dependencies before releasing stable -
Updated dependencies [
3287c2b]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.4.7
Patch Changes
-
#59
6ba9cadThanks @jnsdls! - moveabisfrom top level intodistin contracts-js -
Updated dependencies [
6ba9cad]:- @thirdweb-dev/[email protected]
2.4.6
Patch Changes
-
Updated dependencies [
5644ccd]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.4.5
Patch Changes
-
Updated dependencies [
091f175]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.4.4
Patch Changes
- Updated dependencies [
924247a,924247a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.4.3
Patch Changes
-
#49
e59735bThanks @joaquim-verges! - Added ContractEncoder to custom contracts -contract.encoder -
#52
2eb7e94Thanks @joaquim-verges! - Support for audited Pack contract -
Updated dependencies [
2eb7e94]:- @thirdweb-dev/[email protected]
2.4.2
Patch Changes
-
#45
ed639d6Thanks @jnsdls! - switch back to preconstruct for building -
#46
349b5c1Thanks @jnsdls! - imrprove babel & tsconfig settings -
#34
5731ac2Thanks @jnsdls! - fix build for CRA and vite builds (replacedcbordependency withcbor-web) -
Updated dependencies [
127bc50,ed639d6,349b5c1,c52a43c,46ad691,5731ac2]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
2.4.1
Patch Changes
02c2b52: force version- Updated dependencies [
02c2b52]- @thirdweb-dev/[email protected]
2.4.0
Minor Changes
3abe26c: initialze monorepo packages
Patch Changes
- Updated dependencies [
3abe26c]- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]