@wagmi/core 2.11.6 → 2.11.8

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 (317) hide show
  1. package/dist/esm/actions/codegen/createWriteContract.js.map +1 -1
  2. package/dist/esm/connectors/injected.js +7 -0
  3. package/dist/esm/connectors/injected.js.map +1 -1
  4. package/dist/esm/createConfig.js +7 -2
  5. package/dist/esm/createConfig.js.map +1 -1
  6. package/dist/esm/exports/internal.js.map +1 -1
  7. package/dist/esm/query/estimateGas.js.map +1 -1
  8. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  9. package/dist/esm/version.js +1 -1
  10. package/dist/types/actions/codegen/createReadContract.d.ts +2 -2
  11. package/dist/types/actions/codegen/createReadContract.d.ts.map +1 -1
  12. package/dist/types/actions/codegen/createSimulateContract.d.ts +2 -2
  13. package/dist/types/actions/codegen/createSimulateContract.d.ts.map +1 -1
  14. package/dist/types/actions/codegen/createWatchContractEvent.d.ts +2 -2
  15. package/dist/types/actions/codegen/createWatchContractEvent.d.ts.map +1 -1
  16. package/dist/types/actions/codegen/createWriteContract.d.ts +4 -4
  17. package/dist/types/actions/codegen/createWriteContract.d.ts.map +1 -1
  18. package/dist/types/actions/connect.d.ts +2 -2
  19. package/dist/types/actions/connect.d.ts.map +1 -1
  20. package/dist/types/actions/deployContract.d.ts +2 -2
  21. package/dist/types/actions/deployContract.d.ts.map +1 -1
  22. package/dist/types/actions/estimateFeesPerGas.d.ts +5 -5
  23. package/dist/types/actions/estimateFeesPerGas.d.ts.map +1 -1
  24. package/dist/types/actions/estimateGas.d.ts +2 -2
  25. package/dist/types/actions/estimateGas.d.ts.map +1 -1
  26. package/dist/types/actions/estimateMaxPriorityFeePerGas.d.ts +2 -2
  27. package/dist/types/actions/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  28. package/dist/types/actions/getBalance.d.ts +2 -2
  29. package/dist/types/actions/getBalance.d.ts.map +1 -1
  30. package/dist/types/actions/getBlock.d.ts +3 -3
  31. package/dist/types/actions/getBlock.d.ts.map +1 -1
  32. package/dist/types/actions/getBlockNumber.d.ts +2 -2
  33. package/dist/types/actions/getBlockNumber.d.ts.map +1 -1
  34. package/dist/types/actions/getBlockTransactionCount.d.ts +2 -2
  35. package/dist/types/actions/getBlockTransactionCount.d.ts.map +1 -1
  36. package/dist/types/actions/getBytecode.d.ts +2 -2
  37. package/dist/types/actions/getBytecode.d.ts.map +1 -1
  38. package/dist/types/actions/getClient.d.ts +2 -2
  39. package/dist/types/actions/getClient.d.ts.map +1 -1
  40. package/dist/types/actions/getConnections.d.ts +2 -2
  41. package/dist/types/actions/getConnections.d.ts.map +1 -1
  42. package/dist/types/actions/getConnectorClient.d.ts +3 -3
  43. package/dist/types/actions/getConnectorClient.d.ts.map +1 -1
  44. package/dist/types/actions/getEnsAddress.d.ts +2 -2
  45. package/dist/types/actions/getEnsAddress.d.ts.map +1 -1
  46. package/dist/types/actions/getEnsAvatar.d.ts +2 -2
  47. package/dist/types/actions/getEnsAvatar.d.ts.map +1 -1
  48. package/dist/types/actions/getEnsName.d.ts +2 -2
  49. package/dist/types/actions/getEnsName.d.ts.map +1 -1
  50. package/dist/types/actions/getEnsResolver.d.ts +2 -2
  51. package/dist/types/actions/getEnsResolver.d.ts.map +1 -1
  52. package/dist/types/actions/getEnsText.d.ts +2 -2
  53. package/dist/types/actions/getEnsText.d.ts.map +1 -1
  54. package/dist/types/actions/getFeeHistory.d.ts +2 -2
  55. package/dist/types/actions/getFeeHistory.d.ts.map +1 -1
  56. package/dist/types/actions/getGasPrice.d.ts +2 -2
  57. package/dist/types/actions/getGasPrice.d.ts.map +1 -1
  58. package/dist/types/actions/getProof.d.ts +2 -2
  59. package/dist/types/actions/getProof.d.ts.map +1 -1
  60. package/dist/types/actions/getPublicClient.d.ts +2 -2
  61. package/dist/types/actions/getPublicClient.d.ts.map +1 -1
  62. package/dist/types/actions/getStorageAt.d.ts +2 -2
  63. package/dist/types/actions/getStorageAt.d.ts.map +1 -1
  64. package/dist/types/actions/getToken.d.ts +2 -2
  65. package/dist/types/actions/getToken.d.ts.map +1 -1
  66. package/dist/types/actions/getTransaction.d.ts +3 -3
  67. package/dist/types/actions/getTransaction.d.ts.map +1 -1
  68. package/dist/types/actions/getTransactionCount.d.ts +2 -2
  69. package/dist/types/actions/getTransactionCount.d.ts.map +1 -1
  70. package/dist/types/actions/getTransactionReceipt.d.ts +3 -3
  71. package/dist/types/actions/getTransactionReceipt.d.ts.map +1 -1
  72. package/dist/types/actions/getWalletClient.d.ts +2 -2
  73. package/dist/types/actions/getWalletClient.d.ts.map +1 -1
  74. package/dist/types/actions/prepareTransactionRequest.d.ts +3 -3
  75. package/dist/types/actions/prepareTransactionRequest.d.ts.map +1 -1
  76. package/dist/types/actions/reconnect.d.ts +2 -2
  77. package/dist/types/actions/reconnect.d.ts.map +1 -1
  78. package/dist/types/actions/sendTransaction.d.ts +2 -2
  79. package/dist/types/actions/sendTransaction.d.ts.map +1 -1
  80. package/dist/types/actions/signMessage.d.ts +2 -2
  81. package/dist/types/actions/signMessage.d.ts.map +1 -1
  82. package/dist/types/actions/signTypedData.d.ts +2 -2
  83. package/dist/types/actions/signTypedData.d.ts.map +1 -1
  84. package/dist/types/actions/simulateContract.d.ts +3 -3
  85. package/dist/types/actions/simulateContract.d.ts.map +1 -1
  86. package/dist/types/actions/switchChain.d.ts +3 -3
  87. package/dist/types/actions/switchChain.d.ts.map +1 -1
  88. package/dist/types/actions/verifyMessage.d.ts +2 -2
  89. package/dist/types/actions/verifyMessage.d.ts.map +1 -1
  90. package/dist/types/actions/verifyTypedData.d.ts +2 -2
  91. package/dist/types/actions/verifyTypedData.d.ts.map +1 -1
  92. package/dist/types/actions/waitForTransactionReceipt.d.ts +3 -3
  93. package/dist/types/actions/waitForTransactionReceipt.d.ts.map +1 -1
  94. package/dist/types/actions/watchBlockNumber.d.ts +2 -2
  95. package/dist/types/actions/watchBlockNumber.d.ts.map +1 -1
  96. package/dist/types/actions/watchBlocks.d.ts +2 -2
  97. package/dist/types/actions/watchBlocks.d.ts.map +1 -1
  98. package/dist/types/actions/watchContractEvent.d.ts +2 -2
  99. package/dist/types/actions/watchContractEvent.d.ts.map +1 -1
  100. package/dist/types/actions/watchPendingTransactions.d.ts +2 -2
  101. package/dist/types/actions/watchPendingTransactions.d.ts.map +1 -1
  102. package/dist/types/actions/writeContract.d.ts +3 -3
  103. package/dist/types/actions/writeContract.d.ts.map +1 -1
  104. package/dist/types/connectors/createConnector.d.ts +5 -5
  105. package/dist/types/connectors/createConnector.d.ts.map +1 -1
  106. package/dist/types/connectors/injected.d.ts +3 -3
  107. package/dist/types/connectors/injected.d.ts.map +1 -1
  108. package/dist/types/createConfig.d.ts +4 -4
  109. package/dist/types/createConfig.d.ts.map +1 -1
  110. package/dist/types/createStorage.d.ts +3 -3
  111. package/dist/types/createStorage.d.ts.map +1 -1
  112. package/dist/types/errors/base.d.ts +2 -2
  113. package/dist/types/errors/base.d.ts.map +1 -1
  114. package/dist/types/experimental/actions/sendCalls.d.ts +2 -2
  115. package/dist/types/experimental/actions/sendCalls.d.ts.map +1 -1
  116. package/dist/types/experimental/actions/writeContracts.d.ts +2 -2
  117. package/dist/types/experimental/actions/writeContracts.d.ts.map +1 -1
  118. package/dist/types/experimental/query/getCallsStatus.d.ts +2 -2
  119. package/dist/types/experimental/query/getCallsStatus.d.ts.map +1 -1
  120. package/dist/types/experimental/query/getCapabilities.d.ts +2 -2
  121. package/dist/types/experimental/query/getCapabilities.d.ts.map +1 -1
  122. package/dist/types/experimental/query/sendCalls.d.ts +4 -4
  123. package/dist/types/experimental/query/sendCalls.d.ts.map +1 -1
  124. package/dist/types/experimental/query/showCallsStatus.d.ts +4 -4
  125. package/dist/types/experimental/query/showCallsStatus.d.ts.map +1 -1
  126. package/dist/types/experimental/query/writeContracts.d.ts +4 -4
  127. package/dist/types/experimental/query/writeContracts.d.ts.map +1 -1
  128. package/dist/types/exports/internal.d.ts +1 -1
  129. package/dist/types/exports/internal.d.ts.map +1 -1
  130. package/dist/types/query/call.d.ts +2 -2
  131. package/dist/types/query/call.d.ts.map +1 -1
  132. package/dist/types/query/deployContract.d.ts +4 -4
  133. package/dist/types/query/deployContract.d.ts.map +1 -1
  134. package/dist/types/query/estimateFeesPerGas.d.ts +2 -2
  135. package/dist/types/query/estimateFeesPerGas.d.ts.map +1 -1
  136. package/dist/types/query/estimateGas.d.ts +2 -2
  137. package/dist/types/query/estimateGas.d.ts.map +1 -1
  138. package/dist/types/query/estimateMaxPriorityFeePerGas.d.ts +2 -2
  139. package/dist/types/query/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  140. package/dist/types/query/getBalance.d.ts +3 -3
  141. package/dist/types/query/getBalance.d.ts.map +1 -1
  142. package/dist/types/query/getBlock.d.ts +2 -2
  143. package/dist/types/query/getBlock.d.ts.map +1 -1
  144. package/dist/types/query/getBlockNumber.d.ts +2 -2
  145. package/dist/types/query/getBlockNumber.d.ts.map +1 -1
  146. package/dist/types/query/getBlockTransactionCount.d.ts +2 -2
  147. package/dist/types/query/getBlockTransactionCount.d.ts.map +1 -1
  148. package/dist/types/query/getBytecode.d.ts +2 -2
  149. package/dist/types/query/getBytecode.d.ts.map +1 -1
  150. package/dist/types/query/getConnectorClient.d.ts +17 -7
  151. package/dist/types/query/getConnectorClient.d.ts.map +1 -1
  152. package/dist/types/query/getEnsAddress.d.ts +2 -2
  153. package/dist/types/query/getEnsAddress.d.ts.map +1 -1
  154. package/dist/types/query/getEnsAvatar.d.ts +2 -2
  155. package/dist/types/query/getEnsAvatar.d.ts.map +1 -1
  156. package/dist/types/query/getEnsName.d.ts +2 -2
  157. package/dist/types/query/getEnsName.d.ts.map +1 -1
  158. package/dist/types/query/getEnsResolver.d.ts +2 -2
  159. package/dist/types/query/getEnsResolver.d.ts.map +1 -1
  160. package/dist/types/query/getEnsText.d.ts +2 -2
  161. package/dist/types/query/getEnsText.d.ts.map +1 -1
  162. package/dist/types/query/getFeeHistory.d.ts +2 -2
  163. package/dist/types/query/getFeeHistory.d.ts.map +1 -1
  164. package/dist/types/query/getGasPrice.d.ts +2 -2
  165. package/dist/types/query/getGasPrice.d.ts.map +1 -1
  166. package/dist/types/query/getProof.d.ts +2 -2
  167. package/dist/types/query/getProof.d.ts.map +1 -1
  168. package/dist/types/query/getStorageAt.d.ts +2 -2
  169. package/dist/types/query/getStorageAt.d.ts.map +1 -1
  170. package/dist/types/query/getToken.d.ts +2 -2
  171. package/dist/types/query/getToken.d.ts.map +1 -1
  172. package/dist/types/query/getTransaction.d.ts +2 -2
  173. package/dist/types/query/getTransaction.d.ts.map +1 -1
  174. package/dist/types/query/getTransactionConfirmations.d.ts +2 -2
  175. package/dist/types/query/getTransactionConfirmations.d.ts.map +1 -1
  176. package/dist/types/query/getTransactionCount.d.ts +3 -3
  177. package/dist/types/query/getTransactionCount.d.ts.map +1 -1
  178. package/dist/types/query/getTransactionReceipt.d.ts +2 -2
  179. package/dist/types/query/getTransactionReceipt.d.ts.map +1 -1
  180. package/dist/types/query/getWalletClient.d.ts +6 -6
  181. package/dist/types/query/getWalletClient.d.ts.map +1 -1
  182. package/dist/types/query/infiniteReadContracts.d.ts +2 -2
  183. package/dist/types/query/infiniteReadContracts.d.ts.map +1 -1
  184. package/dist/types/query/prepareTransactionRequest.d.ts +2 -2
  185. package/dist/types/query/prepareTransactionRequest.d.ts.map +1 -1
  186. package/dist/types/query/readContract.d.ts +66 -4
  187. package/dist/types/query/readContract.d.ts.map +1 -1
  188. package/dist/types/query/readContracts.d.ts +3 -6
  189. package/dist/types/query/readContracts.d.ts.map +1 -1
  190. package/dist/types/query/reconnect.d.ts +2 -2
  191. package/dist/types/query/reconnect.d.ts.map +1 -1
  192. package/dist/types/query/sendTransaction.d.ts +4 -4
  193. package/dist/types/query/sendTransaction.d.ts.map +1 -1
  194. package/dist/types/query/signMessage.d.ts +2 -2
  195. package/dist/types/query/signMessage.d.ts.map +1 -1
  196. package/dist/types/query/signTypedData.d.ts +7 -7
  197. package/dist/types/query/signTypedData.d.ts.map +1 -1
  198. package/dist/types/query/simulateContract.d.ts +2 -2
  199. package/dist/types/query/simulateContract.d.ts.map +1 -1
  200. package/dist/types/query/switchAccount.d.ts +3 -3
  201. package/dist/types/query/switchAccount.d.ts.map +1 -1
  202. package/dist/types/query/switchChain.d.ts +6 -6
  203. package/dist/types/query/switchChain.d.ts.map +1 -1
  204. package/dist/types/query/types.d.ts +5 -5
  205. package/dist/types/query/types.d.ts.map +1 -1
  206. package/dist/types/query/verifyMessage.d.ts +8 -2
  207. package/dist/types/query/verifyMessage.d.ts.map +1 -1
  208. package/dist/types/query/waitForTransactionReceipt.d.ts +2 -2
  209. package/dist/types/query/waitForTransactionReceipt.d.ts.map +1 -1
  210. package/dist/types/query/writeContract.d.ts +3 -3
  211. package/dist/types/query/writeContract.d.ts.map +1 -1
  212. package/dist/types/types/utils.d.ts +12 -9
  213. package/dist/types/types/utils.d.ts.map +1 -1
  214. package/dist/types/version.d.ts +1 -1
  215. package/package.json +2 -2
  216. package/src/actions/codegen/createReadContract.ts +3 -3
  217. package/src/actions/codegen/createSimulateContract.ts +3 -3
  218. package/src/actions/codegen/createWatchContractEvent.ts +3 -3
  219. package/src/actions/codegen/createWriteContract.ts +8 -4
  220. package/src/actions/connect.ts +2 -2
  221. package/src/actions/deployContract.ts +2 -2
  222. package/src/actions/estimateFeesPerGas.ts +5 -5
  223. package/src/actions/estimateGas.ts +2 -2
  224. package/src/actions/estimateMaxPriorityFeePerGas.ts +2 -2
  225. package/src/actions/getBalance.ts +2 -2
  226. package/src/actions/getBlock.ts +3 -3
  227. package/src/actions/getBlockNumber.ts +2 -2
  228. package/src/actions/getBlockTransactionCount.ts +2 -2
  229. package/src/actions/getBytecode.ts +2 -2
  230. package/src/actions/getClient.ts +2 -2
  231. package/src/actions/getConnections.ts +2 -2
  232. package/src/actions/getConnectorClient.ts +3 -3
  233. package/src/actions/getEnsAddress.ts +2 -2
  234. package/src/actions/getEnsAvatar.ts +2 -2
  235. package/src/actions/getEnsName.ts +2 -2
  236. package/src/actions/getEnsResolver.ts +2 -2
  237. package/src/actions/getEnsText.ts +2 -2
  238. package/src/actions/getFeeHistory.ts +2 -2
  239. package/src/actions/getGasPrice.ts +2 -2
  240. package/src/actions/getProof.ts +2 -2
  241. package/src/actions/getPublicClient.ts +2 -2
  242. package/src/actions/getStorageAt.ts +2 -2
  243. package/src/actions/getToken.ts +2 -2
  244. package/src/actions/getTransaction.ts +3 -3
  245. package/src/actions/getTransactionCount.ts +2 -2
  246. package/src/actions/getTransactionReceipt.ts +3 -3
  247. package/src/actions/getWalletClient.ts +2 -2
  248. package/src/actions/prepareTransactionRequest.ts +6 -6
  249. package/src/actions/reconnect.ts +2 -2
  250. package/src/actions/sendTransaction.ts +2 -2
  251. package/src/actions/signMessage.ts +2 -2
  252. package/src/actions/signTypedData.ts +2 -2
  253. package/src/actions/simulateContract.ts +6 -6
  254. package/src/actions/switchChain.ts +3 -3
  255. package/src/actions/verifyMessage.ts +2 -2
  256. package/src/actions/verifyTypedData.ts +2 -2
  257. package/src/actions/waitForTransactionReceipt.ts +3 -3
  258. package/src/actions/watchBlockNumber.ts +2 -2
  259. package/src/actions/watchBlocks.ts +2 -2
  260. package/src/actions/watchContractEvent.ts +2 -2
  261. package/src/actions/watchPendingTransactions.ts +2 -2
  262. package/src/actions/writeContract.ts +4 -4
  263. package/src/connectors/createConnector.ts +5 -5
  264. package/src/connectors/injected.ts +11 -4
  265. package/src/createConfig.ts +19 -8
  266. package/src/createStorage.ts +3 -3
  267. package/src/errors/base.ts +2 -2
  268. package/src/experimental/actions/sendCalls.ts +2 -2
  269. package/src/experimental/actions/writeContracts.ts +2 -2
  270. package/src/experimental/query/getCallsStatus.ts +2 -2
  271. package/src/experimental/query/getCapabilities.ts +2 -2
  272. package/src/experimental/query/sendCalls.ts +6 -6
  273. package/src/experimental/query/showCallsStatus.ts +6 -6
  274. package/src/experimental/query/writeContracts.ts +6 -6
  275. package/src/exports/internal.ts +6 -5
  276. package/src/query/call.ts +2 -2
  277. package/src/query/deployContract.ts +6 -6
  278. package/src/query/estimateFeesPerGas.ts +2 -2
  279. package/src/query/estimateGas.ts +3 -2
  280. package/src/query/estimateMaxPriorityFeePerGas.ts +2 -2
  281. package/src/query/getBalance.ts +3 -3
  282. package/src/query/getBlock.ts +2 -2
  283. package/src/query/getBlockNumber.ts +2 -2
  284. package/src/query/getBlockTransactionCount.ts +2 -2
  285. package/src/query/getBytecode.ts +2 -2
  286. package/src/query/getConnectorClient.ts +2 -2
  287. package/src/query/getEnsAddress.ts +2 -2
  288. package/src/query/getEnsAvatar.ts +2 -2
  289. package/src/query/getEnsName.ts +2 -2
  290. package/src/query/getEnsResolver.ts +2 -2
  291. package/src/query/getEnsText.ts +2 -2
  292. package/src/query/getFeeHistory.ts +2 -2
  293. package/src/query/getGasPrice.ts +2 -2
  294. package/src/query/getProof.ts +2 -2
  295. package/src/query/getStorageAt.ts +2 -2
  296. package/src/query/getToken.ts +2 -2
  297. package/src/query/getTransaction.ts +2 -2
  298. package/src/query/getTransactionConfirmations.ts +2 -2
  299. package/src/query/getTransactionCount.ts +3 -3
  300. package/src/query/getTransactionReceipt.ts +2 -2
  301. package/src/query/getWalletClient.ts +2 -2
  302. package/src/query/infiniteReadContracts.ts +2 -2
  303. package/src/query/prepareTransactionRequest.ts +2 -2
  304. package/src/query/readContract.ts +2 -2
  305. package/src/query/reconnect.ts +2 -2
  306. package/src/query/sendTransaction.ts +6 -6
  307. package/src/query/signMessage.ts +2 -2
  308. package/src/query/signTypedData.ts +2 -2
  309. package/src/query/simulateContract.ts +2 -2
  310. package/src/query/switchAccount.ts +3 -3
  311. package/src/query/switchChain.ts +7 -7
  312. package/src/query/types.ts +7 -7
  313. package/src/query/verifyMessage.ts +2 -2
  314. package/src/query/waitForTransactionReceipt.ts +2 -2
  315. package/src/query/writeContract.ts +2 -2
  316. package/src/types/utils.ts +17 -10
  317. package/src/version.ts +1 -1
