@wagmi/connectors 0.3.11 → 0.3.12

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.
@@ -68,6 +68,8 @@ function getInjectedName(ethereum) {
68
68
  return "Phantom";
69
69
  if (provider.isPortal)
70
70
  return "Ripio Portal";
71
+ if (provider.isRabby)
72
+ return "Rabby";
71
73
  if (provider.isRainbow)
72
74
  return "Rainbow";
73
75
  if (provider.isStatus)
@@ -306,7 +308,7 @@ var InjectedConnector = class extends Connector {
306
308
  return chain;
307
309
  } catch (addError) {
308
310
  if (this.isUserRejectedRequestError(addError))
309
- throw new UserRejectedRequestError(error);
311
+ throw new UserRejectedRequestError(addError);
310
312
  throw new AddChainError();
311
313
  }
312
314
  }
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-180a5bd0.js';
2
+ export { E as Ethereum } from './types-92f83cc8.js';
3
3
  import '@wagmi/core';
4
4
  import '@wagmi/core/chains';
5
5
  import 'eventemitter3';
@@ -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-180a5bd0.js';
5
+ import { E as Ethereum } from './types-92f83cc8.js';
6
6
  import 'eventemitter3';
7
7
  import 'abitype';
8
8
 
package/dist/injected.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  InjectedConnector
3
- } from "./chunk-5VZ6NHIG.js";
3
+ } from "./chunk-4PFIHJ5Y.js";
4
4
  import "./chunk-5NCTPR6C.js";
5
5
  export {
6
6
  InjectedConnector
@@ -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-180a5bd0.js';
3
+ import { E as Ethereum } from './types-92f83cc8.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-5VZ6NHIG.js";
3
+ } from "./chunk-4PFIHJ5Y.js";
4
4
  import {
5
5
  __privateAdd,
6
6
  __privateGet,
@@ -65,6 +65,7 @@ type InjectedProviderFlags = {
65
65
  isOpera?: true;
66
66
  isPhantom?: true;
67
67
  isPortal?: true;
68
+ isRabby?: true;
68
69
  isRainbow?: true;
69
70
  isStatus?: true;
70
71
  isTally?: true;
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.11",
5
+ "version": "0.3.12",
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.5.4",
21
21
  "@ledgerhq/connect-kit-loader": "^1.0.1",
22
- "@walletconnect/ethereum-provider": "2.5.2",
22
+ "@walletconnect/ethereum-provider": "2.6.2",
23
23
  "@walletconnect/legacy-provider": "^2.0.0",
24
- "@web3modal/standalone": "2.2.2",
24
+ "@web3modal/standalone": "^2.2.2",
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",