@wagmi/connectors 2.6.6 → 2.7.0
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/{base-2dd7facf.d.ts → base-98051e7c.d.ts} +5 -1
- package/dist/{chunk-QRUHVNWK.js → chunk-YZRVUC6Y.js} +8 -0
- package/dist/coinbaseWallet.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/injected.d.ts +1 -1
- package/dist/injected.js +1 -1
- package/dist/ledger.d.ts +1 -1
- package/dist/metaMask.d.ts +1 -1
- package/dist/metaMask.js +5 -1
- package/dist/mock/index.d.ts +1 -1
- package/dist/safe.d.ts +1 -1
- package/dist/walletConnect.d.ts +1 -1
- package/dist/walletConnectLegacy.d.ts +1 -1
- package/package.json +6 -6
|
@@ -11,14 +11,18 @@ type InjectedProviderFlags = {
|
|
|
11
11
|
isBitski?: true;
|
|
12
12
|
isBlockWallet?: true;
|
|
13
13
|
isBraveWallet?: true;
|
|
14
|
+
isCoin98?: true;
|
|
14
15
|
isCoinbaseWallet?: true;
|
|
15
16
|
isDawn?: true;
|
|
16
17
|
isDefiant?: true;
|
|
18
|
+
isDesig?: true;
|
|
17
19
|
isEnkrypt?: true;
|
|
18
20
|
isExodus?: true;
|
|
21
|
+
isFordefi?: true;
|
|
19
22
|
isFrame?: true;
|
|
20
23
|
isFrontier?: true;
|
|
21
24
|
isGamestop?: true;
|
|
25
|
+
isHaloWallet?: true;
|
|
22
26
|
isHaqqWallet?: true;
|
|
23
27
|
isHyperPay?: true;
|
|
24
28
|
isImToken?: true;
|
|
@@ -36,6 +40,7 @@ type InjectedProviderFlags = {
|
|
|
36
40
|
isRabby?: true;
|
|
37
41
|
isRainbow?: true;
|
|
38
42
|
isStatus?: true;
|
|
43
|
+
isSubWallet?: true;
|
|
39
44
|
isTalisman?: true;
|
|
40
45
|
isTally?: true;
|
|
41
46
|
isTokenPocket?: true;
|
|
@@ -45,7 +50,6 @@ type InjectedProviderFlags = {
|
|
|
45
50
|
isTTWallet?: true;
|
|
46
51
|
isXDEFI?: true;
|
|
47
52
|
isZerion?: true;
|
|
48
|
-
isHaloWallet?: true;
|
|
49
53
|
};
|
|
50
54
|
type InjectedProviders = InjectedProviderFlags & {
|
|
51
55
|
isMetaMask: true;
|
|
@@ -45,16 +45,22 @@ function getInjectedName(ethereum) {
|
|
|
45
45
|
return "BlockWallet";
|
|
46
46
|
if (provider.isBraveWallet)
|
|
47
47
|
return "Brave Wallet";
|
|
48
|
+
if (provider.isCoin98)
|
|
49
|
+
return "Coin98 Wallet";
|
|
48
50
|
if (provider.isCoinbaseWallet)
|
|
49
51
|
return "Coinbase Wallet";
|
|
50
52
|
if (provider.isDawn)
|
|
51
53
|
return "Dawn Wallet";
|
|
52
54
|
if (provider.isDefiant)
|
|
53
55
|
return "Defiant";
|
|
56
|
+
if (provider.isDesig)
|
|
57
|
+
return "Desig Wallet";
|
|
54
58
|
if (provider.isEnkrypt)
|
|
55
59
|
return "Enkrypt";
|
|
56
60
|
if (provider.isExodus)
|
|
57
61
|
return "Exodus";
|
|
62
|
+
if (provider.isFordefi)
|
|
63
|
+
return "Fordefi";
|
|
58
64
|
if (provider.isFrame)
|
|
59
65
|
return "Frame";
|
|
60
66
|
if (provider.isFrontier)
|
|
@@ -91,6 +97,8 @@ function getInjectedName(ethereum) {
|
|
|
91
97
|
return "Rainbow";
|
|
92
98
|
if (provider.isStatus)
|
|
93
99
|
return "Status";
|
|
100
|
+
if (provider.isSubWallet)
|
|
101
|
+
return "SubWallet";
|
|
94
102
|
if (provider.isTalisman)
|
|
95
103
|
return "Talisman";
|
|
96
104
|
if (provider.isTally)
|
package/dist/coinbaseWallet.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CoinbaseWalletProvider } from '@coinbase/wallet-sdk';
|
|
2
2
|
import { CoinbaseWalletSDKOptions } from '@coinbase/wallet-sdk/dist/CoinbaseWalletSDK';
|
|
3
3
|
import { Chain } from '@wagmi/chains';
|
|
4
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
4
|
+
import { C as Connector, c as WalletClient } from './base-98051e7c.js';
|
|
5
5
|
import 'eventemitter3';
|
|
6
6
|
import 'viem';
|
|
7
7
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Connector, a as ConnectorData, b as ConnectorEvents, W as WindowProvider } from './base-
|
|
1
|
+
export { C as Connector, a as ConnectorData, b as ConnectorEvents, W as WindowProvider } from './base-98051e7c.js';
|
|
2
2
|
import '@wagmi/chains';
|
|
3
3
|
import 'eventemitter3';
|
|
4
4
|
import 'viem';
|
package/dist/injected.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Chain } from '@wagmi/chains';
|
|
2
2
|
import { Address } from 'viem';
|
|
3
|
-
import { W as WindowProvider, C as Connector, c as WalletClient } from './base-
|
|
3
|
+
import { W as WindowProvider, C as Connector, c as WalletClient } from './base-98051e7c.js';
|
|
4
4
|
import 'eventemitter3';
|
|
5
5
|
|
|
6
6
|
type InjectedConnectorOptions = {
|
package/dist/injected.js
CHANGED
package/dist/ledger.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EthereumProvider } from '@ledgerhq/connect-kit-loader';
|
|
2
2
|
import { Chain } from '@wagmi/chains';
|
|
3
3
|
import { EthereumProviderOptions } from '@walletconnect/ethereum-provider/dist/types/EthereumProvider';
|
|
4
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
4
|
+
import { C as Connector, c as WalletClient } from './base-98051e7c.js';
|
|
5
5
|
import 'eventemitter3';
|
|
6
6
|
import 'viem';
|
|
7
7
|
|
package/dist/metaMask.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Chain } from '@wagmi/chains';
|
|
2
2
|
import { InjectedConnectorOptions, InjectedConnector } from './injected.js';
|
|
3
|
-
import { W as WindowProvider } from './base-
|
|
3
|
+
import { W as WindowProvider } from './base-98051e7c.js';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import 'eventemitter3';
|
|
6
6
|
|
package/dist/metaMask.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InjectedConnector
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YZRVUC6Y.js";
|
|
4
4
|
import {
|
|
5
5
|
ConnectorNotFoundError
|
|
6
6
|
} from "./chunk-ZCAPXGBX.js";
|
|
@@ -42,6 +42,10 @@ var MetaMaskConnector = class extends InjectedConnector {
|
|
|
42
42
|
return;
|
|
43
43
|
if (ethereum2.isBlockWallet)
|
|
44
44
|
return;
|
|
45
|
+
if (ethereum2.isCoin98)
|
|
46
|
+
return;
|
|
47
|
+
if (ethereum2.isFordefi)
|
|
48
|
+
return;
|
|
45
49
|
if (ethereum2.isMathWallet)
|
|
46
50
|
return;
|
|
47
51
|
if (ethereum2.isOkxWallet || ethereum2.isOKExWallet)
|
package/dist/mock/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Chain } from '@wagmi/chains';
|
|
2
|
-
import { c as WalletClient, C as Connector, a as ConnectorData } from '../base-
|
|
2
|
+
import { c as WalletClient, C as Connector, a as ConnectorData } from '../base-98051e7c.js';
|
|
3
3
|
import EventEmitter from 'eventemitter3';
|
|
4
4
|
import 'viem';
|
|
5
5
|
|
package/dist/safe.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SafeAppProvider } from '@safe-global/safe-apps-provider';
|
|
2
2
|
import { Opts } from '@safe-global/safe-apps-sdk';
|
|
3
3
|
import { Chain } from '@wagmi/chains';
|
|
4
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
4
|
+
import { C as Connector, c as WalletClient } from './base-98051e7c.js';
|
|
5
5
|
import 'eventemitter3';
|
|
6
6
|
import 'viem';
|
|
7
7
|
|
package/dist/walletConnect.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Chain } from '@wagmi/chains';
|
|
2
2
|
import WalletConnectProvider from '@walletconnect/ethereum-provider';
|
|
3
3
|
import { EthereumProviderOptions } from '@walletconnect/ethereum-provider/dist/types/EthereumProvider';
|
|
4
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
4
|
+
import { C as Connector, c as WalletClient } from './base-98051e7c.js';
|
|
5
5
|
import 'eventemitter3';
|
|
6
6
|
import 'viem';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import WalletConnectProvider from '@walletconnect/legacy-provider';
|
|
2
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
2
|
+
import { C as Connector, c as WalletClient } from './base-98051e7c.js';
|
|
3
3
|
import '@wagmi/chains';
|
|
4
4
|
import 'eventemitter3';
|
|
5
5
|
import 'viem';
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "@wagmi/connectors",
|
|
3
3
|
"description": "A collection of connectors for wagmi",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.7.0",
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"@wagmi/chains": ">=1.
|
|
7
|
+
"@wagmi/chains": ">=1.7.0",
|
|
8
8
|
"typescript": ">=5.0.4",
|
|
9
9
|
"viem": ">=0.3.35"
|
|
10
10
|
},
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@ledgerhq/connect-kit-loader": "^1.1.0",
|
|
22
22
|
"@safe-global/safe-apps-provider": "^0.17.1",
|
|
23
23
|
"@safe-global/safe-apps-sdk": "^8.0.0",
|
|
24
|
-
"@walletconnect/ethereum-provider": "2.9.
|
|
25
|
-
"@walletconnect/utils": "2.9.
|
|
24
|
+
"@walletconnect/ethereum-provider": "2.9.2",
|
|
25
|
+
"@walletconnect/utils": "2.9.2",
|
|
26
26
|
"@walletconnect/legacy-provider": "^2.0.0",
|
|
27
|
-
"@walletconnect/modal": "2.
|
|
27
|
+
"@walletconnect/modal": "2.6.1",
|
|
28
28
|
"abitype": "0.8.7",
|
|
29
29
|
"eventemitter3": "^4.0.7"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"viem": "^1.0.0",
|
|
33
|
-
"@wagmi/chains": "1.
|
|
33
|
+
"@wagmi/chains": "1.7.0"
|
|
34
34
|
},
|
|
35
35
|
"type": "module",
|
|
36
36
|
"main": "dist/index.js",
|