@@ -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
 
@@ -8,13 +8,13 @@ import {
8
8
  } from '../actions/getTransaction.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 GetTransactionOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = Evaluate<
17
+ > = Compute<
18
18
  ExactPartial<GetTransactionParameters<config, chainId>> & ScopeKeyParameter
19
19
  >
20
20
 
@@ -8,7 +8,7 @@ import {
8
8
  } from '../actions/getTransactionConfirmations.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 GetTransactionConfirmationsOptions<
@@ -16,7 +16,7 @@ export type GetTransactionConfirmationsOptions<
16
16
  chainId extends
17
17
  | config['chains'][number]['id']
18
18
  | undefined = config['chains'][number]['id'],
19
- > = UnionPartial<GetTransactionConfirmationsParameters<config, chainId>> &
19
+ > = UnionExactPartial<GetTransactionConfirmationsParameters<config, chainId>> &
20
20
  ScopeKeyParameter
21
21
 
22
22
  export function getTransactionConfirmationsQueryOptions<
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/getTransactionCount.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 GetTransactionCountOptions<config extends Config> = Evaluate<
14
+ export type GetTransactionCountOptions<config extends Config> = Compute<
15
15
  PartialBy<GetTransactionCountParameters<config>, 'address'> &
16
16
  ScopeKeyParameter
