Releases: thirdweb-dev/js
@thirdweb-dev/wagmi-adapter@0.2.18
@thirdweb-dev/wagmi-adapter@0.2.18
thirdweb@5.88.3
Patch Changes
- #6240
ee1bc3e
Thanks @joaquim-verges! - Dont display dollar and token values for wallet balances
thirdweb@5.88.2
Patch Changes
-
#6210
2fbf105
Thanks @joaquim-verges! - Dont retry on quote errors, show fiat value in every step -
#6209
97c9ab7
Thanks @joaquim-verges! - Batch approvals and swaps if using smart wallets -
#6217
6b2a90a
Thanks @joaquim-verges! - Handle updating session keys with new params and exposeshouldUpdateSessionKey
fromextensions/erc4337
-
#6237
fbafb65
Thanks @joaquim-verges! - PayEmbed UI polish -
#6191
66bbedb
Thanks @jcheese1! - Add treasure and treasureTopaz chain definitions -
#6234
159ffbf
Thanks @joaquim-verges! - ExposecanClaim
extension function for erc20/721/1155 drops -
#6236
6b286c7
Thanks @joaquim-verges! - Dont allow editing amoutns for non fund_wallet modes in PayEmbed
@thirdweb-dev/wagmi-adapter@0.2.17
@thirdweb-dev/wagmi-adapter@0.2.17
@thirdweb-dev/wagmi-adapter@0.2.16
@thirdweb-dev/wagmi-adapter@0.2.16
@thirdweb-dev/service-utils@0.8.8
Patch Changes
-
#6212
6f2f92d
Thanks @arcoraven! - [service-utils] Helper to call client usageV2 reporting endpoint -
#6213
cad9c74
Thanks @arcoraven! - [service-utils] Omit team_id for client usageV2 events -
#6219
91b0367
Thanks @arcoraven! - [service-utils] fix auth for cf workers -
#6207
cbfe9ec
Thanks @arcoraven! - [service-utils] Allow client-side usageV2 reporting
thirdweb@5.88.1
Patch Changes
- #6204
f1cd253
Thanks @joaquim-verges! - Update coinbase wallet sdk
thirdweb@5.88.0
Minor Changes
-
#6194
9663079
Thanks @joaquim-verges! - Added session keys to smart wallet optionsYou can now pass a
sessionKey
to thesmartWallet
options function to immediately add a session key to the smart wallet upon connection.This is great in combination with an engine backend wallet! Let's you act on behalf of the user from your backend, making executing transactions as easy as a REST API call. Also unblocks automations, like renewing a subscription, or paying for a service.
const wallet = smartWallet({ sessionKey: { address: "0x...", // the session key address (ex: engine backend wallet) permissions: { approvedTargets: ["0x..."], // allowed contract addresses (or * for all) nativeTokenLimitPerTransaction: 0.1, // max spend per transaction in ETH permissionEndTimestamp: new Date(Date.now() + 1000 * 60 * 60), // expiration date }, }, }); // this will connect the user wallet and add the session key if not already added await wallet.connect({ client: TEST_CLIENT, personalAccount, });
You can also pass the
sessionKey
to theConnectButton
,ConnectEmbed
components anduseConnect
hook.<ConnectButton client={client} accountAbstraction={{ chain, sponsorGas: true, sessionKey: { address: "0x...", permissions: { approvedTargets: "*", }, }, }} />
Also works for the
inAppWallet
smartAccount
option!const wallet = inAppWallet({ smartAccount: { chain, sponsorGas: true, sessionKey: { address: "0x...", permissions: { approvedTargets: "*", }, }, }, });
Patch Changes
-
#6193
1f6bb7c
Thanks @joaquim-verges! - Show fiat amount in PayEmbed main screen -
#6192
30e13e6
Thanks @joaquim-verges! - Allow editing pay amount mid flow -
#6190
2dfc245
Thanks @joaquim-verges! - Add fiat provider selection in PayEmbed -
#6187
ee57ded
Thanks @joaquim-verges! - Requery allowances when getting back to quote screen -
#6188
64d7bf3
Thanks @jnsdls! - when explicitly passingclientId
tocreateThirdwebClient()
prefer it over computing theclientId
from a passedsecretKey
option
@thirdweb-dev/wagmi-adapter@0.2.15
@thirdweb-dev/wagmi-adapter@0.2.15
@thirdweb-dev/wagmi-adapter@0.2.14
@thirdweb-dev/wagmi-adapter@0.2.14