Releases: thirdweb-dev/js
[email protected]
Minor Changes
-
#4392
c5b9d1c
Thanks @jnsdls! - [Extensions] Erc20 Drop ClaimCondition enhancements -
#4391
f9c351c
Thanks @jnsdls! - [Extensions] Erc721 Drop ClaimCondition enhancements -
54f0294
Thanks @jnsdls! - [Extensions] Erc1155 Drop ClaimCondition enhancements
Patch Changes
-
#4393
f383fc7
Thanks @kumaryash90! - resolve implementation for matic proxy implementation slot -
a098224
Thanks @jnsdls! - remove unusable singlephase claim condition extension
[email protected]
Patch Changes
-
#4388
82a30af
Thanks @edwardysun! - Update setting default source chain and token -
#4375
edb95d0
Thanks @jnsdls! - [Extensions] expose permission detection logic -
#4390
d74e61b
Thanks @MananTank! - Fix Swap Fees layout in fees drawer in pay UI -
#4319
73e5dc7
Thanks @joaquim-verges! - Fix direct payments to the same wallet -
#4382
9e8d3e6
Thanks @MananTank! - Add props for hiding "Send", "Receive" and "Send" buttons in Connect Details Modal UI forConnectButton
component. By default, all buttons are visible in the modal.<ConnectButton detailsModal={{ hideSendFunds: false, hideReceiveFunds: true, hideBuyFunds: false, }} />
-
#4363
066aede
Thanks @kien-ngo! - Allow to specify "from" and "to" props for the ClaimButton
[email protected]
Minor Changes
- #4334
6432e8d
Thanks @gregfromstl! - Adds L2 ENS name resolution
Patch Changes
-
#4270
5475551
Thanks @gregfromstl! - Allow accepting a string for signature mint UIDs -
#4336
8b137f0
Thanks @gregfromstl! - Hide in-app wallet connection in Pay Embed -
#4344
915e7fb
Thanks @kien-ngo! - Fix merkletree proof for Drop contracts -
#4343
a2f2c7e
Thanks @joaquim-verges! - Better error message when smart wallet connection fails due to rpc error -
#4327
bdb814d
Thanks @kien-ngo! - Fix nft approval for CreateDirectListingButton
[email protected]
Minor Changes
-
#4179
42d5c65
Thanks @kien-ngo! - Add NFT prebuilt componentsimport { getContract } from "thirdweb"; import { NFT } from "thirdweb/react"; const contract = getContract({ address: "0x...", chain: ethereum, client: yourThirdwebClient, }); <NFT contract={contract} tokenId={0n}> <Suspense fallback={"Loading media..."}> <NFT.Media /> </Suspense> </NFT>;
Patch Changes
-
#4316
a65bb88
Thanks @gregfromstl! - Include from address in in-app wallet transactions -
#4322
3e425ec
Thanks @gregfromstl! - Fix accessibility warnings -
#4317
1e70bbf
Thanks @gregfromstl! - Automatic retries for React Native in-app wallet logins -
#4306
9d6eb27
Thanks @gregfromstl! - Fix programmatic deployments with smart accounts -
#4328
c97b1a5
Thanks @edwardysun! - Update default source chain selection in PayEmbed
[email protected]
Patch Changes
-
#4264
b661ce7
Thanks @kien-ngo! - Add extension for deploying VoteERC20 contract -
#4291
f346bb8
Thanks @joaquim-verges! - ZkSync gasPubPerData increase for faster inclusion -
#4271
fcf8f89
Thanks @alecananian! - Added overrides for connected wallet name and avatar in details button and modal -
#4295
db2ee85
Thanks @gregfromstl! - Adds prop to require TOS or Privacy Policy acceptance before connecting to an in-app wallet -
#4106
c116597
Thanks @joaquim-verges! - Support Entrypoint v0.7 for smart accounts -
#4307
dc79abd
Thanks @MananTank! - FixNFTMetadata
type - removeid
property -
#4294
09bb251
Thanks @ElasticBottle! - fix: ecosystem wallet signing modal should be clickable even when there's a pop up beneath -
#4286
dda57ea
Thanks @edwardysun! - No retries on permanent failures on Pay quotes
[email protected]
Patch Changes
-
#4250
41fbdaf
Thanks @gregfromstl! - Add overload tosignMessage
to pass an account rather than a private keyimport { signMessage } from "thirdweb/utils"; await signMessage({ message: "Hello, world!", account, });
-
#4267
7a2de70
Thanks @alecananian! - AddedhideSwitchWallet
param to wallet details modal -
#4224
1405598
Thanks @IDubuque! - Added support for direct transfers in Pay -
#4269
120d61f
Thanks @MananTank! - Show wallet balance with upto 5 decimal places in UI components -
#4274
a0aea23
Thanks @gregfromstl! - Fix popup and window auth modes conflicting on firefox -
#4244
44e8e7b
Thanks @MananTank! - - Pay UI now selects the fiat currency based on the user's location / timezone- Add Japanese Yen (JPY) as a supported fiat currency for thirdweb Pay
- Added option to configure the default fiat currency for the Pay UI
Examples
<PayEmbed client={client} payOptions={{ buyWithFiat: { prefillSource: { currency: "CAD", }, }, }} />
<ConnectButton client={client} detailsModal={{ payOptions: { buyWithFiat: { prefillSource: { currency: "JPY", }, }, }, }} />
const sendTransaction = useSendTransaction({ payModal: { buyWithFiat: { prefillSource: { currency: "CAD", }, }, }, });
<TransactionButton transaction={() => someTx} payModal={{ buyWithFiat: { prefillSource: { currency: "CAD", }, }, }} > some tx </TransactionButton>
[email protected]
Patch Changes
-
#4237
b38308d
Thanks @gregfromstl! - Enable external redirects for electron supportimport { authenticate } from "thirdweb/wallets/in-app"; const result = await authenticate({ client, strategy: "google", redirectUrl: "https://example.org", mode: "window", });
-
#4213
6c87d7b
Thanks @MananTank! - Fix "conditionally rendereed hooks error" in various components inthirdweb/react
andthirdweb/react-native
-
#4214
0a1bce8
Thanks @gregfromstl! - Fix custom image metadata on in-app wallets -
#4239
d93ec63
Thanks @joaquim-verges! - Fix passkey domain not being respected on login
[email protected]
Minor Changes
-
#4191
42cdc3a
Thanks @gregfromstl! - Updates connect modal styles -
#4124
246701d
Thanks @gregfromstl! - Adds the ability to link a wallet in the Connect UI
Patch Changes
-
#4128
ef9cc55
Thanks @kien-ngo! - Expose max() & min() util methods for bigints -
#4172
cb591aa
Thanks @joaquim-verges! - Only show pay modal if active wallet does not have enough funds for a paid transaction -
#4177
bd46699
Thanks @kien-ngo! - Expsose GaslessConfigs typeconst gaslessOptions: GaslessOptions = { provider: "engine", relayerUrl: "https://thirdweb.engine-***.thirdweb.com/relayer/***", relayerForwarderAddress: "0x...", };
-
#4211
4abf7a7
Thanks @MananTank! - Fix Conditionally rendered hook error when Buying funds using fiat
[email protected]
Patch Changes
-
#4173
7778063
Thanks @gregfromstl! - Update Blobbie appearance -
#4154
9133b45
Thanks @kien-ngo! - Update tsdocs for Vote extensions -
#4150
a43907e
Thanks @kien-ngo! - Lens's resolveAddress for sending crypto with lens handles -
#4163
fc8daaa
Thanks @kien-ngo! - Export util method: isBytes -
#4165
43f9319
Thanks @kien-ngo! - Add GaslessOptions to useSendAndConfirmTransaction
[email protected]
Minor Changes
Patch Changes
-
#4120
8253524
Thanks @gregfromstl! - Throw error when no encryption key is provided to custom auth -
#4159
cf4443a
Thanks @gregfromstl! - Improves the Blobbie algorithm -
#4126
13764f1
Thanks @gregfromstl! - Connect UI cosmetic improvements -
#4157
355795a
Thanks @gregfromstl! - Fix text wrapping on Connect Button -
#4160
e0dcc64
Thanks @gregfromstl! - Fix connect button border on firefox browser -
#4156
f0d6e34
Thanks @gregfromstl! - Fix smart contract wallet signature validation on older chains