17
17
  >
@@ -40,7 +40,7 @@ export function getTransactionCountQueryOptions<config extends Config>(
40
40
  }
41
41
 
42
42
  export type GetTransactionCountQueryFnData =
43
- Evaluate<GetTransactionCountReturnType>
43
+ Compute<GetTransactionCountReturnType>
44
44
 
45
45
  export type GetTransactionCountData = GetTransactionCountQueryFnData
46
46
 
@@ -8,13 +8,13 @@ import {
8
8
  import type { GetTransactionReceiptReturnType } from '../actions/getTransactionReceipt.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 GetTransactionReceiptOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = Evaluate<
17
+ > = Compute<
18
18
  ExactPartial<GetTransactionReceiptParameters<config, chainId>> &
19
19
  ScopeKeyParameter
20
20
  >
@@ -8,13 +8,13 @@ import {
8
8
  } from '../actions/getWalletClient.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 GetWalletClientOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = Evaluate<
17
+ > = Compute<
18
18
  ExactPartial<GetWalletClientParameters<config, chainId>> & ScopeKeyParameter
19
19
  >
20
20
 
@@ -10,7 +10,7 @@ import type {
10
10
  ChainIdParameter,
11
11
  ScopeKeyParameter,
12
12
  } from '../types/properties.js'
13
- import type { Omit } from '../types/utils.js'
13
+ import type { StrictOmit } from '../types/utils.js'
14
14
  import type { InfiniteQueryOptions } from './types.js'
15
15
  import { filterQueryOptions } from './utils.js'
16
16
 
@@ -24,7 +24,7 @@ export type InfiniteReadContractsOptions<
24
24
  contracts(
25
25
  pageParam: pageParam,
26
26
  ): ReadContractsParameters<contracts, allowFailure, config>['contracts']
27
- } & Omit<
27
+ } & StrictOmit<
28
28
  ReadContractsParameters<contracts, allowFailure, config>,
