Releases: thirdweb-dev/js
Releases · thirdweb-dev/js
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
[email protected]
Minor Changes
-
#2793
4dbcbd1Thanks @jnsdls! - thirdweb/reactAdd a new optional
authprop to<ConnectButton />to allow specifying a SIWE auth flow after users connect their wallets.<ConnectButton client={client} auth={{ isLoggedIn: async (address) => { // check if the user is logged in by calling your server, etc. // then return a boolean value return true || false; }, getLoginPayload: async ({ address, chainId }) => { // send the address (and optional chainId) to your server to generate the login payload for the user to sign // you can use the `generatePayload` function from `thirdweb/auth` to generate the payload // once you have retrieved the payload return it from this function return; // <the login payload here> }, doLogin: async (loginParams) => { // send the login params to your server where you can validate them using the `verifyPayload` function // from `thirdweb/auth` // you can then set a cookie or return a token to save in local storage, etc // `isLoggedIn` will automatically get called again after this function resolves }, doLogout: async () => { // do anything you need to do such as clearing cookies, etc when the user should be logged out // `isLoggedIn` will automatically get called again after this function resolves }, }} />
Patch Changes
[email protected]
Minor Changes
-
#2806
94e354aThanks @jnsdls! - ImplementOffersin the Marketplace extensions, available viathirdweb/extensions/marketplace. -
#2814
bebcf46Thanks @jnsdls! - Add support for updating metadata for ERC1155 contracts -
#2811
1b2bfc8Thanks @joaquim-verges! - Added ERC1155 and ERC20 signature mint extensions
Patch Changes
- #2815
381b669Thanks @joaquim-verges! - Fix query invalidation when using react hooks
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
b4e7c74]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
ca2576f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
b4e7c74]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
-
#2805
ec35f32Thanks @0xFirekeeper! - Unity 4.12.1 -
Updated dependencies [
ca2576f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
4dbcbd1,d664647,b4e7c74]:- [email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
381b669,94e354a,bebcf46,1b2bfc8,ca2576f]:- [email protected]
- @thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- Updated dependencies [
b4e7c74]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]