@wagmi/core 2.11.7 → 2.12.0

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 (342) hide show
  1. package/dist/esm/actions/codegen/createWriteContract.js.map +1 -1
  2. package/dist/esm/actions/watchAsset.js +11 -0
  3. package/dist/esm/actions/watchAsset.js.map +1 -0
  4. package/dist/esm/connectors/injected.js +7 -0
  5. package/dist/esm/connectors/injected.js.map +1 -1
  6. package/dist/esm/connectors/mock.js +8 -0
  7. package/dist/esm/connectors/mock.js.map +1 -1
  8. package/dist/esm/exports/actions.js +1 -0
  9. package/dist/esm/exports/actions.js.map +1 -1
  10. package/dist/esm/exports/index.js +1 -0
  11. package/dist/esm/exports/index.js.map +1 -1
  12. package/dist/esm/exports/query.js +1 -0
  13. package/dist/esm/exports/query.js.map +1 -1
  14. package/dist/esm/query/estimateGas.js.map +1 -1
  15. package/dist/esm/query/watchAsset.js +10 -0
  16. package/dist/esm/query/watchAsset.js.map +1 -0
  17. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  18. package/dist/esm/version.js +1 -1
  19. package/dist/types/actions/codegen/createReadContract.d.ts +2 -2
  20. package/dist/types/actions/codegen/createReadContract.d.ts.map +1 -1
  21. package/dist/types/actions/codegen/createSimulateContract.d.ts +2 -2
  22. package/dist/types/actions/codegen/createSimulateContract.d.ts.map +1 -1
  23. package/dist/types/actions/codegen/createWatchContractEvent.d.ts +2 -2
  24. package/dist/types/actions/codegen/createWatchContractEvent.d.ts.map +1 -1
  25. package/dist/types/actions/codegen/createWriteContract.d.ts +4 -4
  26. package/dist/types/actions/codegen/createWriteContract.d.ts.map +1 -1
  27. package/dist/types/actions/connect.d.ts +2 -2
  28. package/dist/types/actions/connect.d.ts.map +1 -1
  29. package/dist/types/actions/deployContract.d.ts +2 -2
  30. package/dist/types/actions/deployContract.d.ts.map +1 -1
  31. package/dist/types/actions/estimateFeesPerGas.d.ts +5 -5
  32. package/dist/types/actions/estimateFeesPerGas.d.ts.map +1 -1
  33. package/dist/types/actions/estimateGas.d.ts +2 -2
  34. package/dist/types/actions/estimateGas.d.ts.map +1 -1
  35. package/dist/types/actions/estimateMaxPriorityFeePerGas.d.ts +2 -2
  36. package/dist/types/actions/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  37. package/dist/types/actions/getBalance.d.ts +2 -2
  38. package/dist/types/actions/getBalance.d.ts.map +1 -1
  39. package/dist/types/actions/getBlock.d.ts +3 -3
  40. package/dist/types/actions/getBlock.d.ts.map +1 -1
  41. package/dist/types/actions/getBlockNumber.d.ts +2 -2
  42. package/dist/types/actions/getBlockNumber.d.ts.map +1 -1
  43. package/dist/types/actions/getBlockTransactionCount.d.ts +2 -2
  44. package/dist/types/actions/getBlockTransactionCount.d.ts.map +1 -1
  45. package/dist/types/actions/getBytecode.d.ts +2 -2
  46. package/dist/types/actions/getBytecode.d.ts.map +1 -1
  47. package/dist/types/actions/getClient.d.ts +2 -2
  48. package/dist/types/actions/getClient.d.ts.map +1 -1
  49. package/dist/types/actions/getConnections.d.ts +2 -2
  50. package/dist/types/actions/getConnections.d.ts.map +1 -1
  51. package/dist/types/actions/getConnectorClient.d.ts +3 -3
  52. package/dist/types/actions/getConnectorClient.d.ts.map +1 -1
  53. package/dist/types/actions/getEnsAddress.d.ts +2 -2
  54. package/dist/types/actions/getEnsAddress.d.ts.map +1 -1
  55. package/dist/types/actions/getEnsAvatar.d.ts +2 -2
  56. package/dist/types/actions/getEnsAvatar.d.ts.map +1 -1
  57. package/dist/types/actions/getEnsName.d.ts +2 -2
  58. package/dist/types/actions/getEnsName.d.ts.map +1 -1
  59. package/dist/types/actions/getEnsResolver.d.ts +2 -2
  60. package/dist/types/actions/getEnsResolver.d.ts.map +1 -1
  61. package/dist/types/actions/getEnsText.d.ts +2 -2
  62. package/dist/types/actions/getEnsText.d.ts.map +1 -1
  63. package/dist/types/actions/getFeeHistory.d.ts +2 -2
  64. package/dist/types/actions/getFeeHistory.d.ts.map +1 -1
  65. package/dist/types/actions/getGasPrice.d.ts +2 -2
  66. package/dist/types/actions/getGasPrice.d.ts.map +1 -1
  67. package/dist/types/actions/getProof.d.ts +2 -2
  68. package/dist/types/actions/getProof.d.ts.map +1 -1
  69. package/dist/types/actions/getPublicClient.d.ts +2 -2
  70. package/dist/types/actions/getPublicClient.d.ts.map +1 -1
  71. package/dist/types/actions/getStorageAt.d.ts +2 -2
  72. package/dist/types/actions/getStorageAt.d.ts.map +1 -1
  73. package/dist/types/actions/getToken.d.ts +2 -2
  74. package/dist/types/actions/getToken.d.ts.map +1 -1
  75. package/dist/types/actions/getTransaction.d.ts +3 -3
  76. package/dist/types/actions/getTransaction.d.ts.map +1 -1
  77. package/dist/types/actions/getTransactionCount.d.ts +2 -2
  78. package/dist/types/actions/getTransactionCount.d.ts.map +1 -1
  79. package/dist/types/actions/getTransactionReceipt.d.ts +3 -3
  80. package/dist/types/actions/getTransactionReceipt.d.ts.map +1 -1
  81. package/dist/types/actions/getWalletClient.d.ts +2 -2
  82. package/dist/types/actions/getWalletClient.d.ts.map +1 -1
  83. package/dist/types/actions/prepareTransactionRequest.d.ts +3 -3
  84. package/dist/types/actions/prepareTransactionRequest.d.ts.map +1 -1
  85. package/dist/types/actions/reconnect.d.ts +2 -2
  86. package/dist/types/actions/reconnect.d.ts.map +1 -1
  87. package/dist/types/actions/sendTransaction.d.ts +2 -2
  88. package/dist/types/actions/sendTransaction.d.ts.map +1 -1
  89. package/dist/types/actions/signMessage.d.ts +2 -2
  90. package/dist/types/actions/signMessage.d.ts.map +1 -1
  91. package/dist/types/actions/signTypedData.d.ts +2 -2
  92. package/dist/types/actions/signTypedData.d.ts.map +1 -1
  93. package/dist/types/actions/simulateContract.d.ts +3 -3
  94. package/dist/types/actions/simulateContract.d.ts.map +1 -1
  95. package/dist/types/actions/switchChain.d.ts +3 -3
  96. package/dist/types/actions/switchChain.d.ts.map +1 -1
  97. package/dist/types/actions/verifyMessage.d.ts +2 -2
  98. package/dist/types/actions/verifyMessage.d.ts.map +1 -1
  99. package/dist/types/actions/verifyTypedData.d.ts +2 -2
  100. package/dist/types/actions/verifyTypedData.d.ts.map +1 -1
  101. package/dist/types/actions/waitForTransactionReceipt.d.ts +3 -3
  102. package/dist/types/actions/waitForTransactionReceipt.d.ts.map +1 -1
  103. package/dist/types/actions/watchAsset.d.ts +12 -0
  104. package/dist/types/actions/watchAsset.d.ts.map +1 -0
  105. package/dist/types/actions/watchBlockNumber.d.ts +2 -2
  106. package/dist/types/actions/watchBlockNumber.d.ts.map +1 -1
  107. package/dist/types/actions/watchBlocks.d.ts +2 -2
  108. package/dist/types/actions/watchBlocks.d.ts.map +1 -1
  109. package/dist/types/actions/watchContractEvent.d.ts +2 -2
  110. package/dist/types/actions/watchContractEvent.d.ts.map +1 -1
  111. package/dist/types/actions/watchPendingTransactions.d.ts +2 -2
  112. package/dist/types/actions/watchPendingTransactions.d.ts.map +1 -1
  113. package/dist/types/actions/writeContract.d.ts +3 -3
  114. package/dist/types/actions/writeContract.d.ts.map +1 -1
  115. package/dist/types/connectors/createConnector.d.ts +5 -5
  116. package/dist/types/connectors/createConnector.d.ts.map +1 -1
  117. package/dist/types/connectors/injected.d.ts +3 -3
  118. package/dist/types/connectors/injected.d.ts.map +1 -1
  119. package/dist/types/connectors/mock.d.ts +1 -0
  120. package/dist/types/connectors/mock.d.ts.map +1 -1
  121. package/dist/types/createConfig.d.ts +3 -3
  122. package/dist/types/createConfig.d.ts.map +1 -1
  123. package/dist/types/createStorage.d.ts +3 -3
  124. package/dist/types/createStorage.d.ts.map +1 -1
  125. package/dist/types/errors/base.d.ts +2 -2
  126. package/dist/types/errors/base.d.ts.map +1 -1
  127. package/dist/types/experimental/actions/sendCalls.d.ts +2 -2
  128. package/dist/types/experimental/actions/sendCalls.d.ts.map +1 -1
  129. package/dist/types/experimental/actions/writeContracts.d.ts +2 -2
  130. package/dist/types/experimental/actions/writeContracts.d.ts.map +1 -1
  131. package/dist/types/experimental/query/getCallsStatus.d.ts +2 -2
  132. package/dist/types/experimental/query/getCallsStatus.d.ts.map +1 -1
  133. package/dist/types/experimental/query/getCapabilities.d.ts +2 -2
  134. package/dist/types/experimental/query/getCapabilities.d.ts.map +1 -1
  135. package/dist/types/experimental/query/sendCalls.d.ts +4 -4
  136. package/dist/types/experimental/query/sendCalls.d.ts.map +1 -1
  137. package/dist/types/experimental/query/showCallsStatus.d.ts +4 -4
  138. package/dist/types/experimental/query/showCallsStatus.d.ts.map +1 -1
  139. package/dist/types/experimental/query/writeContracts.d.ts +4 -4
  140. package/dist/types/experimental/query/writeContracts.d.ts.map +1 -1
  141. package/dist/types/exports/actions.d.ts +1 -0
  142. package/dist/types/exports/actions.d.ts.map +1 -1
  143. package/dist/types/exports/index.d.ts +1 -0
  144. package/dist/types/exports/index.d.ts.map +1 -1
  145. package/dist/types/exports/internal.d.ts +1 -1
  146. package/dist/types/exports/internal.d.ts.map +1 -1
  147. package/dist/types/exports/query.d.ts +1 -0
  148. package/dist/types/exports/query.d.ts.map +1 -1
  149. package/dist/types/query/call.d.ts +2 -2
  150. package/dist/types/query/call.d.ts.map +1 -1
  151. package/dist/types/query/deployContract.d.ts +4 -4
  152. package/dist/types/query/deployContract.d.ts.map +1 -1
  153. package/dist/types/query/estimateFeesPerGas.d.ts +2 -2
  154. package/dist/types/query/estimateFeesPerGas.d.ts.map +1 -1
  155. package/dist/types/query/estimateGas.d.ts +2 -2
  156. package/dist/types/query/estimateGas.d.ts.map +1 -1
  157. package/dist/types/query/estimateMaxPriorityFeePerGas.d.ts +2 -2
  158. package/dist/types/query/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  159. package/dist/types/query/getBalance.d.ts +3 -3
  160. package/dist/types/query/getBalance.d.ts.map +1 -1
  161. package/dist/types/query/getBlock.d.ts +2 -2
  162. package/dist/types/query/getBlock.d.ts.map +1 -1
  163. package/dist/types/query/getBlockNumber.d.ts +2 -2
  164. package/dist/types/query/getBlockNumber.d.ts.map +1 -1
  165. package/dist/types/query/getBlockTransactionCount.d.ts +2 -2
  166. package/dist/types/query/getBlockTransactionCount.d.ts.map +1 -1
  167. package/dist/types/query/getBytecode.d.ts +2 -2
  168. package/dist/types/query/getBytecode.d.ts.map +1 -1
  169. package/dist/types/query/getConnectorClient.d.ts +2 -2
  170. package/dist/types/query/getConnectorClient.d.ts.map +1 -1
  171. package/dist/types/query/getEnsAddress.d.ts +2 -2
  172. package/dist/types/query/getEnsAddress.d.ts.map +1 -1
  173. package/dist/types/query/getEnsAvatar.d.ts +2 -2
  174. package/dist/types/query/getEnsAvatar.d.ts.map +1 -1
  175. package/dist/types/query/getEnsName.d.ts +2 -2
  176. package/dist/types/query/getEnsName.d.ts.map +1 -1
  177. package/dist/types/query/getEnsResolver.d.ts +2 -2
  178. package/dist/types/query/getEnsResolver.d.ts.map +1 -1
  179. package/dist/types/query/getEnsText.d.ts +2 -2
  180. package/dist/types/query/getEnsText.d.ts.map +1 -1
  181. package/dist/types/query/getFeeHistory.d.ts +2 -2
  182. package/dist/types/query/getFeeHistory.d.ts.map +1 -1
  183. package/dist/types/query/getGasPrice.d.ts +2 -2
  184. package/dist/types/query/getGasPrice.d.ts.map +1 -1
  185. package/dist/types/query/getProof.d.ts +2 -2
  186. package/dist/types/query/getProof.d.ts.map +1 -1
  187. package/dist/types/query/getStorageAt.d.ts +2 -2
  188. package/dist/types/query/getStorageAt.d.ts.map +1 -1
  189. package/dist/types/query/getToken.d.ts +2 -2
  190. package/dist/types/query/getToken.d.ts.map +1 -1
  191. package/dist/types/query/getTransaction.d.ts +2 -2
  192. package/dist/types/query/getTransaction.d.ts.map +1 -1
  193. package/dist/types/query/getTransactionConfirmations.d.ts +2 -2
  194. package/dist/types/query/getTransactionConfirmations.d.ts.map +1 -1
  195. package/dist/types/query/getTransactionCount.d.ts +3 -3
  196. package/dist/types/query/getTransactionCount.d.ts.map +1 -1
  197. package/dist/types/query/getTransactionReceipt.d.ts +2 -2
  198. package/dist/types/query/getTransactionReceipt.d.ts.map +1 -1
  199. package/dist/types/query/getWalletClient.d.ts +2 -2
  200. package/dist/types/query/getWalletClient.d.ts.map +1 -1
  201. package/dist/types/query/infiniteReadContracts.d.ts +2 -2
  202. package/dist/types/query/infiniteReadContracts.d.ts.map +1 -1
  203. package/dist/types/query/prepareTransactionRequest.d.ts +2 -2
  204. package/dist/types/query/prepareTransactionRequest.d.ts.map +1 -1
  205. package/dist/types/query/readContract.d.ts +6 -6
  206. package/dist/types/query/readContract.d.ts.map +1 -1
  207. package/dist/types/query/reconnect.d.ts +2 -2
  208. package/dist/types/query/reconnect.d.ts.map +1 -1
  209. package/dist/types/query/sendTransaction.d.ts +4 -4
  210. package/dist/types/query/sendTransaction.d.ts.map +1 -1
  211. package/dist/types/query/signMessage.d.ts +2 -2
  212. package/dist/types/query/signMessage.d.ts.map +1 -1
  213. package/dist/types/query/signTypedData.d.ts +2 -2
  214. package/dist/types/query/signTypedData.d.ts.map +1 -1
  215. package/dist/types/query/simulateContract.d.ts +2 -2
  216. package/dist/types/query/simulateContract.d.ts.map +1 -1
  217. package/dist/types/query/switchAccount.d.ts +3 -3
  218. package/dist/types/query/switchAccount.d.ts.map +1 -1
  219. package/dist/types/query/switchChain.d.ts +6 -6
  220. package/dist/types/query/switchChain.d.ts.map +1 -1
  221. package/dist/types/query/types.d.ts +5 -5
  222. package/dist/types/query/types.d.ts.map +1 -1
  223. package/dist/types/query/verifyMessage.d.ts +2 -2
  224. package/dist/types/query/verifyMessage.d.ts.map +1 -1
  225. package/dist/types/query/waitForTransactionReceipt.d.ts +2 -2
  226. package/dist/types/query/waitForTransactionReceipt.d.ts.map +1 -1
  227. package/dist/types/query/watchAsset.d.ts +22 -0
  228. package/dist/types/query/watchAsset.d.ts.map +1 -0
  229. package/dist/types/query/writeContract.d.ts +3 -3
  230. package/dist/types/query/writeContract.d.ts.map +1 -1
  231. package/dist/types/types/utils.d.ts +9 -9
  232. package/dist/types/types/utils.d.ts.map +1 -1
  233. package/dist/types/version.d.ts +1 -1
  234. package/package.json +2 -2
  235. package/src/actions/codegen/createReadContract.ts +3 -3
  236. package/src/actions/codegen/createSimulateContract.ts +3 -3
  237. package/src/actions/codegen/createWatchContractEvent.ts +3 -3
  238. package/src/actions/codegen/createWriteContract.ts +8 -4
  239. package/src/actions/connect.ts +2 -2
  240. package/src/actions/deployContract.ts +2 -2
  241. package/src/actions/estimateFeesPerGas.ts +5 -5
  242. package/src/actions/estimateGas.ts +2 -2
  243. package/src/actions/estimateMaxPriorityFeePerGas.ts +2 -2
  244. package/src/actions/getBalance.ts +2 -2
  245. package/src/actions/getBlock.ts +3 -3
  246. package/src/actions/getBlockNumber.ts +2 -2
  247. package/src/actions/getBlockTransactionCount.ts +2 -2
  248. package/src/actions/getBytecode.ts +2 -2
  249. package/src/actions/getClient.ts +2 -2
  250. package/src/actions/getConnections.ts +2 -2
  251. package/src/actions/getConnectorClient.ts +3 -3
  252. package/src/actions/getEnsAddress.ts +2 -2
  253. package/src/actions/getEnsAvatar.ts +2 -2
  254. package/src/actions/getEnsName.ts +2 -2
  255. package/src/actions/getEnsResolver.ts +2 -2
  256. package/src/actions/getEnsText.ts +2 -2
  257. package/src/actions/getFeeHistory.ts +2 -2
  258. package/src/actions/getGasPrice.ts +2 -2
  259. package/src/actions/getProof.ts +2 -2
  260. package/src/actions/getPublicClient.ts +2 -2
  261. package/src/actions/getStorageAt.ts +2 -2
  262. package/src/actions/getToken.ts +2 -2
  263. package/src/actions/getTransaction.ts +3 -3
  264. package/src/actions/getTransactionCount.ts +2 -2
  265. package/src/actions/getTransactionReceipt.ts +3 -3
  266. package/src/actions/getWalletClient.ts +2 -2
  267. package/src/actions/prepareTransactionRequest.ts +6 -6
  268. package/src/actions/reconnect.ts +2 -2
  269. package/src/actions/sendTransaction.ts +2 -2
  270. package/src/actions/signMessage.ts +2 -2
  271. package/src/actions/signTypedData.ts +2 -2
  272. package/src/actions/simulateContract.ts +6 -6
  273. package/src/actions/switchChain.ts +3 -3
  274. package/src/actions/verifyMessage.ts +2 -2
  275. package/src/actions/verifyTypedData.ts +2 -2
  276. package/src/actions/waitForTransactionReceipt.ts +3 -3
  277. package/src/actions/watchAsset.ts +44 -0
  278. package/src/actions/watchBlockNumber.ts +2 -2
  279. package/src/actions/watchBlocks.ts +2 -2
  280. package/src/actions/watchContractEvent.ts +2 -2
  281. package/src/actions/watchPendingTransactions.ts +2 -2
  282. package/src/actions/writeContract.ts +4 -4
  283. package/src/connectors/createConnector.ts +5 -5
  284. package/src/connectors/injected.ts +11 -4
  285. package/src/connectors/mock.ts +12 -0
  286. package/src/createConfig.ts +3 -3
  287. package/src/createStorage.ts +3 -3
  288. package/src/errors/base.ts +2 -2
  289. package/src/experimental/actions/sendCalls.ts +2 -2
  290. package/src/experimental/actions/writeContracts.ts +2 -2
  291. package/src/experimental/query/getCallsStatus.ts +2 -2
  292. package/src/experimental/query/getCapabilities.ts +2 -2
  293. package/src/experimental/query/sendCalls.ts +6 -6
  294. package/src/experimental/query/showCallsStatus.ts +6 -6
  295. package/src/experimental/query/writeContracts.ts +6 -6
  296. package/src/exports/actions.ts +6 -0
  297. package/src/exports/index.ts +7 -0
  298. package/src/exports/internal.ts +5 -5
  299. package/src/exports/query.ts +8 -0
  300. package/src/query/call.ts +2 -2
  301. package/src/query/deployContract.ts +6 -6
  302. package/src/query/estimateFeesPerGas.ts +2 -2
  303. package/src/query/estimateGas.ts +3 -2
  304. package/src/query/estimateMaxPriorityFeePerGas.ts +2 -2
  305. package/src/query/getBalance.ts +3 -3
  306. package/src/query/getBlock.ts +2 -2
  307. package/src/query/getBlockNumber.ts +2 -2
  308. package/src/query/getBlockTransactionCount.ts +2 -2
  309. package/src/query/getBytecode.ts +2 -2
  310. package/src/query/getConnectorClient.ts +2 -2
  311. package/src/query/getEnsAddress.ts +2 -2
  312. package/src/query/getEnsAvatar.ts +2 -2
  313. package/src/query/getEnsName.ts +2 -2
  314. package/src/query/getEnsResolver.ts +2 -2
  315. package/src/query/getEnsText.ts +2 -2
  316. package/src/query/getFeeHistory.ts +2 -2
  317. package/src/query/getGasPrice.ts +2 -2
  318. package/src/query/getProof.ts +2 -2
  319. package/src/query/getStorageAt.ts +2 -2
  320. package/src/query/getToken.ts +2 -2
  321. package/src/query/getTransaction.ts +2 -2
  322. package/src/query/getTransactionConfirmations.ts +2 -2
  323. package/src/query/getTransactionCount.ts +3 -3
  324. package/src/query/getTransactionReceipt.ts +2 -2
  325. package/src/query/getWalletClient.ts +2 -2
  326. package/src/query/infiniteReadContracts.ts +2 -2
  327. package/src/query/prepareTransactionRequest.ts +2 -2
  328. package/src/query/readContract.ts +2 -2
  329. package/src/query/reconnect.ts +2 -2
  330. package/src/query/sendTransaction.ts +6 -6
  331. package/src/query/signMessage.ts +2 -2
  332. package/src/query/signTypedData.ts +2 -2
  333. package/src/query/simulateContract.ts +2 -2
  334. package/src/query/switchAccount.ts +3 -3
  335. package/src/query/switchChain.ts +7 -7
  336. package/src/query/types.ts +7 -7
  337. package/src/query/verifyMessage.ts +2 -2
  338. package/src/query/waitForTransactionReceipt.ts +2 -2
  339. package/src/query/watchAsset.ts +42 -0
  340. package/src/query/writeContract.ts +2 -2
  341. package/src/types/utils.ts +12 -10
  342. package/src/version.ts +1 -1
