Skip to content

Releases: TxnLab/use-wallet

v3.1.5

21 Aug 04:12
Compare
Choose a tag to compare

Changes

  • Core: Immutable state updates in store mutation functions by @drichar in #220

Full Changelog: v3.1.4...v3.1.5

Packages

  • @txnlab/use-wallet@3.1.5
  • @txnlab/use-wallet-react@3.1.5
  • @txnlab/use-wallet-solid@3.1.5
  • @txnlab/use-wallet-vue@3.1.5

v3.1.4

19 Aug 22:36
Compare
Choose a tag to compare

Changes

  • WalletConnect: Handle untyped byte arrays returned by sign request by @drichar in #218

Full Changelog: v3.1.3...v3.1.4

Packages

  • @txnlab/use-wallet@3.1.4
  • @txnlab/use-wallet-react@3.1.4
  • @txnlab/use-wallet-solid@3.1.4
  • @txnlab/use-wallet-vue@3.1.4

v3.1.3

10 Aug 08:11
Compare
Choose a tag to compare

Changes

  • Next.js Example: Resolve Webpack "module not found" errors by @drichar in #212

Full Changelog: v3.1.2...v3.1.3

Packages

  • @txnlab/use-wallet@3.1.3
  • @txnlab/use-wallet-react@3.1.3
  • @txnlab/use-wallet-solid@3.1.3
  • @txnlab/use-wallet-vue@3.1.3

v3.1.2

09 Aug 08:19
Compare
Choose a tag to compare

Changes

This release reverts the changes in #211

The fix for the Webpack "module not found" errors in https://github.com/TxnLab/use-wallet/releases/tag/v3.1.1 introduced a different bug, so this release rolls back those changes and the issue will be addressed in a future release.

Full Changelog: v3.1.1...v3.1.2

v3.1.1

09 Aug 08:02
Compare
Choose a tag to compare

Changes

Fixes

  • Fix Webpack static analysis issue with dynamic imports by @drichar in #211

Full Changelog: v3.1.0...v3.1.1

v3.1.0

02 Aug 22:04
Compare
Choose a tag to compare

Changes

Feature

Full Changelog: v3.0.0...v3.1.0

New Contributors

Packages

  • @txnlab/use-wallet@3.1.0
  • @txnlab/use-wallet-react@3.1.0
  • @txnlab/use-wallet-solid@3.1.0
  • @txnlab/use-wallet-vue@3.1.0

3.0.0

17 Jul 17:24
Compare
Choose a tag to compare

Summary

Version 3.0.0 introduces a complete rewrite of the use-wallet library, now structured as a monorepo to support vanilla JavaScript/TypeScript applications with reactive framework-specific adapters. This major release focuses on improving flexibility, performance, and developer experience.

Key Features

  • Framework-Agnostic Core: Rewritten in vanilla TypeScript for broader compatibility.
  • Framework Adapters: Initial support for React, Vue, and Solid.js with adapters for Angular and Svelte planned.
  • Enhanced Performance: More lightweight and easier to debug.
  • Expanded Examples: Includes demo apps for vanilla TypeScript, React, Vue, Solid.js, and server-side rendering examples for Next.js and Nuxt.
  • Improved Tooling: Adoption of PNPM for package management and Vitest for testing.
  • Network Switching: Easy switching between different networks (MainNet, TestNet, LocalNet).
  • Increased Test Coverage: Ensuring robustness and reliability.

Documentation

Visit txnlab.gitbook.io/use-wallet for docs, guides, and examples!

Migrating from v2.x

This version includes significant API changes. Please refer to the Migration Guide for detailed upgrade instructions.

Packages

  • @txnlab/use-wallet@3.0.0
  • @txnlab/use-wallet-react@3.0.0
  • @txnlab/use-wallet-solid@3.0.0
  • @txnlab/use-wallet-vue@3.0.0

3.0.0-rc.3

02 Jul 21:38
Compare
Choose a tag to compare
3.0.0-rc.3 Pre-release
Pre-release

What's Changed

Fixes

Full Changelog: v3.0.0-rc.2...v3.0.0-rc.3

Packages

  • @txnlab/use-wallet@3.0.0-rc.3
  • @txnlab/use-wallet-react@3.0.0-rc.3
  • @txnlab/use-wallet-solid@3.0.0-rc.3
  • @txnlab/use-wallet-vue@3.0.0-rc.3

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

3.0.0-rc.2

20 Jun 17:37
Compare
Choose a tag to compare
3.0.0-rc.2 Pre-release
Pre-release

What's Changed

This fixes a bug in the first release candidate, v3.0.0-rc.1. If you are upgrading from a beta version, read the release notes for information about potentially breaking changes you should be aware of.

Fixes

  • Fixes isTransactionArray utility function by @drichar in #190

Full Changelog: v3.0.0-rc.1...v3.0.0-rc.2

Packages

  • @txnlab/use-wallet@3.0.0-rc.2
  • @txnlab/use-wallet-react@3.0.0-rc.2
  • @txnlab/use-wallet-solid@3.0.0-rc.2
  • @txnlab/use-wallet-vue@3.0.0-rc.2

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

3.0.0-rc.1

20 Jun 13:15
Compare
Choose a tag to compare
3.0.0-rc.1 Pre-release
Pre-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

  • @txnlab/use-wallet@3.0.0-rc.1
  • @txnlab/use-wallet-react@3.0.0-rc.1
  • @txnlab/use-wallet-solid@3.0.0-rc.1
  • @txnlab/use-wallet-vue@3.0.0-rc.1

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