@txnlab/use-wallet 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  React hooks for using Algorand compatible wallets with web applications.
4
4
 
5
+ Demo `@txnlab/use-wallet` in [StoryBook](https://txnlab.github.io/use-wallet) or check out [this example](https://github.com/gabrielkuettel/use-wallet-example).
6
+
5
7
  ### Quick Start
6
8
 
7
9
  If you're using Webpack 5 (most newer React projects), you need to install polyfills. Follow [these directions.](#webpack-5-issues)
@@ -18,12 +20,12 @@ Install with NPM.
18
20
  npm install @txnlab/use-wallet
19
21
  ```
20
22
 
21
- Install the peer dependencies if you don't have them.
23
+ Install peer dependencies if you don't have them.
22
24
 
23
25
  With Yarn.
24
26
 
25
27
  ```bash
26
- yarn add @blockshake/defly-connect @perawallet/connect @randlabs/myalgo-connect @walletconnect/client algosdk
28
+ yarn add algosdk @blockshake/defly-connect @perawallet/connect @randlabs/myalgo-connect @walletconnect/client
27
29
  ```
28
30
 
29
31
  With NPM.
package/dist/cjs/index.js CHANGED
@@ -2640,7 +2640,6 @@ class BaseWallet {
2640
2640
  throw new Error("Transaction failed.");
2641
2641
  }
2642
2642
  const confirmedTransaction = await this.waitForConfirmation(sentTransaction.txId);
2643
- console.log("sent", confirmedTransaction);
2644
2643
  return {
2645
2644
  id: sentTransaction.txId,
2646
2645
  ...confirmedTransaction,