@@ -17,7 +17,7 @@ import type {
17
17
  ChainIdParameter,
18
18
  ConnectorParameter,
19
19
  } from '../../types/properties.js'
20
- import type { Evaluate } from '../../types/utils.js'
20
+ import type { Compute } from '../../types/utils.js'
21
21
 
22
22
  export type SendCallsParameters<
23
23
  config extends Config = Config,
@@ -26,7 +26,7 @@ export type SendCallsParameters<
26
26
  ///
27
27
  chains extends readonly Chain[] = SelectChains<config, chainId>,
28
28
  > = {
29
- [key in keyof chains]: Evaluate<
29
+ [key in keyof chains]: Compute<
30
30
  Omit<viem_SendCallsParameters<chains[key], Account, chains[key]>, 'chain'> &
31
31
  ChainIdParameter<config, chainId> &
32
32
  ConnectorParameter
@@ -17,7 +17,7 @@ import type {
17
17
  ChainIdParameter,
18
18
  ConnectorParameter,
19
19
  } from '../../types/properties.js'
20
- import type { Evaluate } from '../../types/utils.js'
20
+ import type { Compute } from '../../types/utils.js'
21
21
 
22
22
  export type WriteContractsParameters<
23
23
  contracts extends readonly unknown[] = readonly ContractFunctionParameters[],
@@ -27,7 +27,7 @@ export type WriteContractsParameters<
27
27
  ///
28
28
  chains extends readonly Chain[] = SelectChains<config, chainId>,
29
29
  > = {
30
- [key in keyof chains]: Evaluate<
30
+ [key in keyof chains]: Compute<
31
31
  Omit<
32
32
  viem_WriteContractsParameters<
33
33
  contracts,
@@ -4,7 +4,7 @@ import type { Config } from '../../createConfig.js'
4
4
  import { ConnectorNotConnectedError } from '../../errors/config.js'
5
5
  import { filterQueryOptions } from '../../query/utils.js'
6
6
  import type { ScopeKeyParameter } from '../../types/properties.js'
7
- import type { Evaluate } from '../../types/utils.js'
7
+ import type { Compute } from '../../types/utils.js'
8
8
  import {
9
9
  type GetCallsStatusErrorType,
10
10
  type GetCallsStatusParameters,
@@ -12,7 +12,7 @@ import {
12
12
  getCallsStatus,
13
13
  } from '../actions/getCallsStatus.js'
14
14
 
15
- export type GetCallsStatusOptions = Evaluate<
15
+ export type GetCallsStatusOptions = Compute<
16
16
  GetCallsStatusParameters & ScopeKeyParameter
17
17
  >
18
18
 
@@ -4,7 +4,7 @@ import type { Config } from '../../createConfig.js'
4
4
  import { ConnectorNotConnectedError } from '../../errors/config.js'
5
5
  import { filterQueryOptions } from '../../query/utils.js'
6
6
  import type { ScopeKeyParameter } from '../../types/properties.js'
7
- import type { Evaluate, ExactPartial } from '../../types/utils.js'
7
+ import type { Compute, ExactPartial } from '../../types/utils.js'
8
8
  import {
9
9
  type GetCapabilitiesErrorType,
10
10
  type GetCapabilitiesParameters,
@@ -12,7 +12,7 @@ import {
12
12
  getCapabilities,
13
13
  } from '../actions/getCapabilities.js'
14
14
 
15
- export type GetCapabilitiesOptions = Evaluate<
15
+ export type GetCapabilitiesOptions = Compute<
16
16
  ExactPartial<GetCapabilitiesParameters> & ScopeKeyParameter
17
17
  >
18
18
 
@@ -1,7 +1,7 @@
1
1
  import type { MutateOptions, MutationOptions } from '@tanstack/query-core'
2
2
 
3
3
  import type { Config } from '../../createConfig.js'
4
- import type { Evaluate } from '../../types/utils.js'
4
+ import type { Compute } from '../../types/utils.js'
5
5
  import {
6
6
  type SendCallsErrorType,
7
7
  type SendCallsParameters,
@@ -24,7 +24,7 @@ export function sendCallsMutationOptions<config extends Config>(
24
24
  >
25
25
  }
26
26
 
27
- export type SendCallsData = Evaluate<SendCallsReturnType>
27
+ export type SendCallsData = Compute<SendCallsReturnType>
28
28
 
29
29
  export type SendCallsVariables<
30
30
  config extends Config,
@@ -36,11 +36,11 @@ export type SendCallsMutate<config extends Config, context = unknown> = <
36
36
  >(
37
37
  variables: SendCallsVariables<config, chainId>,
38
38
  options?:
39
- | Evaluate<
39
+ | Compute<
40
40
  MutateOptions<
41
41
  SendCallsData,
42
42
  SendCallsErrorType,
43
- Evaluate<SendCallsVariables<config, chainId>>,
43
+ Compute<SendCallsVariables<config, chainId>>,
44
44
  context
45
45
  >
46
46
  >
@@ -52,11 +52,11 @@ export type SendCallsMutateAsync<config extends Config, context = unknown> = <
52
52
  >(
53
53
  variables: SendCallsVariables<config, chainId>,
54
54
  options?:
55
- | Evaluate<
55
+ | Compute<
56
56
  MutateOptions<
57
57
  SendCallsData,
58
58
  SendCallsErrorType,
59
- Evaluate<SendCallsVariables<config, chainId>>,
59
+ Compute<SendCallsVariables<config, chainId>>,
60
60
  context
61
61
  >
62
62
  >
@@ -1,7 +1,7 @@
1
1
  import type { MutateOptions, MutationOptions } from '@tanstack/query-core'
2
2
 
3
3
  import type { Config } from '../../createConfig.js'
4
- import type { Evaluate } from '../../types/utils.js'
4
+ import type { Compute } from '../../types/utils.js'
5
5
  import {
6
6
  type ShowCallsStatusErrorType,
7
7
  type ShowCallsStatusParameters,
@@ -24,18 +24,18 @@ export function showCallsStatusMutationOptions<config extends Config>(
24
24
  >
25
25
  }
26
26
 
27
- export type ShowCallsStatusData = Evaluate<ShowCallsStatusReturnType>
27
+ export type ShowCallsStatusData = Compute<ShowCallsStatusReturnType>
28
28
 
29
29
  export type ShowCallsStatusVariables = ShowCallsStatusParameters
30
30
 
31
31
  export type ShowCallsStatusMutate<context = unknown> = (
32
32
  variables: ShowCallsStatusVariables,
33
33
  options?:
34
- | Evaluate<
34
+ | Compute<
35
35
  MutateOptions<
36
36
  ShowCallsStatusData,
37
37
  ShowCallsStatusErrorType,
38
- Evaluate<ShowCallsStatusVariables>,
38
+ Compute<ShowCallsStatusVariables>,
39
39
  context
40
40
  >
41
41
  >
@@ -45,11 +45,11 @@ export type ShowCallsStatusMutate<context = unknown> = (
45
45
  export type ShowCallsStatusMutateAsync<context = unknown> = (
46
46
  variables: ShowCallsStatusVariables,
47
47
  options?:
48
- | Evaluate<
48
+ | Compute<
49
49
  MutateOptions<
50
50
  ShowCallsStatusData,
51
51
  ShowCallsStatusErrorType,
52
- Evaluate<ShowCallsStatusVariables>,
52
+ Compute<ShowCallsStatusVariables>,
53
53
  context
54
54
  >
55
55
  >
@@ -1,7 +1,7 @@
1
1
  import type { MutateOptions, MutationOptions } from '@tanstack/query-core'
2
2
 
3
3
  import type { Config } from '../../createConfig.js'
4
- import type { Evaluate } from '../../types/utils.js'
4
+ import type { Compute } from '../../types/utils.js'
5
5
  import {
6
6
  type WriteContractsErrorType,
7
7
  type WriteContractsParameters,
@@ -25,7 +25,7 @@ export function writeContractsMutationOptions<
25
25
  >
26
26
  }
27
27
 
28
- export type WriteContractsData = Evaluate<WriteContractsReturnType>
28
+ export type WriteContractsData = Compute<WriteContractsReturnType>
29
29
 
30
30
  export type WriteContractsVariables<
31
31
  contracts extends readonly unknown[],
@@ -40,11 +40,11 @@ export type WriteContractsMutate<
40
40
  > = <chainId extends config['chains'][number]['id']>(
41
41
  variables: WriteContractsVariables<contracts, config, chainId>,
42
42
  options?:
43
- | Evaluate<
43
+ | Compute<
44
44
  MutateOptions<
45
45
  WriteContractsData,
46
46
  WriteContractsErrorType,
47
- Evaluate<WriteContractsVariables<contracts, config, chainId>>,
47
+ Compute<WriteContractsVariables<contracts, config, chainId>>,
48
48
  context
49
49
  >
50
50
  >
@@ -58,11 +58,11 @@ export type WriteContractsMutateAsync<
58
58
  > = <chainId extends config['chains'][number]['id']>(
59
59
  variables: WriteContractsVariables<contracts, config, chainId>,
60
60
  options?:
61
- | Evaluate<
61
+ | Compute<
62
62
  MutateOptions<
63
63
  WriteContractsData,
64
64
  WriteContractsErrorType,
65
- Evaluate<WriteContractsVariables<contracts, config, chainId>>,
65
+ Compute<WriteContractsVariables<contracts, config, chainId>>,
66
66
  context
67
67
  >
68
68
  >
@@ -348,6 +348,12 @@ export {
348
348
  watchAccount,
349
349
  } from '../actions/watchAccount.js'
350
350
 
351
+ export {
352
+ type WatchAssetParameters,
353
+ type WatchAssetReturnType,
354
+ watchAsset,
355
+ } from '../actions/watchAsset.js'
356
+
351
357
  export {
352
358
  type WatchBlocksParameters,
353
359
  type WatchBlocksReturnType,
@@ -350,6 +350,13 @@ export {
350
350
  watchAccount,
351
351
  } from '../actions/watchAccount.js'
352
352
 
353
+ export {
354
+ type WatchAssetParameters,
355
+ type WatchAssetErrorType,
356
+ type WatchAssetReturnType,
357
+ watchAsset,
358
+ } from '../actions/watchAsset.js'
359
+
353
360
  export {
354
361
  type WatchBlocksParameters,
355
362
  type WatchBlocksReturnType,
@@ -32,15 +32,15 @@ export {
32
32
  } from '../types/properties.js'
33
33
 
34
34
  export {
35
- type Evaluate,
35
+ type Compute,
36
36
  type ExactPartial,
37
37
  type Mutable,
38
- type Omit,
38
+ type StrictOmit as Omit,
39
39
  type OneOf,
40
40
  type RemoveUndefined,
41
- type UnionEvaluate,
42
- type UnionOmit,
43
- type UnionPartial,
41
+ type UnionCompute,
42
+ type UnionStrictOmit,
43
+ type UnionExactPartial,
44
44
  } from '../types/utils.js'
45
45
 
46
46
  ////////////////////////////////////////////////////////////////////////////////
@@ -372,6 +372,14 @@ export {
372
372
  waitForTransactionReceiptQueryOptions,
373
373
  } from '../query/waitForTransactionReceipt.js'
374
374
 
375
+ export {
376
+ type WatchAssetData,
377
+ type WatchAssetVariables,
378
+ type WatchAssetMutate,
379
+ type WatchAssetMutateAsync,
380
+ watchAssetMutationOptions,
381
+ } from '../query/watchAsset.js'
382
+
375
383
  export {
376
384
  type WriteContractData,
377
385
  type WriteContractVariables,
package/src/query/call.ts CHANGED
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/call.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type CallOptions<config extends Config> = Evaluate<
14
+ export type CallOptions<config extends Config> = Compute<
15
15
  ExactPartial<CallParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,7 +8,7 @@ import {
8
8
  deployContract,
9
9
  } from '../actions/deployContract.js'
10
10
  import type { Config } from '../createConfig.js'
11
- import type { Evaluate } from '../types/utils.js'
11
+ import type { Compute } from '../types/utils.js'
12
12
 
13
13
  export function deployContractMutationOptions<config extends Config>(
14
14
  config: config,
@@ -25,7 +25,7 @@ export function deployContractMutationOptions<config extends Config>(
25
25
  >
26
26
  }
27
27
 
28
- export type DeployContractData = Evaluate<DeployContractReturnType>
28
+ export type DeployContractData = Compute<DeployContractReturnType>
29
29
 
30
30
  export type DeployContractVariables<
31
31
  abi extends Abi | readonly unknown[],
@@ -41,11 +41,11 @@ export type DeployContractMutate<config extends Config, context = unknown> = <
41
41
  >(
42
42
  variables: DeployContractVariables<abi, config, chainId>,
43
43
  options?:
44
- | Evaluate<
44
+ | Compute<
45
45
  MutateOptions<
46
46
  DeployContractData,
47
47
  DeployContractErrorType,
48
- Evaluate<DeployContractVariables<abi, config, chainId>>,
48
+ Compute<DeployContractVariables<abi, config, chainId>>,
49
49
  context
50
50
  >
51
51
  >
@@ -61,11 +61,11 @@ export type DeployContractMutateAsync<
61
61
  >(
62
62
  variables: DeployContractVariables<abi, config, chainId>,
63
63
  options?:
64
- | Evaluate<
64
+ | Compute<
65
65
  MutateOptions<
66
66
  DeployContractData,
67
67
  DeployContractErrorType,
68
- Evaluate<DeployContractVariables<abi, config, chainId>>,
68
+ Compute<DeployContractVariables<abi, config, chainId>>,
69
69
  context
70
70
  >
71
71
  >
@@ -9,13 +9,13 @@ import {
9
9
  } from '../actions/estimateFeesPerGas.js'
10
10
  import type { Config } from '../createConfig.js'
11
11
  import type { ScopeKeyParameter } from '../types/properties.js'
12
- import type { Evaluate, ExactPartial } from '../types/utils.js'
12
+ import type { Compute, ExactPartial } from '../types/utils.js'
13
13
  import { filterQueryOptions } from './utils.js'
14
14
 
15
15
  export type EstimateFeesPerGasOptions<
16
16
  type extends FeeValuesType,
17
17
  config extends Config,
18
- > = Evaluate<
18
+ > = Compute<
19
19
  ExactPartial<EstimateFeesPerGasParameters<type, config>> & ScopeKeyParameter
20
20
  >
21
21
 
@@ -8,13 +8,14 @@ import {
8
8
  } from '../actions/estimateGas.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { UnionPartial } from '../types/utils.js'
11
+ import type { UnionExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
14
  export type EstimateGasOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'] | undefined,
17
- > = UnionPartial<EstimateGasParameters<config, chainId>> & ScopeKeyParameter
17
+ > = UnionExactPartial<EstimateGasParameters<config, chainId>> &
18
+ ScopeKeyParameter
18
19
 
19
20
  export function estimateGasQueryOptions<
20
21
  config extends Config,
@@ -8,11 +8,11 @@ import {
8
8
  } from '../actions/estimateMaxPriorityFeePerGas.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
14
  export type EstimateMaxPriorityFeePerGasOptions<config extends Config> =
15
- Evaluate<
15
+ Compute<
16
16
  ExactPartial<EstimateMaxPriorityFeePerGasParameters<config>> &
17
17
  ScopeKeyParameter
18
18
  >
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getBalance.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, PartialBy } from '../types/utils.js'
11
+ import type { Compute, PartialBy } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetBalanceOptions<config extends Config> = Evaluate<
14
+ export type GetBalanceOptions<config extends Config> = Compute<
15
15
  PartialBy<GetBalanceParameters<config>, 'address'> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -38,7 +38,7 @@ export function getBalanceQueryOptions<config extends Config>(
38
38
  >
39
39
  }
40
40
 
41
- export type GetBalanceQueryFnData = Evaluate<GetBalanceReturnType>
41
+ export type GetBalanceQueryFnData = Compute<GetBalanceReturnType>
42
42
 
43
43
  export type GetBalanceData = GetBalanceQueryFnData
44
44
 
@@ -9,7 +9,7 @@ import {
9
9
  } from '../actions/getBlock.js'
10
10
  import type { Config } from '../createConfig.js'
11
11
  import type { ScopeKeyParameter } from '../types/properties.js'
12
- import type { Evaluate, ExactPartial } from '../types/utils.js'
12
+ import type { Compute, ExactPartial } from '../types/utils.js'
13
13
  import { filterQueryOptions } from './utils.js'
14
14
 
15
15
  export type GetBlockOptions<
@@ -18,7 +18,7 @@ export type GetBlockOptions<
18
18
  config extends Config,
19
19
  chainId extends
20
20
  config['chains'][number]['id'] = config['chains'][number]['id'],
21
- > = Evaluate<
21
+ > = Compute<
22
22
  ExactPartial<
23
23
  GetBlockParameters<includeTransactions, blockTag, config, chainId>
24
24
  > &
@@ -8,13 +8,13 @@ import {
8
8
  } from '../actions/getBlockNumber.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
14
  export type GetBlockNumberOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = Evaluate<
17
+ > = Compute<
18
18
  ExactPartial<GetBlockNumberParameters<config, chainId>> & ScopeKeyParameter
19
19
  >
20
20
 
@@ -8,13 +8,13 @@ import {
8
8
  } from '../actions/getBlockTransactionCount.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { ExactPartial, UnionEvaluate } from '../types/utils.js'
11
+ import type { ExactPartial, UnionCompute } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
14
  export type GetBlockTransactionCountOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = UnionEvaluate<
17
+ > = UnionCompute<
18
18
  ExactPartial<GetBlockTransactionCountParameters<config, chainId>> &
19
19
  ScopeKeyParameter
20
20
  >
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getBytecode.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetBytecodeOptions<config extends Config> = Evaluate<
14
+ export type GetBytecodeOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetBytecodeParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,13 +8,13 @@ import {
8
8
  } from '../actions/getConnectorClient.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
14
  export type GetConnectorClientOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = Evaluate<
17
+ > = Compute<
18
18
  ExactPartial<GetConnectorClientParameters<config, chainId>> &
19
19
  ScopeKeyParameter
20
20
  >
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getEnsAddress.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetEnsAddressOptions<config extends Config> = Evaluate<
14
+ export type GetEnsAddressOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetEnsAddressParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getEnsAvatar.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetEnsAvatarOptions<config extends Config> = Evaluate<
14
+ export type GetEnsAvatarOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetEnsAvatarParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getEnsName.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetEnsNameOptions<config extends Config> = Evaluate<
14
+ export type GetEnsNameOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetEnsNameParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getEnsResolver.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetEnsResolverOptions<config extends Config> = Evaluate<
14
+ export type GetEnsResolverOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetEnsResolverParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getEnsText.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetEnsTextOptions<config extends Config> = Evaluate<
14
+ export type GetEnsTextOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetEnsTextParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,13 +8,13 @@ import {
8
8
  } from '../actions/getFeeHistory.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, PartialBy } from '../types/utils.js'
11
+ import type { Compute, PartialBy } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
14
  export type GetFeeHistoryOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = Evaluate<
17
+ > = Compute<
18
18
  PartialBy<
19
19
  GetFeeHistoryParameters<config, chainId>,
20
20
  'blockCount' | 'rewardPercentiles'
@@ -8,13 +8,13 @@ import {
8
8
  } from '../actions/getGasPrice.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
14
  export type GetGasPriceOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = Evaluate<
17
+ > = Compute<
18
18
  ExactPartial<GetGasPriceParameters<config, chainId>> & ScopeKeyParameter
19
19
  >
20
20
 
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getProof.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetProofOptions<config extends Config> = Evaluate<
14
+ export type GetProofOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetProofParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getStorageAt.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetStorageAtOptions<config extends Config> = Evaluate<
14
+ export type GetStorageAtOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetStorageAtParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getToken.js'
9
9
  import type { Config } from '../createConfig.js'
10
10
  import type { ScopeKeyParameter } from '../types/properties.js'
11
- import type { Evaluate, ExactPartial } from '../types/utils.js'
11
+ import type { Compute, ExactPartial } from '../types/utils.js'
12
12
  import { filterQueryOptions } from './utils.js'
13
13
 
14
- export type GetTokenOptions<config extends Config> = Evaluate<
14
+ export type GetTokenOptions<config extends Config> = Compute<
15
15
  ExactPartial<GetTokenParameters<config>> & ScopeKeyParameter
16
16
  >
17
17