wagmi 3.4.0 → 3.4.2

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.
Files changed (321) hide show
  1. package/dist/esm/hooks/codegen/createUseReadContract.js.map +1 -1
  2. package/dist/esm/hooks/codegen/createUseSimulateContract.js.map +1 -1
  3. package/dist/esm/hooks/codegen/createUseWatchContractEvent.js.map +1 -1
  4. package/dist/esm/hooks/useBalance.js.map +1 -1
  5. package/dist/esm/hooks/useBlobBaseFee.js.map +1 -1
  6. package/dist/esm/hooks/useBlock.js.map +1 -1
  7. package/dist/esm/hooks/useBlockNumber.js.map +1 -1
  8. package/dist/esm/hooks/useBlockTransactionCount.js.map +1 -1
  9. package/dist/esm/hooks/useBytecode.js.map +1 -1
  10. package/dist/esm/hooks/useCall.js.map +1 -1
  11. package/dist/esm/hooks/useCallsStatus.js.map +1 -1
  12. package/dist/esm/hooks/useCapabilities.js.map +1 -1
  13. package/dist/esm/hooks/useChainId.js.map +1 -1
  14. package/dist/esm/hooks/useChains.js.map +1 -1
  15. package/dist/esm/hooks/useClient.js.map +1 -1
  16. package/dist/esm/hooks/useConfig.js.map +1 -1
  17. package/dist/esm/hooks/useConnect.js.map +1 -1
  18. package/dist/esm/hooks/useConnectionEffect.js.map +1 -1
  19. package/dist/esm/hooks/useConnections.js.map +1 -1
  20. package/dist/esm/hooks/useConnectorClient.js.map +1 -1
  21. package/dist/esm/hooks/useConnectors.js.map +1 -1
  22. package/dist/esm/hooks/useContractEvents.js.map +1 -1
  23. package/dist/esm/hooks/useDeployContract.js.map +1 -1
  24. package/dist/esm/hooks/useDisconnect.js.map +1 -1
  25. package/dist/esm/hooks/useEnsAddress.js.map +1 -1
  26. package/dist/esm/hooks/useEnsAvatar.js.map +1 -1
  27. package/dist/esm/hooks/useEnsName.js.map +1 -1
  28. package/dist/esm/hooks/useEnsResolver.js.map +1 -1
  29. package/dist/esm/hooks/useEnsText.js.map +1 -1
  30. package/dist/esm/hooks/useEstimateFeesPerGas.js.map +1 -1
  31. package/dist/esm/hooks/useEstimateGas.js.map +1 -1
  32. package/dist/esm/hooks/useEstimateMaxPriorityFeePerGas.js.map +1 -1
  33. package/dist/esm/hooks/useFeeHistory.js.map +1 -1
  34. package/dist/esm/hooks/useGasPrice.js.map +1 -1
  35. package/dist/esm/hooks/useInfiniteReadContracts.js.map +1 -1
  36. package/dist/esm/hooks/usePrepareTransactionRequest.js.map +1 -1
  37. package/dist/esm/hooks/useProof.js.map +1 -1
  38. package/dist/esm/hooks/usePublicClient.js.map +1 -1
  39. package/dist/esm/hooks/useReadContract.js.map +1 -1
  40. package/dist/esm/hooks/useReadContracts.js.map +1 -1
  41. package/dist/esm/hooks/useReconnect.js.map +1 -1
  42. package/dist/esm/hooks/useSendCalls.js.map +1 -1
  43. package/dist/esm/hooks/useSendCallsSync.js.map +1 -1
  44. package/dist/esm/hooks/useSendTransaction.js.map +1 -1
  45. package/dist/esm/hooks/useSendTransactionSync.js.map +1 -1
  46. package/dist/esm/hooks/useShowCallsStatus.js.map +1 -1
  47. package/dist/esm/hooks/useSignMessage.js.map +1 -1
  48. package/dist/esm/hooks/useSignTypedData.js.map +1 -1
  49. package/dist/esm/hooks/useSimulateContract.js.map +1 -1
  50. package/dist/esm/hooks/useStorageAt.js.map +1 -1
  51. package/dist/esm/hooks/useSwitchChain.js.map +1 -1
  52. package/dist/esm/hooks/useSwitchConnection.js.map +1 -1
  53. package/dist/esm/hooks/useTransaction.js.map +1 -1
  54. package/dist/esm/hooks/useTransactionConfirmations.js.map +1 -1
  55. package/dist/esm/hooks/useTransactionCount.js.map +1 -1
  56. package/dist/esm/hooks/useTransactionReceipt.js.map +1 -1
  57. package/dist/esm/hooks/useVerifyMessage.js.map +1 -1
  58. package/dist/esm/hooks/useVerifyTypedData.js.map +1 -1
  59. package/dist/esm/hooks/useWaitForCallsStatus.js.map +1 -1
  60. package/dist/esm/hooks/useWaitForTransactionReceipt.js.map +1 -1
  61. package/dist/esm/hooks/useWalletClient.js.map +1 -1
  62. package/dist/esm/hooks/useWatchAsset.js.map +1 -1
  63. package/dist/esm/hooks/useWatchBlockNumber.js.map +1 -1
  64. package/dist/esm/hooks/useWatchBlocks.js.map +1 -1
  65. package/dist/esm/hooks/useWatchContractEvent.js.map +1 -1
  66. package/dist/esm/hooks/useWatchPendingTransactions.js.map +1 -1
  67. package/dist/esm/hooks/useWriteContract.js.map +1 -1
  68. package/dist/esm/hooks/useWriteContractSync.js.map +1 -1
  69. package/dist/esm/tempo/hooks/amm.js.map +1 -1
  70. package/dist/esm/tempo/hooks/dex.js.map +1 -1
  71. package/dist/esm/tempo/hooks/faucet.js.map +1 -1
  72. package/dist/esm/tempo/hooks/fee.js.map +1 -1
  73. package/dist/esm/tempo/hooks/nonce.js.map +1 -1
  74. package/dist/esm/tempo/hooks/policy.js.map +1 -1
  75. package/dist/esm/tempo/hooks/reward.js.map +1 -1
  76. package/dist/esm/tempo/hooks/token.js.map +1 -1
  77. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  78. package/dist/esm/version.js +1 -1
  79. package/dist/types/hooks/codegen/createUseReadContract.d.ts +1 -2
  80. package/dist/types/hooks/codegen/createUseReadContract.d.ts.map +1 -1
  81. package/dist/types/hooks/codegen/createUseSimulateContract.d.ts +1 -2
  82. package/dist/types/hooks/codegen/createUseSimulateContract.d.ts.map +1 -1
  83. package/dist/types/hooks/codegen/createUseWatchContractEvent.d.ts +1 -2
  84. package/dist/types/hooks/codegen/createUseWatchContractEvent.d.ts.map +1 -1
  85. package/dist/types/hooks/useBalance.d.ts +1 -2
  86. package/dist/types/hooks/useBalance.d.ts.map +1 -1
  87. package/dist/types/hooks/useBlobBaseFee.d.ts +1 -2
  88. package/dist/types/hooks/useBlobBaseFee.d.ts.map +1 -1
  89. package/dist/types/hooks/useBlock.d.ts +1 -2
  90. package/dist/types/hooks/useBlock.d.ts.map +1 -1
  91. package/dist/types/hooks/useBlockNumber.d.ts +1 -2
  92. package/dist/types/hooks/useBlockNumber.d.ts.map +1 -1
  93. package/dist/types/hooks/useBlockTransactionCount.d.ts +1 -2
  94. package/dist/types/hooks/useBlockTransactionCount.d.ts.map +1 -1
  95. package/dist/types/hooks/useBytecode.d.ts +1 -2
  96. package/dist/types/hooks/useBytecode.d.ts.map +1 -1
  97. package/dist/types/hooks/useCall.d.ts +1 -2
  98. package/dist/types/hooks/useCall.d.ts.map +1 -1
  99. package/dist/types/hooks/useCallsStatus.d.ts +1 -2
  100. package/dist/types/hooks/useCallsStatus.d.ts.map +1 -1
  101. package/dist/types/hooks/useCapabilities.d.ts +1 -2
  102. package/dist/types/hooks/useCapabilities.d.ts.map +1 -1
  103. package/dist/types/hooks/useChainId.d.ts +1 -1
  104. package/dist/types/hooks/useChainId.d.ts.map +1 -1
  105. package/dist/types/hooks/useChains.d.ts +1 -1
  106. package/dist/types/hooks/useChains.d.ts.map +1 -1
  107. package/dist/types/hooks/useClient.d.ts +1 -2
  108. package/dist/types/hooks/useClient.d.ts.map +1 -1
  109. package/dist/types/hooks/useConfig.d.ts +1 -1
  110. package/dist/types/hooks/useConfig.d.ts.map +1 -1
  111. package/dist/types/hooks/useConnect.d.ts +1 -2
  112. package/dist/types/hooks/useConnect.d.ts.map +1 -1
  113. package/dist/types/hooks/useConnection.d.ts +1 -1
  114. package/dist/types/hooks/useConnection.d.ts.map +1 -1
  115. package/dist/types/hooks/useConnectionEffect.d.ts +1 -2
  116. package/dist/types/hooks/useConnectionEffect.d.ts.map +1 -1
  117. package/dist/types/hooks/useConnections.d.ts +1 -1
  118. package/dist/types/hooks/useConnections.d.ts.map +1 -1
  119. package/dist/types/hooks/useConnectorClient.d.ts +1 -2
  120. package/dist/types/hooks/useConnectorClient.d.ts.map +1 -1
  121. package/dist/types/hooks/useConnectors.d.ts +1 -1
  122. package/dist/types/hooks/useConnectors.d.ts.map +1 -1
  123. package/dist/types/hooks/useContractEvents.d.ts +1 -2
  124. package/dist/types/hooks/useContractEvents.d.ts.map +1 -1
  125. package/dist/types/hooks/useDeployContract.d.ts +1 -2
  126. package/dist/types/hooks/useDeployContract.d.ts.map +1 -1
  127. package/dist/types/hooks/useDisconnect.d.ts +1 -2
  128. package/dist/types/hooks/useDisconnect.d.ts.map +1 -1
  129. package/dist/types/hooks/useEnsAddress.d.ts +1 -2
  130. package/dist/types/hooks/useEnsAddress.d.ts.map +1 -1
  131. package/dist/types/hooks/useEnsAvatar.d.ts +1 -2
  132. package/dist/types/hooks/useEnsAvatar.d.ts.map +1 -1
  133. package/dist/types/hooks/useEnsName.d.ts +1 -2
  134. package/dist/types/hooks/useEnsName.d.ts.map +1 -1
  135. package/dist/types/hooks/useEnsResolver.d.ts +1 -2
  136. package/dist/types/hooks/useEnsResolver.d.ts.map +1 -1
  137. package/dist/types/hooks/useEnsText.d.ts +1 -2
  138. package/dist/types/hooks/useEnsText.d.ts.map +1 -1
  139. package/dist/types/hooks/useEstimateFeesPerGas.d.ts +1 -2
  140. package/dist/types/hooks/useEstimateFeesPerGas.d.ts.map +1 -1
  141. package/dist/types/hooks/useEstimateGas.d.ts +1 -1
  142. package/dist/types/hooks/useEstimateGas.d.ts.map +1 -1
  143. package/dist/types/hooks/useEstimateMaxPriorityFeePerGas.d.ts +1 -2
  144. package/dist/types/hooks/useEstimateMaxPriorityFeePerGas.d.ts.map +1 -1
  145. package/dist/types/hooks/useFeeHistory.d.ts +1 -2
  146. package/dist/types/hooks/useFeeHistory.d.ts.map +1 -1
  147. package/dist/types/hooks/useGasPrice.d.ts +1 -2
  148. package/dist/types/hooks/useGasPrice.d.ts.map +1 -1
  149. package/dist/types/hooks/useInfiniteReadContracts.d.ts +2 -1
  150. package/dist/types/hooks/useInfiniteReadContracts.d.ts.map +1 -1
  151. package/dist/types/hooks/usePrepareTransactionRequest.d.ts +1 -1
  152. package/dist/types/hooks/usePrepareTransactionRequest.d.ts.map +1 -1
  153. package/dist/types/hooks/useProof.d.ts +1 -2
  154. package/dist/types/hooks/useProof.d.ts.map +1 -1
  155. package/dist/types/hooks/usePublicClient.d.ts +1 -2
  156. package/dist/types/hooks/usePublicClient.d.ts.map +1 -1
  157. package/dist/types/hooks/useReadContract.d.ts +1 -2
  158. package/dist/types/hooks/useReadContract.d.ts.map +1 -1
  159. package/dist/types/hooks/useReadContracts.d.ts +1 -2
  160. package/dist/types/hooks/useReadContracts.d.ts.map +1 -1
  161. package/dist/types/hooks/useReconnect.d.ts +1 -2
  162. package/dist/types/hooks/useReconnect.d.ts.map +1 -1
  163. package/dist/types/hooks/useSendCalls.d.ts +1 -2
  164. package/dist/types/hooks/useSendCalls.d.ts.map +1 -1
  165. package/dist/types/hooks/useSendCallsSync.d.ts +1 -2
  166. package/dist/types/hooks/useSendCallsSync.d.ts.map +1 -1
  167. package/dist/types/hooks/useSendTransaction.d.ts +1 -2
  168. package/dist/types/hooks/useSendTransaction.d.ts.map +1 -1
  169. package/dist/types/hooks/useSendTransactionSync.d.ts +1 -2
  170. package/dist/types/hooks/useSendTransactionSync.d.ts.map +1 -1
  171. package/dist/types/hooks/useShowCallsStatus.d.ts +1 -2
  172. package/dist/types/hooks/useShowCallsStatus.d.ts.map +1 -1
  173. package/dist/types/hooks/useSignMessage.d.ts +1 -2
  174. package/dist/types/hooks/useSignMessage.d.ts.map +1 -1
  175. package/dist/types/hooks/useSignTypedData.d.ts +1 -2
  176. package/dist/types/hooks/useSignTypedData.d.ts.map +1 -1
  177. package/dist/types/hooks/useSimulateContract.d.ts +1 -1
  178. package/dist/types/hooks/useSimulateContract.d.ts.map +1 -1
  179. package/dist/types/hooks/useStorageAt.d.ts +1 -2
  180. package/dist/types/hooks/useStorageAt.d.ts.map +1 -1
  181. package/dist/types/hooks/useSwitchChain.d.ts +1 -2
  182. package/dist/types/hooks/useSwitchChain.d.ts.map +1 -1
  183. package/dist/types/hooks/useSwitchConnection.d.ts +1 -2
  184. package/dist/types/hooks/useSwitchConnection.d.ts.map +1 -1
  185. package/dist/types/hooks/useTransaction.d.ts +1 -2
  186. package/dist/types/hooks/useTransaction.d.ts.map +1 -1
  187. package/dist/types/hooks/useTransactionConfirmations.d.ts +1 -1
  188. package/dist/types/hooks/useTransactionConfirmations.d.ts.map +1 -1
  189. package/dist/types/hooks/useTransactionCount.d.ts +1 -2
  190. package/dist/types/hooks/useTransactionCount.d.ts.map +1 -1
  191. package/dist/types/hooks/useTransactionReceipt.d.ts +1 -2
  192. package/dist/types/hooks/useTransactionReceipt.d.ts.map +1 -1
  193. package/dist/types/hooks/useVerifyMessage.d.ts +1 -2
  194. package/dist/types/hooks/useVerifyMessage.d.ts.map +1 -1
  195. package/dist/types/hooks/useVerifyTypedData.d.ts +1 -1
  196. package/dist/types/hooks/useVerifyTypedData.d.ts.map +1 -1
  197. package/dist/types/hooks/useWaitForCallsStatus.d.ts +1 -2
  198. package/dist/types/hooks/useWaitForCallsStatus.d.ts.map +1 -1
  199. package/dist/types/hooks/useWaitForTransactionReceipt.d.ts +1 -2
  200. package/dist/types/hooks/useWaitForTransactionReceipt.d.ts.map +1 -1
  201. package/dist/types/hooks/useWalletClient.d.ts +1 -2
  202. package/dist/types/hooks/useWalletClient.d.ts.map +1 -1
  203. package/dist/types/hooks/useWatchAsset.d.ts +1 -2
  204. package/dist/types/hooks/useWatchAsset.d.ts.map +1 -1
  205. package/dist/types/hooks/useWatchBlockNumber.d.ts +1 -2
  206. package/dist/types/hooks/useWatchBlockNumber.d.ts.map +1 -1
  207. package/dist/types/hooks/useWatchBlocks.d.ts +1 -2
  208. package/dist/types/hooks/useWatchBlocks.d.ts.map +1 -1
  209. package/dist/types/hooks/useWatchContractEvent.d.ts +1 -2
  210. package/dist/types/hooks/useWatchContractEvent.d.ts.map +1 -1
  211. package/dist/types/hooks/useWatchPendingTransactions.d.ts +1 -2
  212. package/dist/types/hooks/useWatchPendingTransactions.d.ts.map +1 -1
  213. package/dist/types/hooks/useWriteContract.d.ts +1 -1
  214. package/dist/types/hooks/useWriteContract.d.ts.map +1 -1
  215. package/dist/types/hooks/useWriteContractSync.d.ts +1 -1
  216. package/dist/types/hooks/useWriteContractSync.d.ts.map +1 -1
  217. package/dist/types/tempo/hooks/amm.d.ts +1 -2
  218. package/dist/types/tempo/hooks/amm.d.ts.map +1 -1
  219. package/dist/types/tempo/hooks/dex.d.ts +1 -2
  220. package/dist/types/tempo/hooks/dex.d.ts.map +1 -1
  221. package/dist/types/tempo/hooks/faucet.d.ts +1 -1
  222. package/dist/types/tempo/hooks/faucet.d.ts.map +1 -1
  223. package/dist/types/tempo/hooks/fee.d.ts +1 -2
  224. package/dist/types/tempo/hooks/fee.d.ts.map +1 -1
  225. package/dist/types/tempo/hooks/nonce.d.ts +1 -2
  226. package/dist/types/tempo/hooks/nonce.d.ts.map +1 -1
  227. package/dist/types/tempo/hooks/policy.d.ts +1 -2
  228. package/dist/types/tempo/hooks/policy.d.ts.map +1 -1
  229. package/dist/types/tempo/hooks/reward.d.ts +1 -2
  230. package/dist/types/tempo/hooks/reward.d.ts.map +1 -1
  231. package/dist/types/tempo/hooks/token.d.ts +1 -2
  232. package/dist/types/tempo/hooks/token.d.ts.map +1 -1
  233. package/dist/types/types/properties.d.ts +0 -7
  234. package/dist/types/types/properties.d.ts.map +1 -1
  235. package/dist/types/version.d.ts +1 -1
  236. package/package.json +3 -11
  237. package/src/hooks/codegen/createUseReadContract.ts +1 -2
  238. package/src/hooks/codegen/createUseSimulateContract.ts +1 -2
  239. package/src/hooks/codegen/createUseWatchContractEvent.ts +2 -5
  240. package/src/hooks/useBalance.ts +1 -2
  241. package/src/hooks/useBlobBaseFee.ts +1 -2
  242. package/src/hooks/useBlock.ts +1 -1
  243. package/src/hooks/useBlockNumber.ts +1 -1
  244. package/src/hooks/useBlockTransactionCount.ts +1 -2
  245. package/src/hooks/useBytecode.ts +1 -2
  246. package/src/hooks/useCall.ts +1 -2
  247. package/src/hooks/useCallsStatus.ts +1 -2
  248. package/src/hooks/useCapabilities.ts +1 -2
  249. package/src/hooks/useChainId.ts +1 -2
  250. package/src/hooks/useChains.ts +1 -2
  251. package/src/hooks/useClient.ts +1 -3
  252. package/src/hooks/useConfig.ts +1 -2
  253. package/src/hooks/useConnect.ts +1 -2
  254. package/src/hooks/useConnection.ts +1 -1
  255. package/src/hooks/useConnectionEffect.ts +1 -3
  256. package/src/hooks/useConnections.ts +1 -2
  257. package/src/hooks/useConnectorClient.ts +1 -3
  258. package/src/hooks/useConnectors.ts +1 -2
  259. package/src/hooks/useContractEvents.ts +1 -2
  260. package/src/hooks/useDeployContract.ts +1 -2
  261. package/src/hooks/useDisconnect.ts +1 -2
  262. package/src/hooks/useEnsAddress.ts +1 -2
  263. package/src/hooks/useEnsAvatar.ts +1 -2
  264. package/src/hooks/useEnsName.ts +1 -2
  265. package/src/hooks/useEnsResolver.ts +1 -2
  266. package/src/hooks/useEnsText.ts +1 -2
  267. package/src/hooks/useEstimateFeesPerGas.ts +1 -2
  268. package/src/hooks/useEstimateGas.ts +1 -1
  269. package/src/hooks/useEstimateMaxPriorityFeePerGas.ts +1 -2
  270. package/src/hooks/useFeeHistory.ts +1 -2
  271. package/src/hooks/useGasPrice.ts +1 -2
  272. package/src/hooks/useInfiniteReadContracts.ts +2 -6
  273. package/src/hooks/usePrepareTransactionRequest.ts +1 -1
  274. package/src/hooks/useProof.ts +1 -2
  275. package/src/hooks/usePublicClient.ts +1 -3
  276. package/src/hooks/useReadContract.ts +1 -2
  277. package/src/hooks/useReadContracts.ts +1 -2
  278. package/src/hooks/useReconnect.ts +1 -2
  279. package/src/hooks/useSendCalls.ts +1 -2
  280. package/src/hooks/useSendCallsSync.ts +1 -2
  281. package/src/hooks/useSendTransaction.ts +1 -2
  282. package/src/hooks/useSendTransactionSync.ts +1 -2
  283. package/src/hooks/useShowCallsStatus.ts +1 -2
  284. package/src/hooks/useSignMessage.ts +1 -2
  285. package/src/hooks/useSignTypedData.ts +1 -2
  286. package/src/hooks/useSimulateContract.ts +1 -1
  287. package/src/hooks/useStorageAt.ts +1 -2
  288. package/src/hooks/useSwitchChain.ts +1 -2
  289. package/src/hooks/useSwitchConnection.ts +1 -2
  290. package/src/hooks/useTransaction.ts +1 -2
  291. package/src/hooks/useTransactionConfirmations.ts +1 -1
  292. package/src/hooks/useTransactionCount.ts +1 -2
  293. package/src/hooks/useTransactionReceipt.ts +1 -2
  294. package/src/hooks/useVerifyMessage.ts +1 -2
  295. package/src/hooks/useVerifyTypedData.ts +1 -1
  296. package/src/hooks/useWaitForCallsStatus.ts +1 -2
  297. package/src/hooks/useWaitForTransactionReceipt.ts +1 -2
  298. package/src/hooks/useWalletClient.ts +1 -2
  299. package/src/hooks/useWatchAsset.ts +1 -2
  300. package/src/hooks/useWatchBlockNumber.ts +6 -2
  301. package/src/hooks/useWatchBlocks.ts +6 -2
  302. package/src/hooks/useWatchContractEvent.ts +6 -2
  303. package/src/hooks/useWatchPendingTransactions.ts +6 -2
  304. package/src/hooks/useWriteContract.ts +1 -1
  305. package/src/hooks/useWriteContractSync.ts +1 -1
  306. package/src/tempo/hooks/amm.ts +5 -3
  307. package/src/tempo/hooks/dex.ts +5 -3
  308. package/src/tempo/hooks/faucet.ts +1 -1
  309. package/src/tempo/hooks/fee.ts +5 -3
  310. package/src/tempo/hooks/nonce.ts +5 -3
  311. package/src/tempo/hooks/policy.ts +5 -3
  312. package/src/tempo/hooks/reward.ts +5 -3
  313. package/src/tempo/hooks/token.ts +5 -3
  314. package/src/types/properties.ts +0 -10
  315. package/src/version.ts +1 -1
  316. package/dist/esm/exports/internal.js +0 -5
  317. package/dist/esm/exports/internal.js.map +0 -1
  318. package/dist/types/exports/internal.d.ts +0 -2
  319. package/dist/types/exports/internal.d.ts.map +0 -1
  320. package/internal/package.json +0 -5
  321. package/src/exports/internal.ts +0 -5
