@monygroupcorp/micro-web3 1.3.0 → 1.3.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.
- package/dist/micro-web3.cjs +1 -1
- package/dist/micro-web3.cjs.map +1 -1
- package/dist/micro-web3.esm.js +1 -1
- package/dist/micro-web3.esm.js.map +1 -1
- package/dist/micro-web3.umd.js +1 -1
- package/dist/micro-web3.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FloatingWalletButton/FloatingWalletButton.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monygroupcorp/micro-web3",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A lean, reusable Web3 toolkit with components for wallet connection, IPFS, and common Web3 UI patterns.",
|
|
5
5
|
"main": "dist/micro-web3.cjs",
|
|
6
6
|
"module": "dist/micro-web3.esm.js",
|
|
@@ -101,7 +101,7 @@ export class FloatingWalletButton extends Component {
|
|
|
101
101
|
// Check specific wallet flags (order matters - more specific first)
|
|
102
102
|
if (window.ethereum.isRabby) return 'rabby';
|
|
103
103
|
if (window.ethereum.isRainbow) return 'rainbow';
|
|
104
|
-
if (window.phantom?.ethereum) return 'phantom';
|
|
104
|
+
if (window.ethereum.isPhantom || window.ethereum === window.phantom?.ethereum) return 'phantom';
|
|
105
105
|
|
|
106
106
|
// Default to metamask for any EIP-1193 provider
|
|
107
107
|
return 'metamask';
|