29
29
  'contracts'
30
30
  > &
@@ -11,7 +11,7 @@ import {
11
11
  import type { Config } from '../createConfig.js'
12
12
  import type { SelectChains } from '../types/chain.js'
13
13
  import type { ScopeKeyParameter } from '../types/properties.js'
14
- import type { UnionPartial } from '../types/utils.js'
14
+ import type { UnionExactPartial } from '../types/utils.js'
15
15
  import { filterQueryOptions } from './utils.js'
16
16
 
17
17
  export type PrepareTransactionRequestOptions<
@@ -21,7 +21,7 @@ export type PrepareTransactionRequestOptions<
21
21
  SelectChains<config, chainId>[0],
22
22
  SelectChains<config, chainId>[0]
23
23
  >,
24
- > = UnionPartial<
24
+ > = UnionExactPartial<
25
25
  PrepareTransactionRequestParameters<config, chainId, request>
26
26
  > &
27
27
  ScopeKeyParameter
@@ -9,7 +9,7 @@ import {
9
9
  } from '../actions/readContract.js'
10
10
  import type { Config } from '../createConfig.js'
11
11
  import type { ScopeKeyParameter } from '../types/properties.js'
12
- import type { UnionPartial } from '../types/utils.js'
12
+ import type { UnionExactPartial } from '../types/utils.js'
13
13
  import { filterQueryOptions } from './utils.js'
14
14
 
15
15
  export type ReadContractOptions<
@@ -17,7 +17,7 @@ export type ReadContractOptions<
17
17
  functionName extends ContractFunctionName<abi, 'pure' | 'view'>,
18
18
  args extends ContractFunctionArgs<abi, 'pure' | 'view', functionName>,
19
19
  config extends Config,
20
- > = UnionPartial<ReadContractParameters<abi, functionName, args, config>> &
20
+ > = UnionExactPartial<ReadContractParameters<abi, functionName, args, config>> &
21
21
  ScopeKeyParameter
22
22
 
23
23
  export function readContractQueryOptions<
@@ -7,7 +7,7 @@ import {
7
7
  reconnect,
8
8
  } from '../actions/reconnect.js'
9
9
  import type { Config } from '../createConfig.js'
10
- import type { Evaluate } from '../types/utils.js'
10
+ import type { Compute } from '../types/utils.js'
11
11
  import type { Mutate, MutateAsync } from './types.js'
12
12
 
13
13
  export function reconnectMutationOptions(config: Config) {
@@ -23,7 +23,7 @@ export function reconnectMutationOptions(config: Config) {
23
23
  >
24
24
  }
25
25
 
26
- export type ReconnectData = Evaluate<ReconnectReturnType>
26
+ export type ReconnectData = Compute<ReconnectReturnType>
27
27
 
28
28
  export type ReconnectVariables = ReconnectParameters | undefined
29
29
 
@@ -7,7 +7,7 @@ import {
7
7
  sendTransaction,
8
8
  } from '../actions/sendTransaction.js'
9
9
  import type { Config } from '../createConfig.js'
10
- import type { Evaluate } from '../types/utils.js'
10
+ import type { Compute } from '../types/utils.js'
11
11
 
12
12
  export function sendTransactionMutationOptions<config extends Config>(
13
13
  config: config,
@@ -24,7 +24,7 @@ export function sendTransactionMutationOptions<config extends Config>(
24
24
  >
25
25
  }
26
26
 
27
- export type SendTransactionData = Evaluate<SendTransactionReturnType>
27
+ export type SendTransactionData = Compute<SendTransactionReturnType>
28
28
 
29
29
  export type SendTransactionVariables<
30
30
  config extends Config,
@@ -36,11 +36,11 @@ export type SendTransactionMutate<config extends Config, context = unknown> = <
36
36
  >(
37
37
  variables: SendTransactionVariables<config, chainId>,
38
38
  options?:
39
- | Evaluate<
39
+ | Compute<
40
40
  MutateOptions<
41
41
  SendTransactionData,
42
42
  SendTransactionErrorType,
43
- Evaluate<SendTransactionVariables<config, chainId>>,
43
+ Compute<SendTransactionVariables<config, chainId>>,
44
44
  context
45
45
  >
46
46
  >
@@ -53,11 +53,11 @@ export type SendTransactionMutateAsync<
53
53
  > = <chainId extends config['chains'][number]['id']>(
54
54
  variables: SendTransactionVariables<config, chainId>,
55
55
  options?:
56
- | Evaluate<
56
+ | Compute<
57
57
  MutateOptions<
58
58
  SendTransactionData,
59
59
  SendTransactionErrorType,
60
- Evaluate<SendTransactionVariables<config, chainId>>,
60
+ Compute<SendTransactionVariables<config, chainId>>,
61
61
  context
62
62
  >
63
63
  >
@@ -7,7 +7,7 @@ import {
7
7
  signMessage,
8
8
  } from '../actions/signMessage.js'
9
9
  import type { Config } from '../createConfig.js'
10
- import type { Evaluate } from '../types/utils.js'
10
+ import type { Compute } from '../types/utils.js'
11
11
  import type { Mutate, MutateAsync } from './types.js'
12
12
 
13
13
  export function signMessageMutationOptions(config: Config) {
@@ -25,7 +25,7 @@ export function signMessageMutationOptions(config: Config) {
25
25
 
26
26
  export type SignMessageData = SignMessageReturnType
27
27
 
28
- export type SignMessageVariables = Evaluate<SignMessageParameters>
28
+ export type SignMessageVariables = Compute<SignMessageParameters>
29
29
 
30
30
  export type SignMessageMutate<context = unknown> = Mutate<
31
31
  SignMessageData,
@@ -8,7 +8,7 @@ import {
8
8
  signTypedData,
9
9
  } from '../actions/signTypedData.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 signTypedDataMutationOptions<config extends Config>(
14
14
  config: config,
@@ -25,7 +25,7 @@ export function signTypedDataMutationOptions<config extends Config>(
25
25
  >
26
26
  }
27
27
 
28
- export type SignTypedDataData = Evaluate<SignTypedDataReturnType>
28
+ export type SignTypedDataData = Compute<SignTypedDataReturnType>
29
29
 
30
30
  export type SignTypedDataVariables<
31
31
  typedData extends TypedData | Record<string, unknown> = TypedData,
@@ -9,7 +9,7 @@ import {
9
9
  } from '../actions/simulateContract.js'
10
10
  import type { Config } from '../createConfig.js'
11
11
  import type { ScopeKeyParameter } from '../types/properties.js'
12
- import type { UnionPartial } from '../types/utils.js'
12
+ import type { UnionExactPartial } from '../types/utils.js'
13
13
  import { filterQueryOptions } from './utils.js'
14
14
 
15
15
  export type SimulateContractOptions<
@@ -22,7 +22,7 @@ export type SimulateContractOptions<
22
22
  >,
23
23
  config extends Config,
24
24
  chainId extends config['chains'][number]['id'] | undefined,
25
- > = UnionPartial<
25
+ > = UnionExactPartial<
26
26
  SimulateContractParameters<abi, functionName, args, config, chainId>
27
27
  > &
28
28
  ScopeKeyParameter
@@ -7,7 +7,7 @@ import {
7
7
  switchAccount,
8
8
  } from '../actions/switchAccount.js'
9
9
  import type { Config } from '../createConfig.js'
10
- import type { Evaluate } from '../types/utils.js'
10
+ import type { Compute } from '../types/utils.js'
11
11
  import type { Mutate, MutateAsync } from './types.js'
12
12
 
13
13
  export function switchAccountMutationOptions<config extends Config>(
@@ -25,11 +25,11 @@ export function switchAccountMutationOptions<config extends Config>(
25
25
  >
26
26
  }
27
27
 
28
- export type SwitchAccountData<config extends Config> = Evaluate<
28
+ export type SwitchAccountData<config extends Config> = Compute<
29
29
  SwitchAccountReturnType<config>
30
30
  >
31
31
 
32
- export type SwitchAccountVariables = Evaluate<SwitchAccountParameters>
32
+ export type SwitchAccountVariables = Compute<SwitchAccountParameters>
33
33
 
34
34
  export type SwitchAccountMutate<
35
35
  config extends Config,
@@ -7,7 +7,7 @@ import {
7
7
  switchChain,
8
8
  } from '../actions/switchChain.js'
9
9
  import type { Config } from '../createConfig.js'
10
- import type { Evaluate } from '../types/utils.js'
10
+ import type { Compute } from '../types/utils.js'
11
11
 
12
12
  export function switchChainMutationOptions<config extends Config>(
13
13
  config: config,
@@ -27,23 +27,23 @@ export function switchChainMutationOptions<config extends Config>(
27
27
  export type SwitchChainData<
28
28
  config extends Config,
29
29
  chainId extends config['chains'][number]['id'],
30
- > = Evaluate<SwitchChainReturnType<config, chainId>>
30
+ > = Compute<SwitchChainReturnType<config, chainId>>
31
31
 
32
32
  export type SwitchChainVariables<
33
33
  config extends Config,
34
34
  chainId extends config['chains'][number]['id'],
35
- > = Evaluate<SwitchChainParameters<config, chainId>>
35
+ > = Compute<SwitchChainParameters<config, chainId>>
36
36
 
37
37
  export type SwitchChainMutate<config extends Config, context = unknown> = <
38
38
  chainId extends config['chains'][number]['id'],
39
39
  >(
40
40
  variables: SwitchChainVariables<config, chainId>,
41
41
  options?:
42
- | Evaluate<
42
+ | Compute<
43
43
  MutateOptions<
44
44
  SwitchChainData<config, chainId>,
45
45
  SwitchChainErrorType,
46
- Evaluate<SwitchChainVariables<config, chainId>>,
46
+ Compute<SwitchChainVariables<config, chainId>>,
47
47
  context
48
48
  >
49
49
  >
@@ -55,11 +55,11 @@ export type SwitchChainMutateAsync<config extends Config, context = unknown> = <
55
55
  >(
56
56
  variables: SwitchChainVariables<config, chainId>,
57
57
  options?:
58
- | Evaluate<
58
+ | Compute<
59
59
  MutateOptions<
60
60
  SwitchChainData<config, chainId>,
61
61
  SwitchChainErrorType,
62
- Evaluate<SwitchChainVariables<config, chainId>>,
62
+ Compute<SwitchChainVariables<config, chainId>>,
63
63
  context
64
64
  >
65
65
  >
@@ -6,7 +6,7 @@ import type {
6
6
  QueryKey,
7
7
  } from '@tanstack/query-core'
8
8
 
9
- import type { Evaluate, Omit } from '../types/utils.js'
9
+ import type { Compute, StrictOmit } from '../types/utils.js'
10
10
 
11
11
  export type InfiniteQueryOptions<
12
12
  queryFnData = unknown,
@@ -31,9 +31,9 @@ export type InfiniteQueryOptions<
31
31
  queryKey,
32
32
  pageParam
33
33
  >,
34
- > = Evaluate<
34
+ > = Compute<
35
35
  // `queryFn` doesn't pass through `pageParam` correctly
36
- Omit<options, 'queryFn'> & {
36
+ StrictOmit<options, 'queryFn'> & {
37
37
  queryFn?(
38
38
  context: QueryFunctionContext<queryKey, pageParam>,
39
39
  ): options['queryFn'] extends (...args: any) => any
@@ -54,7 +54,7 @@ export type Mutate<
54
54
  variables = void,
55
55
  context = unknown,
56
56
  > = (
57
- ...args: Parameters<MutateFn<data, error, Evaluate<variables>, context>>
57
+ ...args: Parameters<MutateFn<data, error, Compute<variables>, context>>
58
58
  ) => void
59
59
 
60
60
  export type MutateAsync<
@@ -62,7 +62,7 @@ export type MutateAsync<
62
62
  error = unknown,
63
63
  variables = void,
64
64
  context = unknown,
65
- > = MutateFn<data, error, Evaluate<variables>, context>
65
+ > = MutateFn<data, error, Compute<variables>, context>
66
66
 
67
67
  type MutateFn<
68
68
  data = unknown,
@@ -73,12 +73,12 @@ type MutateFn<
73
73
  ? (
74
74
  variables?: variables,
75
75
  options?:
76
- | Evaluate<MutateOptions<data, error, variables, context>>
76
+ | Compute<MutateOptions<data, error, variables, context>>
77
77
  | undefined,
78
78
  ) => Promise<data>
79
79
  : (
80
80
  variables: variables,
81
81
  options?:
82
- | Evaluate<MutateOptions<data, error, variables, context>>
82
+ | Compute<MutateOptions<data, error, variables, context>>
83
83
  | undefined,
84
84
  ) => Promise<data>
@@ -8,10 +8,10 @@ import {
8
8
  } from '../actions/verifyMessage.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 VerifyMessageOptions<config extends Config> = Evaluate<
14
+ export type VerifyMessageOptions<config extends Config> = Compute<
15
15
  ExactPartial<VerifyMessageParameters<config>> & ScopeKeyParameter
16
16
  >
17
17
 
@@ -8,13 +8,13 @@ import {
8
8
  } from '../actions/waitForTransactionReceipt.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 WaitForTransactionReceiptOptions<
15
15
  config extends Config,
16
16
  chainId extends config['chains'][number]['id'],
17
- > = Evaluate<
17
+ > = Compute<
18
18
  ExactPartial<WaitForTransactionReceiptParameters<config, chainId>> &
19
19
  ScopeKeyParameter
20
20
  >
@@ -8,7 +8,7 @@ import {
8
8
  writeContract,
9
9
  } from '../actions/writeContract.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 writeContractMutationOptions<config extends Config>(
14
14
  config: config,
@@ -31,7 +31,7 @@ export function writeContractMutationOptions<config extends Config>(
31
31
  >
32
32
  }
33
33
 
34
- export type WriteContractData = Evaluate<WriteContractReturnType>
34
+ export type WriteContractData = Compute<WriteContractReturnType>
35
35
 
36
36
  export type WriteContractVariables<
37
37
  abi extends Abi | readonly unknown[],
@@ -1,6 +1,6 @@
1
1
  /** Combines members of an intersection into a readable type. */
2
2
  // https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg
3
- export type Evaluate<type> = { [key in keyof type]: type[key] } & unknown
3
+ export type Compute<type> = { [key in keyof type]: type[key] } & unknown
4
4
 
5
5
  /**
6
6
  * Makes all properties of an object optional.
@@ -36,7 +36,7 @@ export type IsNever<type> = [type] extends [never] ? true : false
36
36
  export type IsUnknown<type> = unknown extends type ? true : false
37
37
 
38
38
  /** Merges two object types into new type */
39
- export type Merge<obj1, obj2> = Evaluate<
39
+ export type Merge<obj1, obj2> = Compute<
40
40
  LooseOmit<obj1, keyof obj2 extends infer key extends string ? key : never> &
41
41
  obj2
42
42
  >
@@ -47,7 +47,7 @@ export type Mutable<type extends object> = {
47
47
  }
48
48
 
49
49
  /** Strict version of built-in Omit type */
50
- export type Omit<type, keys extends keyof type> = Pick<
50
+ export type StrictOmit<type, keys extends keyof type> = Pick<
51
51
  type,
52
52
  Exclude<keyof type, keys>
53
53
  >
@@ -58,7 +58,7 @@ export type OneOf<
58
58
  ///
59
59
  keys extends KeyofUnion<union> = KeyofUnion<union>,
60
60
  > = union extends infer Item
61
- ? Evaluate<Item & { [K in Exclude<keys, keyof Item>]?: undefined }>
61
+ ? Compute<Item & { [K in Exclude<keys, keyof Item>]?: undefined }>
62
62
  : never
63
63
  type KeyofUnion<type> = type extends type ? keyof type : never
64
64
 
@@ -67,12 +67,17 @@ type KeyofUnion<type> = type extends type ? keyof type : never
67
67
  export type PartialBy<type, key extends keyof type> = ExactPartial<
68
68
  Pick<type, key>
69
69
  > &
70
- Omit<type, key>
70
+ StrictOmit<type, key>
71
+
72
+ /* Removes `undefined` from object property */
73
+ export type RemoveUndefined<type> = {
74
+ [key in keyof type]: NonNullable<type[key]>
75
+ }
71
76
 
72
77
  ///////////////////////////////////////////////////////////////////////////
73
78
  // Loose types
74
79
 
75
- /** Loose version of {@link Omit} */
80
+ /** Loose version of {@link StrictOmit} */
76
81
  export type LooseOmit<type, keys extends string> = Pick<
77
82
  type,
78
83
  Exclude<keyof type, keys>
@@ -81,14 +86,16 @@ export type LooseOmit<type, keys extends string> = Pick<
81
86
  ///////////////////////////////////////////////////////////////////////////
82
87
  // Union types
83
88
 
84
- export type UnionEvaluate<type> = type extends object ? Evaluate<type> : type
89
+ export type UnionCompute<type> = type extends object ? Compute<type> : type
85
90
 
86
91
  export type UnionLooseOmit<type, keys extends string> = type extends any
87
92
  ? LooseOmit<type, keys>
88
93
  : never
89
94
 
90
- export type UnionOmit<type, keys extends keyof type> = type extends any
91
- ? Omit<type, keys>
95
+ export type UnionStrictOmit<type, keys extends keyof type> = type extends any
96
+ ? StrictOmit<type, keys>
92
97
  : never
93
98
 
94
- export type UnionPartial<type> = type extends object ? ExactPartial<type> : type
99
+ export type UnionExactPartial<type> = type extends object
100
+ ? ExactPartial<type>
101
+ : type
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '2.11.6'
1
+ export const version = '2.11.8'