@@ -4,13 +4,12 @@ import type {
4
4
  GetTransactionReceiptErrorType,
5
5
  ResolvedRegister,
6
6
  } from '@wagmi/core'
7
- import type { Compute } from '@wagmi/core/internal'
7
+ import type { Compute, ConfigParameter } from '@wagmi/core/internal'
8
8
  import {
9
9
  type GetTransactionReceiptData,
10
10
  type GetTransactionReceiptOptions,
11
11
  getTransactionReceiptQueryOptions,
12
12
  } from '@wagmi/core/query'
13
- import type { ConfigParameter } from '../types/properties.js'
14
13
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
15
14
  import { useChainId } from './useChainId.js'
16
15
  import { useConfig } from './useConfig.js'
@@ -4,13 +4,12 @@ import type {
4
4
  ResolvedRegister,
5
5
  VerifyMessageErrorType,
6
6
  } from '@wagmi/core'
7
- import type { Compute } from '@wagmi/core/internal'
7
+ import type { Compute, ConfigParameter } from '@wagmi/core/internal'
8
8
  import {
9
9
  type VerifyMessageData,
10
10
  type VerifyMessageOptions,
11
11
  verifyMessageQueryOptions,
12
12
  } from '@wagmi/core/query'
13
- import type { ConfigParameter } from '../types/properties.js'
14
13
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
15
14
  import { useChainId } from './useChainId.js'
