@wagmi/connectors 0.3.13 → 0.3.14
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/{chunk-4PFIHJ5Y.js → chunk-3AFMPFBA.js} +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/injected.d.ts +1 -1
- package/dist/injected.js +1 -1
- package/dist/metaMask.d.ts +1 -1
- package/dist/metaMask.js +15 -1
- package/dist/{types-92f83cc8.d.ts → types-e935a668.d.ts} +1 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { C as Connector, a as ConnectorData, b as ConnectorEvents } from './base-84a689bb.js';
|
|
2
|
-
export { E as Ethereum } from './types-
|
|
2
|
+
export { E as Ethereum } from './types-e935a668.js';
|
|
3
3
|
import '@wagmi/core';
|
|
4
4
|
import '@wagmi/core/chains';
|
|
5
5
|
import 'eventemitter3';
|
package/dist/injected.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Address } from '@wagmi/core';
|
|
|
2
2
|
import { Chain } from '@wagmi/core/chains';
|
|
3
3
|
import { providers } from 'ethers';
|
|
4
4
|
import { C as Connector } from './base-84a689bb.js';
|
|
5
|
-
import { E as Ethereum } from './types-
|
|
5
|
+
import { E as Ethereum } from './types-e935a668.js';
|
|
6
6
|
import 'eventemitter3';
|
|
7
7
|
import 'abitype';
|
|
8
8
|
|
package/dist/injected.js
CHANGED
package/dist/metaMask.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Chain } from '@wagmi/core/chains';
|
|
2
2
|
import { InjectedConnectorOptions, InjectedConnector } from './injected.js';
|
|
3
|
-
import { E as Ethereum } from './types-
|
|
3
|
+
import { E as Ethereum } from './types-e935a668.js';
|
|
4
4
|
import '@wagmi/core';
|
|
5
5
|
import 'ethers';
|
|
6
6
|
import './base-84a689bb.js';
|
package/dist/metaMask.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InjectedConnector
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3AFMPFBA.js";
|
|
4
4
|
import {
|
|
5
5
|
__privateAdd,
|
|
6
6
|
__privateGet,
|
|
@@ -36,14 +36,28 @@ var MetaMaskConnector = class extends InjectedConnector {
|
|
|
36
36
|
return;
|
|
37
37
|
if (ethereum2.isAvalanche)
|
|
38
38
|
return;
|
|
39
|
+
if (ethereum2.isBitKeep)
|
|
40
|
+
return;
|
|
39
41
|
if (ethereum2.isKuCoinWallet)
|
|
40
42
|
return;
|
|
43
|
+
if (ethereum2.isMathWallet)
|
|
44
|
+
return;
|
|
45
|
+
if (ethereum2.isOkxWallet || ethereum2.isOKExWallet)
|
|
46
|
+
return;
|
|
47
|
+
if (ethereum2.isOneInchIOSWallet || ethereum2.isOneInchAndroidWallet)
|
|
48
|
+
return;
|
|
49
|
+
if (ethereum2.isOpera)
|
|
50
|
+
return;
|
|
41
51
|
if (ethereum2.isPortal)
|
|
42
52
|
return;
|
|
53
|
+
if (ethereum2.isRabby)
|
|
54
|
+
return;
|
|
43
55
|
if (ethereum2.isTokenPocket)
|
|
44
56
|
return;
|
|
45
57
|
if (ethereum2.isTokenary)
|
|
46
58
|
return;
|
|
59
|
+
if (ethereum2.isZerion)
|
|
60
|
+
return;
|
|
47
61
|
return ethereum2;
|
|
48
62
|
}
|
|
49
63
|
if (typeof window === "undefined")
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@wagmi/connectors",
|
|
3
3
|
"description": "A collection of connectors for wagmi",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.14",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@wagmi/core": ">=0.9.x",
|
|
8
8
|
"ethers": ">=5.5.1 <6",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@coinbase/wallet-sdk": "^3.6.4",
|
|
21
21
|
"@ledgerhq/connect-kit-loader": "^1.0.1",
|
|
22
|
-
"@walletconnect/ethereum-provider": "2.
|
|
22
|
+
"@walletconnect/ethereum-provider": "2.7.0",
|
|
23
23
|
"@walletconnect/legacy-provider": "^2.0.0",
|
|
24
|
-
"@web3modal/standalone": "^2.
|
|
24
|
+
"@web3modal/standalone": "^2.3.0",
|
|
25
25
|
"@safe-global/safe-apps-provider": "^0.15.2",
|
|
26
26
|
"@safe-global/safe-apps-sdk": "^7.9.0",
|
|
27
27
|
"abitype": "^0.3.0",
|