@wagmi/connectors 3.1.3-cjs → 3.1.4-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.
@@ -39,6 +39,7 @@ type InjectedProviderFlags = {
39
39
  isPortal?: true;
40
40
  isRabby?: true;
41
41
  isRainbow?: true;
42
+ isSafePal?: true;
42
43
  isStatus?: true;
43
44
  isSubWallet?: true;
44
45
  isTalisman?: true;
@@ -94,6 +94,8 @@ function getInjectedName(ethereum) {
94
94
  return "Rabby Wallet";
95
95
  if (provider.isRainbow)
96
96
  return "Rainbow";
97
+ if (provider.isSafePal)
98
+ return "SafePal Wallet";
97
99
  if (provider.isStatus)
98
100
  return "Status";
99
101
  if (provider.isSubWallet)
@@ -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-70e3a8a9.js';
4
+ import { C as Connector, c as WalletClient } from './base-e6cfa360.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-70e3a8a9.js';
1
+ export { C as Connector, a as ConnectorData, b as ConnectorEvents, W as WindowProvider } from './base-e6cfa360.js';
2
2
  import 'eventemitter3';
3
3
  import 'viem';
4
4
  import 'viem/chains';
@@ -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-70e3a8a9.js';
3
+ import { W as WindowProvider, C as Connector, c as WalletClient } from './base-e6cfa360.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 _chunk2UFLHRLTjs = require('./chunk-2UFLHRLT.js');
3
+ var _chunkHX7NWRCDjs = require('./chunk-HX7NWRCD.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 = _chunk2UFLHRLTjs.InjectedConnector;
9
+ exports.InjectedConnector = _chunkHX7NWRCDjs.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-70e3a8a9.js';
4
+ import { C as Connector, c as WalletClient } from './base-e6cfa360.js';
5
5
  import 'eventemitter3';
6
6
  import 'viem';
7
7
 
@@ -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-70e3a8a9.js';
3
+ import { W as WindowProvider } from './base-e6cfa360.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 _chunk2UFLHRLTjs = require('./chunk-2UFLHRLT.js');
3
+ var _chunkHX7NWRCDjs = require('./chunk-HX7NWRCD.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 _chunk2UFLHRLTjs.InjectedConnector {
21
+ var MetaMaskConnector = class extends _chunkHX7NWRCDjs.InjectedConnector {
22
22
  constructor({
23
23
  chains,
24
24
  options: options_
@@ -1,5 +1,5 @@
1
1
  import { Chain } from 'viem/chains';
2
- import { c as WalletClient, C as Connector, a as ConnectorData } from '../base-70e3a8a9.js';
2
+ import { c as WalletClient, C as Connector, a as ConnectorData } from '../base-e6cfa360.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-70e3a8a9.js';
4
+ import { C as Connector, c as WalletClient } from './base-e6cfa360.js';
5
5
  import 'eventemitter3';
6
6
  import 'viem';
7
7
 
@@ -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-70e3a8a9.js';
4
+ import { C as Connector, c as WalletClient } from './base-e6cfa360.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-70e3a8a9.js';
2
+ import { C as Connector, c as WalletClient } from './base-e6cfa360.js';
3
3
  import 'eventemitter3';
4
4
  import 'viem';
5
5
  import 'viem/chains';
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": "3.1.3-cjs",
5
+ "version": "3.1.4-cjs",
6
6
  "peerDependencies": {
7
7
  "typescript": ">=5.0.4",
8
8
  "viem": ">=0.3.35"