16
15
  import { useConfig } from './useConfig.js'
@@ -4,13 +4,13 @@ import type {
4
4
  ResolvedRegister,
5
5
  VerifyTypedDataErrorType,
6
6
  } from '@wagmi/core'
7
+ import type { ConfigParameter } from '@wagmi/core/internal'
7
8
  import {
8
9
  type VerifyTypedDataData,
9
10
  type VerifyTypedDataOptions,
10
11
  verifyTypedDataQueryOptions,
11
12
  } from '@wagmi/core/query'
12
13
  import type { TypedData } from 'viem'
13
- import type { ConfigParameter } from '../types/properties.js'
14
14
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
15
15
  import { useChainId } from './useChainId.js'
16
16
  import { useConfig } from './useConfig.js'
@@ -4,13 +4,12 @@ import type {
4
4
  ResolvedRegister,
5
5
  WaitForCallsStatusErrorType,
6
6
  } from '@wagmi/core'
7
- import type { Compute } from '@wagmi/core/internal'
7
+ import type { Compute, ConfigParameter } from '@wagmi/core/internal'
8
8
  import {
9
9
  type WaitForCallsStatusData,
10
10
  type WaitForCallsStatusOptions,
11
11
  waitForCallsStatusQueryOptions,
12
12
  } from '@wagmi/core/query'
