@wagmi/connectors 3.1.0-cjs → 3.1.1-cjs
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-ff961c9d.d.ts → base-70e3a8a9.d.ts} +1 -0
- package/dist/{chunk-JA6XQLQA.js → chunk-2UFLHRLT.js} +2 -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 +2 -2
- package/dist/ledger.d.ts +1 -1
- package/dist/metaMask.d.ts +1 -1
- package/dist/metaMask.js +4 -2
- 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 +1 -1
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 'viem/chains';
|
|
4
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
4
|
+
import { C as Connector, c as WalletClient } from './base-70e3a8a9.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-70e3a8a9.js';
|
|
2
2
|
import 'eventemitter3';
|
|
3
3
|
import 'viem';
|
|
4
4
|
import 'viem/chains';
|
package/dist/injected.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Address } from 'viem';
|
|
2
2
|
import { Chain } from 'viem/chains';
|
|
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-70e3a8a9.js';
|
|
4
4
|
import 'eventemitter3';
|
|
5
5
|
|
|
6
6
|
type InjectedConnectorOptions = {
|
package/dist/injected.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2UFLHRLTjs = require('./chunk-2UFLHRLT.js');
|
|
4
4
|
require('./chunk-UGBGYVBH.js');
|
|
5
5
|
require('./chunk-OQILYQDO.js');
|
|
6
6
|
require('./chunk-W65LBPLT.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.InjectedConnector =
|
|
9
|
+
exports.InjectedConnector = _chunk2UFLHRLTjs.InjectedConnector;
|
package/dist/ledger.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EthereumProvider } from '@ledgerhq/connect-kit-loader';
|
|
2
2
|
import { EthereumProviderOptions } from '@walletconnect/ethereum-provider/dist/types/EthereumProvider';
|
|
3
3
|
import { Chain } from 'viem/chains';
|
|
4
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
4
|
+
import { C as Connector, c as WalletClient } from './base-70e3a8a9.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 'viem/chains';
|
|
2
2
|
import { InjectedConnectorOptions, InjectedConnector } from './injected.js';
|
|
3
|
-
import { W as WindowProvider } from './base-
|
|
3
|
+
import { W as WindowProvider } from './base-70e3a8a9.js';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import 'eventemitter3';
|
|
6
6
|
|
package/dist/metaMask.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2UFLHRLTjs = require('./chunk-2UFLHRLT.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkUGBGYVBHjs = require('./chunk-UGBGYVBH.js');
|
|
@@ -18,7 +18,7 @@ var _chunkW65LBPLTjs = require('./chunk-W65LBPLT.js');
|
|
|
18
18
|
|
|
19
19
|
var _viem = require('viem');
|
|
20
20
|
var _UNSTABLE_shimOnConnectSelectAccount;
|
|
21
|
-
var MetaMaskConnector = class extends
|
|
21
|
+
var MetaMaskConnector = class extends _chunk2UFLHRLTjs.InjectedConnector {
|
|
22
22
|
constructor({
|
|
23
23
|
chains,
|
|
24
24
|
options: options_
|
|
@@ -63,6 +63,8 @@ var MetaMaskConnector = class extends _chunkJA6XQLQAjs.InjectedConnector {
|
|
|
63
63
|
return;
|
|
64
64
|
if (ethereum2.isTokenary)
|
|
65
65
|
return;
|
|
66
|
+
if (ethereum2.isZeal)
|
|
67
|
+
return;
|
|
66
68
|
if (ethereum2.isZerion)
|
|
67
69
|
return;
|
|
68
70
|
return ethereum2;
|
package/dist/mock/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Chain } from 'viem/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-70e3a8a9.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 'viem/chains';
|
|
4
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
4
|
+
import { C as Connector, c as WalletClient } from './base-70e3a8a9.js';
|
|
5
5
|
import 'eventemitter3';
|
|
6
6
|
import 'viem';
|
|
7
7
|
|
package/dist/walletConnect.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import WalletConnectProvider from '@walletconnect/ethereum-provider';
|
|
2
2
|
import { EthereumProviderOptions } from '@walletconnect/ethereum-provider/dist/types/EthereumProvider';
|
|
3
3
|
import { Chain } from 'viem/chains';
|
|
4
|
-
import { C as Connector, c as WalletClient } from './base-
|
|
4
|
+
import { C as Connector, c as WalletClient } from './base-70e3a8a9.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-70e3a8a9.js';
|
|
3
3
|
import 'eventemitter3';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import 'viem/chains';
|