Skip to content

3.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@drichar drichar released this 20 Jun 13:15
· 8 commits to v3 since this release

What'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

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

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

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