13
- import type { ConfigParameter } from '../types/properties.js'
14
13
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
15
14
  import { useConfig } from './useConfig.js'
16
15
  import { useConnection } from './useConnection.js'
@@ -4,13 +4,12 @@ import type {
4
4
  ResolvedRegister,
5
5
  WaitForTransactionReceiptErrorType,
6
6
  } from '@wagmi/core'
7
- import type { Compute } from '@wagmi/core/internal'
7
+ import type { Compute, ConfigParameter } from '@wagmi/core/internal'
8
8
  import {
9
9
  type WaitForTransactionReceiptData,
10
10
  type WaitForTransactionReceiptOptions,
11
11
  waitForTransactionReceiptQueryOptions,
12
12
  } from '@wagmi/core/query'
13
- import type { ConfigParameter } from '../types/properties.js'
14
13
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
15
14
  import { useChainId } from './useChainId.js'
16
15
  import { useConfig } from './useConfig.js'
@@ -7,14 +7,13 @@ import type {
7
7
  GetWalletClientErrorType,
8
8
  ResolvedRegister,
9
9
  } from '@wagmi/core'
10
- import type { Compute } from '@wagmi/core/internal'
10
+ import type { Compute, ConfigParameter } from '@wagmi/core/internal'
11
11
  import {
12
12
  type GetWalletClientData,
13
13
  type GetWalletClientOptions,
14
14
  getWalletClientQueryOptions,
15
15
  } from '@wagmi/core/query'
