@berachain/wagmi 0.4.0-beta.0 → 0.4.0-beta.1

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.
@@ -109,7 +109,7 @@ interface IBeraWagmiProviderProps extends PropsWithChildren {
109
109
  chains: Chain[];
110
110
  defaultChain: Chain;
111
111
  thirdweb: ThirdwebConfig;
112
- publicJsonRpcUrl: string;
112
+ publicJsonRpcUrl?: string;
113
113
  }
114
114
 
115
115
  export { type BeraWagmiApi as B, ChainId as C, type IBeraWagmiProviderProps as I, useBeraWagmi as u };
@@ -109,7 +109,7 @@ interface IBeraWagmiProviderProps extends PropsWithChildren {
109
109
  chains: Chain[];
110
110
  defaultChain: Chain;
111
111
  thirdweb: ThirdwebConfig;
112
- publicJsonRpcUrl: string;
112
+ publicJsonRpcUrl?: string;
113
113
  }
114
114
 
115
115
  export { type BeraWagmiApi as B, ChainId as C, type IBeraWagmiProviderProps as I, useBeraWagmi as u };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { Transport, Chain } from 'viem';
3
- import { I as IBeraWagmiProviderProps } from '../BeraWagmi-C5bwVJdu.cjs';
3
+ import { I as IBeraWagmiProviderProps } from '../BeraWagmi-CGaPo4Jy.cjs';
4
4
  import 'react';
5
5
  import 'wagmi';
6
6
  import '../config/index.cjs';
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { Transport, Chain } from 'viem';
3
- import { I as IBeraWagmiProviderProps } from '../BeraWagmi-Ce70nKxp.js';
3
+ import { I as IBeraWagmiProviderProps } from '../BeraWagmi-DygXBvcd.js';
4
4
  import 'react';
5
5
  import 'wagmi';
6
6
  import '../config/index.js';
@@ -1 +1,2 @@
1
1
  export { getConnectorClient, getWalletClient, switchChain } from '@wagmi/core';
2
+ import 'thirdweb/react';
@@ -1 +1,2 @@
1
1
  export { getConnectorClient, getWalletClient, switchChain } from '@wagmi/core';
2
+ import 'thirdweb/react';
@@ -1,7 +1,7 @@
1
1
  import { UsePublicClientParameters, UsePublicClientReturnType } from 'wagmi';
2
2
  export { useBlockNumber, useChains, useConfig, useEnsAvatar, useEnsName, useSwitchChain, useTransactionReceipt } from 'wagmi';
3
- import { B as BeraWagmiApi, C as ChainId } from '../BeraWagmi-C5bwVJdu.cjs';
4
- export { u as useBeraWagmi } from '../BeraWagmi-C5bwVJdu.cjs';
3
+ import { B as BeraWagmiApi, C as ChainId } from '../BeraWagmi-CGaPo4Jy.cjs';
4
+ export { u as useBeraWagmi } from '../BeraWagmi-CGaPo4Jy.cjs';
5
5
  import 'react';
6
6
  import 'viem';
7
7
  import '../config/index.cjs';
@@ -1,7 +1,7 @@
1
1
  import { UsePublicClientParameters, UsePublicClientReturnType } from 'wagmi';
2
2
  export { useBlockNumber, useChains, useConfig, useEnsAvatar, useEnsName, useSwitchChain, useTransactionReceipt } from 'wagmi';
3
- import { B as BeraWagmiApi, C as ChainId } from '../BeraWagmi-Ce70nKxp.js';
4
- export { u as useBeraWagmi } from '../BeraWagmi-Ce70nKxp.js';
3
+ import { B as BeraWagmiApi, C as ChainId } from '../BeraWagmi-DygXBvcd.js';
4
+ export { u as useBeraWagmi } from '../BeraWagmi-DygXBvcd.js';
5
5
  import 'react';
6
6
  import 'viem';
7
7
  import '../config/index.js';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _react = require('thirdweb/react');exports.useActiveAccount = _react.useActiveAccount; exports.useActiveWallet = _react.useActiveWallet; exports.useWalletInfo = _react.useWalletInfo;
@@ -0,0 +1 @@
1
+ export { useActiveAccount, useActiveWallet, useWalletInfo } from 'thirdweb/react';
@@ -0,0 +1 @@
1
+ export { useActiveAccount, useActiveWallet, useWalletInfo } from 'thirdweb/react';
@@ -0,0 +1 @@
1
+ import{useActiveAccount as c,useActiveWallet as l,useWalletInfo as o}from"thirdweb/react";export{c as useActiveAccount,l as useActiveWallet,o as useWalletInfo};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/wagmi",
3
- "version": "0.4.0-beta.0",
3
+ "version": "0.4.0-beta.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -143,7 +143,7 @@ export interface IBeraWagmiProviderProps extends PropsWithChildren {
143
143
  chains: Chain[];
144
144
  defaultChain: Chain;
145
145
  thirdweb: ThirdwebConfig;
146
- publicJsonRpcUrl: string;
146
+ publicJsonRpcUrl?: string;
147
147
  }
148
148
 
149
149
  export function BeraWagmiProvider({
@@ -0,0 +1,5 @@
1
+ export {
2
+ useActiveAccount,
3
+ useActiveWallet,
4
+ useWalletInfo,
5
+ } from "thirdweb/react";