@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.
- package/dist/{BeraWagmi-C5bwVJdu.d.cts → BeraWagmi-CGaPo4Jy.d.cts} +1 -1
- package/dist/{BeraWagmi-Ce70nKxp.d.ts → BeraWagmi-DygXBvcd.d.ts} +1 -1
- package/dist/context/index.d.cts +1 -1
- package/dist/context/index.d.ts +1 -1
- package/dist/core/index.d.cts +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/hooks/index.d.cts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/thirdweb/index.cjs +1 -0
- package/dist/hooks/thirdweb/index.d.cts +1 -0
- package/dist/hooks/thirdweb/index.d.ts +1 -0
- package/dist/hooks/thirdweb/index.mjs +1 -0
- package/package.json +1 -1
- package/src/context/BeraWagmi.tsx +1 -1
- package/src/hooks/thirdweb/index.ts +5 -0
|
@@ -109,7 +109,7 @@ interface IBeraWagmiProviderProps extends PropsWithChildren {
|
|
|
109
109
|
chains: Chain[];
|
|
110
110
|
defaultChain: Chain;
|
|
111
111
|
thirdweb: ThirdwebConfig;
|
|
112
|
-
publicJsonRpcUrl
|
|
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
|
|
112
|
+
publicJsonRpcUrl?: string;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
export { type BeraWagmiApi as B, ChainId as C, type IBeraWagmiProviderProps as I, useBeraWagmi as u };
|
package/dist/context/index.d.cts
CHANGED
|
@@ -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-
|
|
3
|
+
import { I as IBeraWagmiProviderProps } from '../BeraWagmi-CGaPo4Jy.cjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'wagmi';
|
|
6
6
|
import '../config/index.cjs';
|
package/dist/context/index.d.ts
CHANGED
|
@@ -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-
|
|
3
|
+
import { I as IBeraWagmiProviderProps } from '../BeraWagmi-DygXBvcd.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'wagmi';
|
|
6
6
|
import '../config/index.js';
|
package/dist/core/index.d.cts
CHANGED
package/dist/core/index.d.ts
CHANGED
package/dist/hooks/index.d.cts
CHANGED
|
@@ -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-
|
|
4
|
-
export { u as useBeraWagmi } from '../BeraWagmi-
|
|
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';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -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-
|
|
4
|
-
export { u as useBeraWagmi } from '../BeraWagmi-
|
|
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
|
@@ -143,7 +143,7 @@ export interface IBeraWagmiProviderProps extends PropsWithChildren {
|
|
|
143
143
|
chains: Chain[];
|
|
144
144
|
defaultChain: Chain;
|
|
145
145
|
thirdweb: ThirdwebConfig;
|
|
146
|
-
publicJsonRpcUrl
|
|
146
|
+
publicJsonRpcUrl?: string;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
export function BeraWagmiProvider({
|