16
16
  import { useEffect, useRef } from 'react'
17
- import type { ConfigParameter } from '../types/properties.js'
18
17
  import { type UseQueryReturnType, useQuery } from '../utils/query.js'
19
18
  import { useChainId } from './useChainId.js'
20
19
  import { useConfig } from './useConfig.js'
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import { useMutation } from '@tanstack/react-query'
3
3
  import type { WatchAssetErrorType } from '@wagmi/core'
4
- import type { Compute } from '@wagmi/core/internal'
4
+ import type { Compute, ConfigParameter } from '@wagmi/core/internal'
5
5
  import {
6
6
  type WatchAssetData,
7
7
  type WatchAssetMutate,
@@ -10,7 +10,6 @@ import {
10
10
  type WatchAssetVariables,
11
11
  watchAssetMutationOptions,
12
12
  } from '@wagmi/core/query'
13
- import type { ConfigParameter } from '../types/properties.js'
14
13
  import type { UseMutationReturnType } from '../utils/query.js'
15
14
  import { useConfig } from './useConfig.js'
16
15
 
@@ -5,9 +5,13 @@ import {
5
5
  type WatchBlockNumberParameters,
6
6
  watchBlockNumber,
7
7
  } from '@wagmi/core'
8
- import type { UnionCompute, UnionExactPartial } from '@wagmi/core/internal'
8
+ import type {
9
+ ConfigParameter,
10
+ EnabledParameter,
11
+ UnionCompute,
12
+ UnionExactPartial,
13
+ } from '@wagmi/core/internal'
9
14
  import { useEffect, useRef } from 'react'
10
- import type { ConfigParameter, EnabledParameter } from '../types/properties.js'
11
15
  import { useChainId } from './useChainId.js'
12
16
  import { useConfig } from './useConfig.js'
13
17
 
@@ -5,10 +5,14 @@ import {
5
5
  type WatchBlocksParameters,
6
6
  watchBlocks,
7
7
  } from '@wagmi/core'
8
- import type { UnionCompute, UnionExactPartial } from '@wagmi/core/internal'
8
+ import type {
9
+ ConfigParameter,
10
+ EnabledParameter,
11
+ UnionCompute,
12
+ UnionExactPartial,
13
+ } from '@wagmi/core/internal'
9
14
  import { useEffect, useRef } from 'react'
10
15
  import type { BlockTag } from 'viem'
11
- import type { ConfigParameter, EnabledParameter } from '../types/properties.js'
12
16
  import { useChainId } from './useChainId.js'
13
17
  import { useConfig } from './useConfig.js'
14
18
 
@@ -6,10 +6,14 @@ import {
6
6
  type WatchContractEventParameters,
7
7
  watchContractEvent,
8
8
  } from '@wagmi/core'
9
- import type { UnionCompute, UnionExactPartial } from '@wagmi/core/internal'
9
+ import type {
10
+ ConfigParameter,
11
+ EnabledParameter,
12
+ UnionCompute,
13
+ UnionExactPartial,
14
+ } from '@wagmi/core/internal'
10
15
  import { useEffect, useRef } from 'react'
11
16
  import type { Abi, ContractEventName } from 'viem'
12
- import type { ConfigParameter, EnabledParameter } from '../types/properties.js'
13
17
  import { useChainId } from './useChainId.js'
14
18
  import { useConfig } from './useConfig.js'
15
19
 
@@ -5,9 +5,13 @@ import {
5
5
  type WatchPendingTransactionsParameters,
6
6
  watchPendingTransactions,
7
7
  } from '@wagmi/core'
8
- import type { UnionCompute, UnionExactPartial } from '@wagmi/core/internal'
8
+ import type {
9
+ ConfigParameter,
10
+ EnabledParameter,
11
+ UnionCompute,
12
+ UnionExactPartial,
13
+ } from '@wagmi/core/internal'
9
14
  import { useEffect, useRef } from 'react'
10
- import type { ConfigParameter, EnabledParameter } from '../types/properties.js'
11
15
  import { useChainId } from './useChainId.js'
12
16
  import { useConfig } from './useConfig.js'
13
17
 
@@ -5,6 +5,7 @@ import type {
5
5
  ResolvedRegister,
6
6
  WriteContractErrorType,
7
7
  } from '@wagmi/core'
8
+ import type { ConfigParameter } from '@wagmi/core/internal'
8
9
  import {
9
10
  type WriteContractData,
10
11
  type WriteContractMutate,
@@ -14,7 +15,6 @@ import {
14
15
  writeContractMutationOptions,
15
16
  } from '@wagmi/core/query'
16
17
  import type { Abi } from 'viem'
17
- import type { ConfigParameter } from '../types/properties.js'
18
18
  import type { UseMutationReturnType } from '../utils/query.js'
19
19
  import { useConfig } from './useConfig.js'
20
20
 
@@ -5,6 +5,7 @@ import type {
5
5
  ResolvedRegister,
6
6
  WriteContractSyncErrorType,
7
7
  } from '@wagmi/core'
8
+ import type { ConfigParameter } from '@wagmi/core/internal'
8
9
  import {
9
10
  type WriteContractSyncData,
10
11
  type WriteContractSyncMutate,
@@ -14,7 +15,6 @@ import {
14
15
  writeContractSyncMutationOptions,
15
16
  } from '@wagmi/core/query'
16
17
  import type { Abi } from 'viem'
17
- import type { ConfigParameter } from '../types/properties.js'
18
18
  import type { UseMutationReturnType } from '../utils/query.js'
19
19
  import { useConfig } from './useConfig.js'
20
20
 
@@ -1,12 +1,14 @@
1
1
  import type { UseMutationResult } from '@tanstack/react-query'
2
2
  import type { Config, ResolvedRegister } from '@wagmi/core'
3
- import type { ExactPartial, UnionCompute } from '@wagmi/core/internal'
3
+ import type {
4
+ ConfigParameter,
5
+ ExactPartial,
6
+ UnionCompute,
7
+ } from '@wagmi/core/internal'
4
8
  import { Actions } from '@wagmi/core/tempo'
5
9
  import { useEffect } from 'react'
6
-
7
10
  import { useChainId } from '../../hooks/useChainId.js'
8
11
  import { useConfig } from '../../hooks/useConfig.js'
9
- import type { ConfigParameter } from '../../types/properties.js'
10
12
  import {
11
13
  type UseMutationParameters,
12
14
  type UseQueryReturnType,
@@ -1,12 +1,14 @@
1
1
  import type { UseMutationResult } from '@tanstack/react-query'
2
2
  import type { Config, ResolvedRegister } from '@wagmi/core'
3
- import type { ExactPartial, UnionCompute } from '@wagmi/core/internal'
3
+ import type {
4
+ ConfigParameter,
5
+ ExactPartial,
6
+ UnionCompute,
7
+ } from '@wagmi/core/internal'
4
8
  import { Actions } from '@wagmi/core/tempo'
5
9
  import { useEffect } from 'react'
6
-
7
10
  import { useChainId } from '../../hooks/useChainId.js'
8
11
  import { useConfig } from '../../hooks/useConfig.js'
9
- import type { ConfigParameter } from '../../types/properties.js'
10
12
  import {
11
13
  type UseMutationParameters,
12
14
  type UseQueryReturnType,
@@ -1,8 +1,8 @@
1
1
  import type { UseMutationResult } from '@tanstack/react-query'
2
2
  import type { Config, ResolvedRegister } from '@wagmi/core'
3
+ import type { ConfigParameter } from '@wagmi/core/internal'
3
4
  import { Actions } from '@wagmi/core/tempo'
4
5
  import { useConfig } from '../../hooks/useConfig.js'
5
- import type { ConfigParameter } from '../../types/properties.js'
6
6
  import { type UseMutationParameters, useMutation } from '../../utils/query.js'
7
7
 
8
8
  /**
@@ -1,12 +1,14 @@
1
1
  import type { UseMutationResult } from '@tanstack/react-query'
2
2
  import type { Config, ResolvedRegister } from '@wagmi/core'
3
- import type { ExactPartial, UnionCompute } from '@wagmi/core/internal'
3
+ import type {
4
+ ConfigParameter,
5
+ ExactPartial,
6
+ UnionCompute,
7
+ } from '@wagmi/core/internal'
4
8
  import { Actions } from '@wagmi/core/tempo'
5
9
  import { useEffect } from 'react'
6
-
7
10
  import { useChainId } from '../../hooks/useChainId.js'
8
11
  import { useConfig } from '../../hooks/useConfig.js'
9
- import type { ConfigParameter } from '../../types/properties.js'
10
12
  import {
11
13
  type UseMutationParameters,
12
14
  type UseQueryReturnType,
@@ -1,11 +1,13 @@
1
1
  import type { Config, ResolvedRegister } from '@wagmi/core'
2
- import type { ExactPartial, UnionCompute } from '@wagmi/core/internal'
2
+ import type {
3
+ ConfigParameter,
4
+ ExactPartial,
5
+ UnionCompute,
6
+ } from '@wagmi/core/internal'
3
7
  import { Actions } from '@wagmi/core/tempo'
4
8
  import { useEffect } from 'react'
5
-
6
9
  import { useChainId } from '../../hooks/useChainId.js'
7
10
  import { useConfig } from '../../hooks/useConfig.js'
8
- import type { ConfigParameter } from '../../types/properties.js'
9
11
  import { type UseQueryReturnType, useQuery } from '../../utils/query.js'
10
12
  import type { QueryParameter } from '../utils.js'
11
13
 
@@ -1,12 +1,14 @@
1
1
  import type { UseMutationResult } from '@tanstack/react-query'
2
2
  import type { Config, ResolvedRegister } from '@wagmi/core'
3
- import type { ExactPartial, UnionCompute } from '@wagmi/core/internal'
3
+ import type {
4
+ ConfigParameter,
5
+ ExactPartial,
6
+ UnionCompute,
7
+ } from '@wagmi/core/internal'
4
8
  import { Actions } from '@wagmi/core/tempo'
5
9
  import { useEffect } from 'react'
6
-
7
10
  import { useChainId } from '../../hooks/useChainId.js'
8
11
  import { useConfig } from '../../hooks/useConfig.js'
9
- import type { ConfigParameter } from '../../types/properties.js'
10
12
  import {
11
13
  type UseMutationParameters,
12
14
  type UseQueryReturnType,
@@ -1,12 +1,14 @@
1
1
  import type { UseMutationResult } from '@tanstack/react-query'
2
2
  import type { Config, ResolvedRegister } from '@wagmi/core'
3
- import type { ExactPartial, UnionCompute } from '@wagmi/core/internal'
3
+ import type {
4
+ ConfigParameter,
5
+ ExactPartial,
6
+ UnionCompute,
7
+ } from '@wagmi/core/internal'
4
8
  import { Actions } from '@wagmi/core/tempo'
5
9
  import { useEffect } from 'react'
6
-
7
10
  import { useChainId } from '../../hooks/useChainId.js'
8
11
  import { useConfig } from '../../hooks/useConfig.js'
9
- import type { ConfigParameter } from '../../types/properties.js'
10
12
  import {
11
13
  type UseMutationParameters,
12
14
  type UseQueryReturnType,
@@ -1,12 +1,14 @@
1
1
  import type { UseMutationResult } from '@tanstack/react-query'
2
2
  import type { Config, ResolvedRegister } from '@wagmi/core'
3
- import type { ExactPartial, UnionCompute } from '@wagmi/core/internal'
3
+ import type {
4
+ ConfigParameter,
5
+ ExactPartial,
6
+ UnionCompute,
7
+ } from '@wagmi/core/internal'
4
8
  import { Actions } from '@wagmi/core/tempo'
5
9
  import { useEffect } from 'react'
6
-
7
10
  import { useChainId } from '../../hooks/useChainId.js'
8
11
  import { useConfig } from '../../hooks/useConfig.js'
9
- import type { ConfigParameter } from '../../types/properties.js'
10
12
  import {
11
13
  type UseMutationParameters,
12
14
  type UseQueryReturnType,
@@ -1,17 +1,7 @@
1
1
  import type { DefaultError, QueryKey } from '@tanstack/react-query'
2
- import type { Config } from '@wagmi/core'
3
2
  import type { Omit } from '@wagmi/core/internal'
4
-
5
3
  import type { UseInfiniteQueryParameters } from '../utils/query.js'
6
4
 
7
- export type EnabledParameter = {
8
- enabled?: boolean | undefined
9
- }
10
-
11
- export type ConfigParameter<config extends Config = Config> = {
12
- config?: Config | config | undefined
13
- }
14
-
15
5
  export type InfiniteQueryParameter<
16
6
  queryFnData = unknown,
17
7
  error = DefaultError,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '3.4.0'
1
+ export const version = '3.4.2'
@@ -1,5 +0,0 @@
1
- ////////////////////////////////////////////////////////////////////////////////
2
- // Types
3
- ////////////////////////////////////////////////////////////////////////////////
4
- export {};
5
- //# sourceMappingURL=internal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/exports/internal.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,QAAQ;AACR,gFAAgF"}
@@ -1,2 +0,0 @@
1
- export type { ConfigParameter } from '../types/properties.js';
2
- //# sourceMappingURL=internal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/exports/internal.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA"}
@@ -1,5 +0,0 @@
1
- {
2
- "type": "module",
3
- "types": "../dist/types/exports/internal.d.ts",
4
- "main": "../dist/esm/exports/internal.js"
5
- }
@@ -1,5 +0,0 @@
1
- ////////////////////////////////////////////////////////////////////////////////
2
- // Types
3
- ////////////////////////////////////////////////////////////////////////////////
4
-
5
- export type { ConfigParameter } from '../types/properties.js'