@txnlab/use-wallet 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -18,7 +18,7 @@ Preview a basic implementation in [Storybook](https://txnlab.github.io/use-walle
18
18
 
19
19
  ## Quick Start
20
20
 
21
- ⚠️ If you're using Webpack 5 (most newer React projects), you will need to install polyfills. Follow [these directions](#webpack-5).
21
+ ⚠️ If you're using `create-react-app` and `webpack 5` (most newer React projects), you will need to install polyfills. Follow [these directions](#webpack-5).
22
22
 
23
23
  ### Yarn
24
24
 
@@ -362,6 +362,8 @@ Note that some of the providers do not require static imports to be provided. Th
362
362
 
363
363
  ## Webpack 5
364
364
 
365
+ Note: Frameworks like `next.js` already include polyfills. This step is required if you're using `create-react-app` with `webpack 5`.
366
+
365
367
  1. Install `react-app-rewired` and the missing polyfills.
366
368
 
367
369
  ```bash
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "url": "https://github.com/txnlab/use-wallet/issues"
13
13
  },
14
14
  "homepage": "https://txnlab.github.io/use-wallet",
15
- "version": "1.0.0",
15
+ "version": "1.0.1",
16
16
  "description": "React hooks for using Algorand compatible wallets in dApps.",
17
17
  "scripts": {
18
18
  "dev": "yarn storybook",
@@ -34,7 +34,7 @@
34
34
  "@json-rpc-tools/utils": "^1.7.6",
35
35
  "@mdx-js/react": "^2.1.2",
36
36
  "@perawallet/connect": "^1.0.7",
37
- "@randlabs/myalgo-connect": "^1.3.1",
37
+ "@randlabs/myalgo-connect": "^1.4.2",
38
38
  "@rollup/plugin-commonjs": "^23.0.2",
39
39
  "@rollup/plugin-json": "^5.0.1",
40
40
  "@rollup/plugin-node-resolve": "^15.0.1",
@@ -79,11 +79,11 @@
79
79
  "peerDependencies": {
80
80
  "@blockshake/defly-connect": "^0.3.6",
81
81
  "@json-rpc-tools/utils": "^1.7.6",
82
- "@perawallet/connect": "^0.2.3",
83
- "@randlabs/myalgo-connect": "^1.3.1",
82
+ "@perawallet/connect": "^1.0.7",
83
+ "@randlabs/myalgo-connect": "^1.4.2",
84
84
  "@walletconnect/client": "^1.8.0",
85
85
  "algorand-walletconnect-qrcode-modal": "^1.8.0",
86
- "algosdk": "^1.22.0",
86
+ "algosdk": "^1.24.0",
87
87
  "react": "^18.2.0"
88
88
  },
89
89
  "main": "dist/cjs/index.js",