3.0.0-rc.1
Pre-releaseWhat's Changed
This is the first release candidate for use-wallet version 3.0.0. It includes all of the remaining features planned for the stable release. Note that there are some potentially breaking changes (see below).
Features
- Add Custom provider by @drichar in #181
- Implement AVM provider with Kibisis client by @kieranroneill in #175
- Wallet provider updates by @drichar in #183
- Switching networks by @drichar in #187
signTransactions
response should match length oftxnGroup
by @drichar in #189
Fixes
- WalletConnect: Handle all possible response types from
algo_signTxn
by @drichar in #185 - WalletConnect: Get default metadata from window by @drichar in #186
Other Changes
- Upgrade to pnpm v9 by @drichar in #182
- Set
@perawallet/connect-beta
to ^2.0.11 by @drichar in #184 - Revert Pera provider to Pera Connect v1 by @drichar in #188
Full Changelog: v3.0.0-beta.10...v3.0.0-rc.1
⚠️ BREAKING CHANGES
This release includes potentially breaking changes.
Apps that migrated to Pera Connect v2 beta
The default Pera provider has been reverted to use Pera Connect v1.
If you installed version v3.0.0-beta.8
or later and migrated the Pera provider to use @perawallet/connect-beta
, to continue using Pera Connect v2 you will need to change the WalletId
in your configuration:
{
- id: WalletId.PERA,
+ id: WalletId.PERA2,
options: { projectId: '<YOUR_PROJECT_ID>' }
}
See #188
Apps using the Vue adapter
In the Vue adapter, the reactive algodClient
is now a computed ref
object and must now be accessed by its value
property, e.g.,
import { useWallet } from '@txnlab/use-wallet-vue'
const { algodClient } = useWallet()
- const suggestedParams = await algodClient.getTransactionParams().do()
+ const suggestedParams = await algodClient.value.getTransactionParams().do()
See #187
Packages
- @txnlab/[email protected]
- @txnlab/[email protected]
- @txnlab/[email protected]
- @txnlab/[email protected]
Install
You can use the next
tag to install the latest v3.0.0 release candidate in your app, e.g.,
npm install @txnlab/use-wallet@next