3.8.0 (2024-10-09)
3.7.3-docs (2024-10-07)
3.7.2 (2024-10-04)
3.7.1 (2024-10-01)
- Scripts: Replace single quotes w/ escaped double quotes (#278) (b3451d7)
- Core: Remove circular import in store.ts & MnemonicWallet (#279) (d3f2764)
3.7.0 (2024-09-27)
3.6.1 (2024-09-25)
3.6.0 (2024-09-24)
- Networks: Add voimain, aramidmain, fix caip10 fnet (#267) (fa55713)
- Wallets: Add Biatec Wallet (#255) (c1e8849)
3.5.0 (2024-09-18)
3.4.0 (2024-09-13)
3.3.0 (2024-09-11)
- Add fnet to list of valid networks and update nodely urls to new versions (#258) (07e7273)
- Update algosdk import to resolve CommonJS module issue (#259) (8743101)
3.2.1 (2024-09-05)
- Update Renovate configuration to no longer ignore
examples/**
projects' dependencies - Update all dependencies to latest versions, including
algosdk
(v2.9.0),@tanstack/store
(v0.5.5), andtypescript
(v5.5.4) - Improve dev/build process with new development scripts (#253) (0c9f976)
- Add CONTRIBUTING.md with contribution guidelines (#254) (91ebc0b)
3.2.0 (2024-09-03)
3.1.6 (2024-08-29)
3.1.5 (2024-08-21)
3.1.4 (2024-08-19)
3.1.3 (2024-08-10)
3.1.2 (2024-08-09)
3.1.1 (2024-08-09)
3.1.0 (2024-08-02)
3.0.0 (2024-07-17)
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.
- 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.
This version includes significant API changes. Please refer to the Migration Guide for detailed upgrade instructions.
3.0.0-rc.3 (2024-07-02)
- Move
algosdk
to peerDependencies (#193) (179ba8d) - Add
algosdk
to devDependencies, sync versions (#197) (332f360) - Switching networks should not disconnect wallets (#198) (47e5704)
3.0.0-rc.2 (2024-06-20)
3.0.0-rc.1 (2024-06-20)
This release includes breaking changes. Please refer to the release notes for upgrade instructions.
- Core: Add Custom provider (#181) (bdaf3ee)
- Kibisis: Implement AVM provider with Kibisis client (#175) (9a7203d)
- Core: Wallet provider updates (#183) (1b7720a)
- Core: Switching networks (#187) (ef07c4d)
- Core: Revert Pera provider to Pera Connect v1 (#188) (4a5c947)
- Core:
signTransactions
response should match length oftxnGroup
(#189) (5244482)
- WalletConnect: Handle all response types from
algo_signTxn
(#185) (1e246e1) - WalletConnect: Get default metadata from window (#186) (2c1762d)
3.0.0-beta.10 (2024-06-04)
3.0.0-beta.9 (2024-06-01)
- Core: Fallbacks for named/default Pera Connect v2 export (b4ccb40)
3.0.0-beta.8 (2024-06-01)
This release includes breaking changes. Please refer to the release notes for upgrade instructions.
3.0.0-beta.7 (2024-05-16)
- Update README with SolidJS quick start (9e2611b)
3.0.0-beta.6 (2024-05-16)
2.8.2 (2024-05-15)
3.0.0-beta.5 (2024-04-11)
3.0.0-beta.4 (2024-04-11)
- Remove
@walletconnect/utils
dependency (drastically reducing bundle size) (025d0a9)
2.8.1 (2024-04-09)
3.0.0-beta.3 (2024-04-09)
3.0.0-beta.2 (2024-04-02)
3.0.0-beta.1 (2024-03-27)
Introduces a complete rewrite of the use-wallet
library, now structured as a monorepo to support vanilla JavaScript/TypeScript applications alongside framework-specific adapters for React and Vue. Key advancements include:
- Transition to vanilla TypeScript for the core library, ensuring framework-agnostic compatibility.
- Addition of framework-specific adapters, initially for React and Vue, with plans for Solid.js and Svelte.
- Examples for vanilla TS, React, Vue, along with SSR examples for Next.js and Nuxt.
- Modernization of the toolchain, adopting PNPM for package management and Vitest for testing.
This update retains a familiar API design for ease of transition from v2, while significantly expanding the library's functionality and developer experience.
See https://github.com/TxnLab/use-wallet-js for alpha stage development history.
2.8.0 (2024-03-27)
- Allow any connected account to be set active (#141) (6220ed3)
- Lute: Fix ESLint error in LuteClient (802d297)
- Wrap postMessage in timeout to prevent race conditions (#143) (2d18482)
2.7.0 (2024-02-06)
2.6.2 (2024-01-31)
- Magic: Magic Algorand extension should be provided by consuming application (#136) (a5ee9af), closes #135
2.6.1 (2024-01-30)
- Fix package.json typo in peerDependenciesMeta (magic-sdk as optional) (4c139d9)
2.6.0 (2024-01-30)
- Kibisis: Lower
getProvider
timeout from 3 seconds to 0.75 seconds (#133) (fadf667) - Kibisis: Remove native web Crypto API dependency when generating UUID (#134) (54b43e8)
2.5.0 (2024-01-25)
2.4.0 (2024-01-17)
2.3.1 (2023-12-15)
- Throw error if
useWallet
hook is being used outside theWalletProvider
(#125) (3ccc5e0) - Use named export of
zustand/shallow
to suppress deprecation warning (263a56b)
2.3.0 (2023-11-29)
2.2.0 (2023-10-11)
2.1.3 (2023-09-22)
2.1.2 (2023-09-12)
2.1.1 (2023-08-11)
2.1.0 (2023-08-07)
2.0.0 (2023-06-27)
- Add unit tests (#61)
- The function used to initialize providers in version 1.x is no longer exported by the library. Use the
useInitializeProviders
hook or manually construct the wallet providers map that gets passed to theWalletProvider
. - There is no longer a "default" provider configuration. All providers to be supported must be explicitly defined.
- Wallet provider peer dependencies (SDK/client libraries) are no longer dynamically imported behind the scenes. The modules must be statically imported and passed to the
clientStatic
property when initializing the provider.
1.3.3 (2023-06-24)
- Upgrade
@blockshake/defly-connect
to v1.1.5 (32c7bba)
1.3.2 (2023-06-21)
- Upgrade
@blockshake/defly-connect
to v1.1.3 (b25cbeb)
1.3.1 (2023-06-20)
- Handle nested transaction arrays in
signTransactions
(#79)
- Update
signTransactions
type signature inuseWallet
hook
1.3.0 (2023-04-28)
1.2.12 (2023-04-24)
- Add missing unsigned txns to group in Defly client (#69)
1.2.11 (2023-03-29)
- Fixes jest tests, initial CI pipeline, adding commitizen, starter config for automation tools (#58)
1.2.10 (2023-03-26)
- Fixes dependency resolution errors on
npm install
for local development (aea17fc)
1.2.9 (2023-03-23)
- Fix return type of
groupTransactionsBySender
in base client (07ae640)
1.2.8 (2023-03-23)
- Upgrade @perawallet/connect to v1.2.1 (496000c)
1.2.7 (2023-03-17)
- Migration to AlgoSigner v1.10.0, which adds support for rekeyed signing (fbff1ee)
- ESLint added and source files formatted following the new ESLint/Prettier config (77b8f03)
1.2.6 (2023-03-14)
- Handle varying payload lengths in WalletConnect
signTransactions
method (79a9228)
1.2.5 (2023-03-14)
- Fix handling signed transactions in WalletConnect client (c973514)
1.2.4 (2023-03-11)
- Only reconnect to active providers in
reconnectProviders
(0a48316)
1.2.3 (2023-03-06)
- Upgrade
@perawallet/connect
tov1.1.1
, which adds Ledger support for Pera Web Wallet
1.2.2 (2023-02-07)
- Upgrade
algosdk
so that polyfills forBuffer
andCrypto
globals are no longer necessary.
1.2.1 (2023-01-25)
- Support signing transaction groups from multiple accounts with Pera
- Remove deprecated functions
1.2.0 (2023-01-19)
- adding algoworld swapper to
used by
(#29) (1bca5ab) - adding new mnemonic wallet provider for e2e testing (#28) (ca38100)
1.1.6 (2023-01-16)
- Change provider initialization failure from console error to warning.
1.1.5 (2023-01-16)
- Add
status
,isReady
andisActive
properties to check status of the providers.
1.0.5 (2022-12-29)
- Add the
indexesToSign
option tosignTransactions
to optionally specify which indexes of the group should be signed. - Add the
returnGroup
parameter tosignTransactions
to specify if all transactions that were passed should be returned, or just the ones signed by the provider.
- Fix the
signer
method so that it accepts both signed and unsigned transactions.
1.0.4 (2022-12-15)
- Enable multiple WalletConnect sessions (e.g., Pera and Defly) to be active at the same time.
- Fix hydration errors that occur with SSR frameworks like Next.js.
- Prevent the providers from being initialized during SSR, as many of them rely on client side globals like
window
andAudio
.
1.0.3 (2022-12-13)
- Prevent KMD from prompting password on app mount.
- Fix a bug where default KMD configuration wasn't valid.
- Fix a bug where providers would not disconnect if the session was killed in the wallet app (affected Defly and Pera)
1.0.2 (2022-12-07)
- remove 'audio hack' for Pera (8dc3a2d)
1.0.1 (2022-12-07)
1.0.0 (2022-12-07)
- The provider clients are now passed to child components using React Context, allowing for more configuration options.
- Provider clients provide support for both dynamic and static imports, allowing
use-wallet
to be used with frameworks that don't support dynamic imports.
- To setup the
providers
, theinitializeProviders
function should be used, and passed to theWalletProviders
context provider in the application root. - The provider ID, name, and icon are now part of the
metadata
property ofproviders
. - Using environment variables to configure the clients is deprecated.