viem 0.3.3 → 0.3.5

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 (672) hide show
  1. package/README.md +6 -0
  2. package/dist/cjs/actions/public/call.js +97 -10
  3. package/dist/cjs/actions/public/call.js.map +1 -1
  4. package/dist/cjs/actions/public/simulateContract.js +1 -0
  5. package/dist/cjs/actions/public/simulateContract.js.map +1 -1
  6. package/dist/cjs/chains.js +1 -24
  7. package/dist/cjs/chains.js.map +1 -1
  8. package/dist/cjs/clients/createPublicClient.js +12 -9
  9. package/dist/cjs/clients/createPublicClient.js.map +1 -1
  10. package/dist/cjs/clients/transports/fallback.js +1 -1
  11. package/dist/cjs/clients/transports/fallback.js.map +1 -1
  12. package/dist/cjs/constants/contract.js +5 -0
  13. package/dist/cjs/constants/contract.js.map +1 -0
  14. package/dist/cjs/constants/index.js +3 -1
  15. package/dist/cjs/constants/index.js.map +1 -1
  16. package/dist/cjs/errors/chain.js +13 -1
  17. package/dist/cjs/errors/chain.js.map +1 -1
  18. package/dist/cjs/errors/contract.js +1 -1
  19. package/dist/cjs/errors/contract.js.map +1 -1
  20. package/dist/cjs/errors/encoding.js +13 -1
  21. package/dist/cjs/errors/encoding.js.map +1 -1
  22. package/dist/cjs/errors/index.js +5 -2
  23. package/dist/cjs/errors/index.js.map +1 -1
  24. package/dist/cjs/errors/version.js +1 -1
  25. package/dist/cjs/index.js +5 -4
  26. package/dist/cjs/index.js.map +1 -1
  27. package/dist/cjs/utils/encoding/fromBytes.js +29 -12
  28. package/dist/cjs/utils/encoding/fromBytes.js.map +1 -1
  29. package/dist/cjs/utils/encoding/fromHex.js +32 -10
  30. package/dist/cjs/utils/encoding/fromHex.js.map +1 -1
  31. package/dist/cjs/utils/encoding/toBytes.js +31 -15
  32. package/dist/cjs/utils/encoding/toBytes.js.map +1 -1
  33. package/dist/cjs/utils/encoding/toHex.js +31 -20
  34. package/dist/cjs/utils/encoding/toHex.js.map +1 -1
  35. package/dist/cjs/utils/errors/getContractError.js +7 -5
  36. package/dist/cjs/utils/errors/getContractError.js.map +1 -1
  37. package/dist/cjs/utils/promise/createBatchScheduler.js +47 -0
  38. package/dist/cjs/utils/promise/createBatchScheduler.js.map +1 -0
  39. package/dist/cjs/utils/promise/index.js +3 -1
  40. package/dist/cjs/utils/promise/index.js.map +1 -1
  41. package/dist/esm/actions/public/call.js +91 -4
  42. package/dist/esm/actions/public/call.js.map +1 -1
  43. package/dist/esm/actions/public/simulateContract.js +1 -0
  44. package/dist/esm/actions/public/simulateContract.js.map +1 -1
  45. package/dist/esm/clients/createPublicClient.js +12 -9
  46. package/dist/esm/clients/createPublicClient.js.map +1 -1
  47. package/dist/esm/clients/transports/fallback.js +1 -1
  48. package/dist/esm/clients/transports/fallback.js.map +1 -1
  49. package/dist/esm/constants/contract.js +2 -0
  50. package/dist/esm/constants/contract.js.map +1 -0
  51. package/dist/esm/constants/index.js +1 -0
  52. package/dist/esm/constants/index.js.map +1 -1
  53. package/dist/esm/errors/chain.js +11 -0
  54. package/dist/esm/errors/chain.js.map +1 -1
  55. package/dist/esm/errors/contract.js +1 -1
  56. package/dist/esm/errors/contract.js.map +1 -1
  57. package/dist/esm/errors/encoding.js +11 -0
  58. package/dist/esm/errors/encoding.js.map +1 -1
  59. package/dist/esm/errors/index.js +2 -2
  60. package/dist/esm/errors/index.js.map +1 -1
  61. package/dist/esm/errors/version.js +1 -1
  62. package/dist/esm/index.js +1 -1
  63. package/dist/esm/index.js.map +1 -1
  64. package/dist/esm/utils/encoding/fromBytes.js +30 -13
  65. package/dist/esm/utils/encoding/fromBytes.js.map +1 -1
  66. package/dist/esm/utils/encoding/fromHex.js +31 -10
  67. package/dist/esm/utils/encoding/fromHex.js.map +1 -1
  68. package/dist/esm/utils/encoding/toBytes.js +31 -15
  69. package/dist/esm/utils/encoding/toBytes.js.map +1 -1
  70. package/dist/esm/utils/encoding/toHex.js +28 -17
  71. package/dist/esm/utils/encoding/toHex.js.map +1 -1
  72. package/dist/esm/utils/errors/getContractError.js +7 -5
  73. package/dist/esm/utils/errors/getContractError.js.map +1 -1
  74. package/dist/esm/utils/promise/createBatchScheduler.js +43 -0
  75. package/dist/esm/utils/promise/createBatchScheduler.js.map +1 -0
  76. package/dist/esm/utils/promise/index.js +1 -0
  77. package/dist/esm/utils/promise/index.js.map +1 -1
  78. package/package.json +1 -1
  79. package/src/actions/public/call.ts +141 -7
  80. package/src/actions/public/simulateContract.ts +2 -1
  81. package/src/clients/createPublicClient.ts +27 -9
  82. package/src/clients/transports/fallback.ts +1 -1
  83. package/src/constants/contract.ts +1 -0
  84. package/src/constants/index.ts +2 -0
  85. package/src/errors/chain.ts +8 -0
  86. package/src/errors/contract.ts +1 -1
  87. package/src/errors/encoding.ts +9 -0
  88. package/src/errors/index.ts +2 -0
  89. package/src/errors/version.ts +1 -1
  90. package/src/index.ts +1 -0
  91. package/src/types/eip1193.ts +1 -1
  92. package/src/utils/encoding/fromBytes.ts +147 -18
  93. package/src/utils/encoding/fromHex.ts +162 -19
  94. package/src/utils/encoding/toBytes.ts +148 -18
  95. package/src/utils/encoding/toHex.ts +151 -26
  96. package/src/utils/errors/getContractError.ts +9 -5
  97. package/src/utils/promise/createBatchScheduler.ts +82 -0
  98. package/src/utils/promise/index.ts +1 -0
  99. package/dist/types/abi.d.ts +0 -3
  100. package/dist/types/abi.d.ts.map +0 -1
  101. package/dist/types/accounts/generateMnemonic.d.ts +0 -9
  102. package/dist/types/accounts/generateMnemonic.d.ts.map +0 -1
  103. package/dist/types/accounts/generatePrivateKey.d.ts +0 -8
  104. package/dist/types/accounts/generatePrivateKey.d.ts.map +0 -1
  105. package/dist/types/accounts/hdKeyToAccount.d.ts +0 -9
  106. package/dist/types/accounts/hdKeyToAccount.d.ts.map +0 -1
  107. package/dist/types/accounts/index.d.ts +0 -21
  108. package/dist/types/accounts/index.d.ts.map +0 -1
  109. package/dist/types/accounts/mnemonicToAccount.d.ts +0 -8
  110. package/dist/types/accounts/mnemonicToAccount.d.ts.map +0 -1
  111. package/dist/types/accounts/privateKeyToAccount.d.ts +0 -9
  112. package/dist/types/accounts/privateKeyToAccount.d.ts.map +0 -1
  113. package/dist/types/accounts/toAccount.d.ts +0 -11
  114. package/dist/types/accounts/toAccount.d.ts.map +0 -1
  115. package/dist/types/accounts/types.d.ts +0 -45
  116. package/dist/types/accounts/types.d.ts.map +0 -1
  117. package/dist/types/accounts/utils/index.d.ts +0 -10
  118. package/dist/types/accounts/utils/index.d.ts.map +0 -1
  119. package/dist/types/accounts/utils/parseAccount.d.ts +0 -4
  120. package/dist/types/accounts/utils/parseAccount.d.ts.map +0 -1
  121. package/dist/types/accounts/utils/publicKeyToAddress.d.ts +0 -10
  122. package/dist/types/accounts/utils/publicKeyToAddress.d.ts.map +0 -1
  123. package/dist/types/accounts/utils/sign.d.ts +0 -16
  124. package/dist/types/accounts/utils/sign.d.ts.map +0 -1
  125. package/dist/types/accounts/utils/signMessage.d.ts +0 -16
  126. package/dist/types/accounts/utils/signMessage.d.ts.map +0 -1
  127. package/dist/types/accounts/utils/signTransaction.d.ts +0 -9
  128. package/dist/types/accounts/utils/signTransaction.d.ts.map +0 -1
  129. package/dist/types/accounts/utils/signTypedData.d.ts +0 -19
  130. package/dist/types/accounts/utils/signTypedData.d.ts.map +0 -1
  131. package/dist/types/accounts/utils/signatureToHex.d.ts +0 -3
  132. package/dist/types/accounts/utils/signatureToHex.d.ts.map +0 -1
  133. package/dist/types/accounts/wordlists/czech.d.ts +0 -2
  134. package/dist/types/accounts/wordlists/czech.d.ts.map +0 -1
  135. package/dist/types/accounts/wordlists/english.d.ts +0 -2
  136. package/dist/types/accounts/wordlists/english.d.ts.map +0 -1
  137. package/dist/types/accounts/wordlists/french.d.ts +0 -2
  138. package/dist/types/accounts/wordlists/french.d.ts.map +0 -1
  139. package/dist/types/accounts/wordlists/italian.d.ts +0 -2
  140. package/dist/types/accounts/wordlists/italian.d.ts.map +0 -1
  141. package/dist/types/accounts/wordlists/japanese.d.ts +0 -2
  142. package/dist/types/accounts/wordlists/japanese.d.ts.map +0 -1
  143. package/dist/types/accounts/wordlists/korean.d.ts +0 -2
  144. package/dist/types/accounts/wordlists/korean.d.ts.map +0 -1
  145. package/dist/types/accounts/wordlists/simplifiedChinese.d.ts +0 -2
  146. package/dist/types/accounts/wordlists/simplifiedChinese.d.ts.map +0 -1
  147. package/dist/types/accounts/wordlists/spanish.d.ts +0 -2
  148. package/dist/types/accounts/wordlists/spanish.d.ts.map +0 -1
  149. package/dist/types/accounts/wordlists/traditionalChinese.d.ts +0 -2
  150. package/dist/types/accounts/wordlists/traditionalChinese.d.ts.map +0 -1
  151. package/dist/types/actions/ens/getEnsAddress.d.ts +0 -40
  152. package/dist/types/actions/ens/getEnsAddress.d.ts.map +0 -1
  153. package/dist/types/actions/ens/getEnsAvatar.d.ts +0 -38
  154. package/dist/types/actions/ens/getEnsAvatar.d.ts.map +0 -1
  155. package/dist/types/actions/ens/getEnsName.d.ts +0 -38
  156. package/dist/types/actions/ens/getEnsName.d.ts.map +0 -1
  157. package/dist/types/actions/ens/getEnsResolver.d.ts +0 -40
  158. package/dist/types/actions/ens/getEnsResolver.d.ts.map +0 -1
  159. package/dist/types/actions/ens/getEnsText.d.ts +0 -43
  160. package/dist/types/actions/ens/getEnsText.d.ts.map +0 -1
  161. package/dist/types/actions/ens/index.d.ts +0 -6
  162. package/dist/types/actions/ens/index.d.ts.map +0 -1
  163. package/dist/types/actions/getContract.d.ts +0 -261
  164. package/dist/types/actions/getContract.d.ts.map +0 -1
  165. package/dist/types/actions/index.d.ts +0 -11
  166. package/dist/types/actions/index.d.ts.map +0 -1
  167. package/dist/types/actions/public/call.d.ts +0 -48
  168. package/dist/types/actions/public/call.d.ts.map +0 -1
  169. package/dist/types/actions/public/createBlockFilter.d.ts +0 -26
  170. package/dist/types/actions/public/createBlockFilter.d.ts.map +0 -1
  171. package/dist/types/actions/public/createContractEventFilter.d.ts +0 -41
  172. package/dist/types/actions/public/createContractEventFilter.d.ts.map +0 -1
  173. package/dist/types/actions/public/createEventFilter.d.ts +0 -46
  174. package/dist/types/actions/public/createEventFilter.d.ts.map +0 -1
  175. package/dist/types/actions/public/createPendingTransactionFilter.d.ts +0 -26
  176. package/dist/types/actions/public/createPendingTransactionFilter.d.ts.map +0 -1
  177. package/dist/types/actions/public/estimateContractGas.d.ts +0 -35
  178. package/dist/types/actions/public/estimateContractGas.d.ts.map +0 -1
  179. package/dist/types/actions/public/estimateGas.d.ts +0 -45
  180. package/dist/types/actions/public/estimateGas.d.ts.map +0 -1
  181. package/dist/types/actions/public/getBalance.d.ts +0 -52
  182. package/dist/types/actions/public/getBalance.d.ts.map +0 -1
  183. package/dist/types/actions/public/getBlock.d.ts +0 -52
  184. package/dist/types/actions/public/getBlock.d.ts.map +0 -1
  185. package/dist/types/actions/public/getBlockNumber.d.ts +0 -54
  186. package/dist/types/actions/public/getBlockNumber.d.ts.map +0 -1
  187. package/dist/types/actions/public/getBlockTransactionCount.d.ts +0 -44
  188. package/dist/types/actions/public/getBlockTransactionCount.d.ts.map +0 -1
  189. package/dist/types/actions/public/getBytecode.d.ts +0 -37
  190. package/dist/types/actions/public/getBytecode.d.ts.map +0 -1
  191. package/dist/types/actions/public/getChainId.d.ts +0 -26
  192. package/dist/types/actions/public/getChainId.d.ts.map +0 -1
  193. package/dist/types/actions/public/getFeeHistory.d.ts +0 -50
  194. package/dist/types/actions/public/getFeeHistory.d.ts.map +0 -1
  195. package/dist/types/actions/public/getFilterChanges.d.ts +0 -91
  196. package/dist/types/actions/public/getFilterChanges.d.ts.map +0 -1
  197. package/dist/types/actions/public/getFilterLogs.d.ts +0 -36
  198. package/dist/types/actions/public/getFilterLogs.d.ts.map +0 -1
  199. package/dist/types/actions/public/getGasPrice.d.ts +0 -25
  200. package/dist/types/actions/public/getGasPrice.d.ts.map +0 -1
  201. package/dist/types/actions/public/getLogs.d.ts +0 -49
  202. package/dist/types/actions/public/getLogs.d.ts.map +0 -1
  203. package/dist/types/actions/public/getStorageAt.d.ts +0 -39
  204. package/dist/types/actions/public/getStorageAt.d.ts.map +0 -1
  205. package/dist/types/actions/public/getTransaction.d.ts +0 -62
  206. package/dist/types/actions/public/getTransaction.d.ts.map +0 -1
  207. package/dist/types/actions/public/getTransactionConfirmations.d.ts +0 -39
  208. package/dist/types/actions/public/getTransactionConfirmations.d.ts.map +0 -1
  209. package/dist/types/actions/public/getTransactionCount.d.ts +0 -40
  210. package/dist/types/actions/public/getTransactionCount.d.ts.map +0 -1
  211. package/dist/types/actions/public/getTransactionReceipt.d.ts +0 -34
  212. package/dist/types/actions/public/getTransactionReceipt.d.ts.map +0 -1
  213. package/dist/types/actions/public/index.d.ts +0 -67
  214. package/dist/types/actions/public/index.d.ts.map +0 -1
  215. package/dist/types/actions/public/multicall.d.ts +0 -52
  216. package/dist/types/actions/public/multicall.d.ts.map +0 -1
  217. package/dist/types/actions/public/readContract.d.ts +0 -39
  218. package/dist/types/actions/public/readContract.d.ts.map +0 -1
  219. package/dist/types/actions/public/simulateContract.d.ts +0 -47
  220. package/dist/types/actions/public/simulateContract.d.ts.map +0 -1
  221. package/dist/types/actions/public/uninstallFilter.d.ts +0 -32
  222. package/dist/types/actions/public/uninstallFilter.d.ts.map +0 -1
  223. package/dist/types/actions/public/waitForTransactionReceipt.d.ts +0 -69
  224. package/dist/types/actions/public/waitForTransactionReceipt.d.ts.map +0 -1
  225. package/dist/types/actions/public/watchBlockNumber.d.ts +0 -57
  226. package/dist/types/actions/public/watchBlockNumber.d.ts.map +0 -1
  227. package/dist/types/actions/public/watchBlocks.d.ts +0 -64
  228. package/dist/types/actions/public/watchBlocks.d.ts.map +0 -1
  229. package/dist/types/actions/public/watchContractEvent.d.ts +0 -55
  230. package/dist/types/actions/public/watchContractEvent.d.ts.map +0 -1
  231. package/dist/types/actions/public/watchEvent.d.ts +0 -61
  232. package/dist/types/actions/public/watchEvent.d.ts.map +0 -1
  233. package/dist/types/actions/public/watchPendingTransactions.d.ts +0 -71
  234. package/dist/types/actions/public/watchPendingTransactions.d.ts.map +0 -1
  235. package/dist/types/actions/test/dropTransaction.d.ts +0 -30
  236. package/dist/types/actions/test/dropTransaction.d.ts.map +0 -1
  237. package/dist/types/actions/test/getAutomine.d.ts +0 -25
  238. package/dist/types/actions/test/getAutomine.d.ts.map +0 -1
  239. package/dist/types/actions/test/getTxpoolContent.d.ts +0 -31
  240. package/dist/types/actions/test/getTxpoolContent.d.ts.map +0 -1
  241. package/dist/types/actions/test/getTxpoolStatus.d.ts +0 -28
  242. package/dist/types/actions/test/getTxpoolStatus.d.ts.map +0 -1
  243. package/dist/types/actions/test/impersonateAccount.d.ts +0 -30
  244. package/dist/types/actions/test/impersonateAccount.d.ts.map +0 -1
  245. package/dist/types/actions/test/increaseTime.d.ts +0 -30
  246. package/dist/types/actions/test/increaseTime.d.ts.map +0 -1
  247. package/dist/types/actions/test/index.d.ts +0 -52
  248. package/dist/types/actions/test/index.d.ts.map +0 -1
  249. package/dist/types/actions/test/inspectTxpool.d.ts +0 -28
  250. package/dist/types/actions/test/inspectTxpool.d.ts.map +0 -1
  251. package/dist/types/actions/test/mine.d.ts +0 -30
  252. package/dist/types/actions/test/mine.d.ts.map +0 -1
  253. package/dist/types/actions/test/removeBlockTimestampInterval.d.ts +0 -23
  254. package/dist/types/actions/test/removeBlockTimestampInterval.d.ts.map +0 -1
  255. package/dist/types/actions/test/reset.d.ts +0 -30
  256. package/dist/types/actions/test/reset.d.ts.map +0 -1
  257. package/dist/types/actions/test/revert.d.ts +0 -28
  258. package/dist/types/actions/test/revert.d.ts.map +0 -1
  259. package/dist/types/actions/test/sendUnsignedTransaction.d.ts +0 -31
  260. package/dist/types/actions/test/sendUnsignedTransaction.d.ts.map +0 -1
  261. package/dist/types/actions/test/setAutomine.d.ts +0 -23
  262. package/dist/types/actions/test/setAutomine.d.ts.map +0 -1
  263. package/dist/types/actions/test/setBalance.d.ts +0 -33
  264. package/dist/types/actions/test/setBalance.d.ts.map +0 -1
  265. package/dist/types/actions/test/setBlockGasLimit.d.ts +0 -28
  266. package/dist/types/actions/test/setBlockGasLimit.d.ts.map +0 -1
  267. package/dist/types/actions/test/setBlockTimestampInterval.d.ts +0 -28
  268. package/dist/types/actions/test/setBlockTimestampInterval.d.ts.map +0 -1
  269. package/dist/types/actions/test/setCode.d.ts +0 -33
  270. package/dist/types/actions/test/setCode.d.ts.map +0 -1
  271. package/dist/types/actions/test/setCoinbase.d.ts +0 -30
  272. package/dist/types/actions/test/setCoinbase.d.ts.map +0 -1
  273. package/dist/types/actions/test/setIntervalMining.d.ts +0 -28
  274. package/dist/types/actions/test/setIntervalMining.d.ts.map +0 -1
  275. package/dist/types/actions/test/setLoggingEnabled.d.ts +0 -23
  276. package/dist/types/actions/test/setLoggingEnabled.d.ts.map +0 -1
  277. package/dist/types/actions/test/setMinGasPrice.d.ts +0 -32
  278. package/dist/types/actions/test/setMinGasPrice.d.ts.map +0 -1
  279. package/dist/types/actions/test/setNextBlockBaseFeePerGas.d.ts +0 -30
  280. package/dist/types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +0 -1
  281. package/dist/types/actions/test/setNextBlockTimestamp.d.ts +0 -28
  282. package/dist/types/actions/test/setNextBlockTimestamp.d.ts.map +0 -1
  283. package/dist/types/actions/test/setNonce.d.ts +0 -33
  284. package/dist/types/actions/test/setNonce.d.ts.map +0 -1
  285. package/dist/types/actions/test/setRpcUrl.d.ts +0 -24
  286. package/dist/types/actions/test/setRpcUrl.d.ts.map +0 -1
  287. package/dist/types/actions/test/setStorageAt.d.ts +0 -36
  288. package/dist/types/actions/test/setStorageAt.d.ts.map +0 -1
  289. package/dist/types/actions/test/snapshot.d.ts +0 -23
  290. package/dist/types/actions/test/snapshot.d.ts.map +0 -1
  291. package/dist/types/actions/test/stopImpersonatingAccount.d.ts +0 -30
  292. package/dist/types/actions/test/stopImpersonatingAccount.d.ts.map +0 -1
  293. package/dist/types/actions/wallet/addChain.d.ts +0 -27
  294. package/dist/types/actions/wallet/addChain.d.ts.map +0 -1
  295. package/dist/types/actions/wallet/deployContract.d.ts +0 -38
  296. package/dist/types/actions/wallet/deployContract.d.ts.map +0 -1
  297. package/dist/types/actions/wallet/getAddresses.d.ts +0 -26
  298. package/dist/types/actions/wallet/getAddresses.d.ts.map +0 -1
  299. package/dist/types/actions/wallet/getPermissions.d.ts +0 -26
  300. package/dist/types/actions/wallet/getPermissions.d.ts.map +0 -1
  301. package/dist/types/actions/wallet/index.d.ts +0 -27
  302. package/dist/types/actions/wallet/index.d.ts.map +0 -1
  303. package/dist/types/actions/wallet/requestAddresses.d.ts +0 -30
  304. package/dist/types/actions/wallet/requestAddresses.d.ts.map +0 -1
  305. package/dist/types/actions/wallet/requestPermissions.d.ts +0 -34
  306. package/dist/types/actions/wallet/requestPermissions.d.ts.map +0 -1
  307. package/dist/types/actions/wallet/sendTransaction.d.ts +0 -53
  308. package/dist/types/actions/wallet/sendTransaction.d.ts.map +0 -1
  309. package/dist/types/actions/wallet/signMessage.d.ts +0 -54
  310. package/dist/types/actions/wallet/signMessage.d.ts.map +0 -1
  311. package/dist/types/actions/wallet/signTypedData.d.ts +0 -109
  312. package/dist/types/actions/wallet/signTypedData.d.ts.map +0 -1
  313. package/dist/types/actions/wallet/switchChain.d.ts +0 -28
  314. package/dist/types/actions/wallet/switchChain.d.ts.map +0 -1
  315. package/dist/types/actions/wallet/watchAsset.d.ts +0 -35
  316. package/dist/types/actions/wallet/watchAsset.d.ts.map +0 -1
  317. package/dist/types/actions/wallet/writeContract.d.ts +0 -58
  318. package/dist/types/actions/wallet/writeContract.d.ts.map +0 -1
  319. package/dist/types/adapters/ethers.d.ts +0 -27
  320. package/dist/types/adapters/ethers.d.ts.map +0 -1
  321. package/dist/types/chains.d.ts +0 -2487
  322. package/dist/types/chains.d.ts.map +0 -1
  323. package/dist/types/clients/createClient.d.ts +0 -43
  324. package/dist/types/clients/createClient.d.ts.map +0 -1
  325. package/dist/types/clients/createPublicClient.d.ts +0 -28
  326. package/dist/types/clients/createPublicClient.d.ts.map +0 -1
  327. package/dist/types/clients/createTestClient.d.ts +0 -38
  328. package/dist/types/clients/createTestClient.d.ts.map +0 -1
  329. package/dist/types/clients/createWalletClient.d.ts +0 -51
  330. package/dist/types/clients/createWalletClient.d.ts.map +0 -1
  331. package/dist/types/clients/decorators/index.d.ts +0 -7
  332. package/dist/types/clients/decorators/index.d.ts.map +0 -1
  333. package/dist/types/clients/decorators/public.d.ts +0 -1043
  334. package/dist/types/clients/decorators/public.d.ts.map +0 -1
  335. package/dist/types/clients/decorators/test.d.ts +0 -572
  336. package/dist/types/clients/decorators/test.d.ts.map +0 -1
  337. package/dist/types/clients/decorators/wallet.d.ts +0 -436
  338. package/dist/types/clients/decorators/wallet.d.ts.map +0 -1
  339. package/dist/types/clients/index.d.ts +0 -11
  340. package/dist/types/clients/index.d.ts.map +0 -1
  341. package/dist/types/clients/transports/createTransport.d.ts +0 -37
  342. package/dist/types/clients/transports/createTransport.d.ts.map +0 -1
  343. package/dist/types/clients/transports/custom.d.ts +0 -21
  344. package/dist/types/clients/transports/custom.d.ts.map +0 -1
  345. package/dist/types/clients/transports/fallback.d.ts +0 -75
  346. package/dist/types/clients/transports/fallback.d.ts.map +0 -1
  347. package/dist/types/clients/transports/http.d.ts +0 -29
  348. package/dist/types/clients/transports/http.d.ts.map +0 -1
  349. package/dist/types/clients/transports/index.d.ts +0 -11
  350. package/dist/types/clients/transports/index.d.ts.map +0 -1
  351. package/dist/types/clients/transports/webSocket.d.ts +0 -46
  352. package/dist/types/clients/transports/webSocket.d.ts.map +0 -1
  353. package/dist/types/constants/abis.d.ts +0 -79
  354. package/dist/types/constants/abis.d.ts.map +0 -1
  355. package/dist/types/constants/index.d.ts +0 -4
  356. package/dist/types/constants/index.d.ts.map +0 -1
  357. package/dist/types/constants/solidity.d.ts +0 -15
  358. package/dist/types/constants/solidity.d.ts.map +0 -1
  359. package/dist/types/constants/unit.d.ts +0 -13
  360. package/dist/types/constants/unit.d.ts.map +0 -1
  361. package/dist/types/contract.d.ts +0 -7
  362. package/dist/types/contract.d.ts.map +0 -1
  363. package/dist/types/ens.d.ts +0 -5
  364. package/dist/types/ens.d.ts.map +0 -1
  365. package/dist/types/errors/abi.d.ts +0 -165
  366. package/dist/types/errors/abi.d.ts.map +0 -1
  367. package/dist/types/errors/account.d.ts +0 -8
  368. package/dist/types/errors/account.d.ts.map +0 -1
  369. package/dist/types/errors/address.d.ts +0 -8
  370. package/dist/types/errors/address.d.ts.map +0 -1
  371. package/dist/types/errors/base.d.ts +0 -22
  372. package/dist/types/errors/base.d.ts.map +0 -1
  373. package/dist/types/errors/block.d.ts +0 -10
  374. package/dist/types/errors/block.d.ts.map +0 -1
  375. package/dist/types/errors/chain.d.ts +0 -31
  376. package/dist/types/errors/chain.d.ts.map +0 -1
  377. package/dist/types/errors/contract.d.ts +0 -58
  378. package/dist/types/errors/contract.d.ts.map +0 -1
  379. package/dist/types/errors/data.d.ts +0 -10
  380. package/dist/types/errors/data.d.ts.map +0 -1
  381. package/dist/types/errors/encoding.d.ts +0 -46
  382. package/dist/types/errors/encoding.d.ts.map +0 -1
  383. package/dist/types/errors/ens.d.ts +0 -26
  384. package/dist/types/errors/ens.d.ts.map +0 -1
  385. package/dist/types/errors/estimateGas.d.ts +0 -13
  386. package/dist/types/errors/estimateGas.d.ts.map +0 -1
  387. package/dist/types/errors/index.d.ts +0 -18
  388. package/dist/types/errors/index.d.ts.map +0 -1
  389. package/dist/types/errors/log.d.ts +0 -6
  390. package/dist/types/errors/log.d.ts.map +0 -1
  391. package/dist/types/errors/node.d.ts +0 -105
  392. package/dist/types/errors/node.d.ts.map +0 -1
  393. package/dist/types/errors/request.d.ts +0 -53
  394. package/dist/types/errors/request.d.ts.map +0 -1
  395. package/dist/types/errors/rpc.d.ts +0 -199
  396. package/dist/types/errors/rpc.d.ts.map +0 -1
  397. package/dist/types/errors/transaction.d.ts +0 -75
  398. package/dist/types/errors/transaction.d.ts.map +0 -1
  399. package/dist/types/errors/transport.d.ts +0 -5
  400. package/dist/types/errors/transport.d.ts.map +0 -1
  401. package/dist/types/errors/utils.d.ts +0 -5
  402. package/dist/types/errors/utils.d.ts.map +0 -1
  403. package/dist/types/errors/version.d.ts +0 -2
  404. package/dist/types/errors/version.d.ts.map +0 -1
  405. package/dist/types/ethers.d.ts +0 -2
  406. package/dist/types/ethers.d.ts.map +0 -1
  407. package/dist/types/index.d.ts +0 -12
  408. package/dist/types/index.d.ts.map +0 -1
  409. package/dist/types/public.d.ts +0 -3
  410. package/dist/types/public.d.ts.map +0 -1
  411. package/dist/types/test.d.ts +0 -3
  412. package/dist/types/test.d.ts.map +0 -1
  413. package/dist/types/types/account.d.ts +0 -11
  414. package/dist/types/types/account.d.ts.map +0 -1
  415. package/dist/types/types/block.d.ts +0 -62
  416. package/dist/types/types/block.d.ts.map +0 -1
  417. package/dist/types/types/chain.d.ts +0 -17
  418. package/dist/types/types/chain.d.ts.map +0 -1
  419. package/dist/types/types/contract.d.ts +0 -159
  420. package/dist/types/types/contract.d.ts.map +0 -1
  421. package/dist/types/types/eip1193.d.ts +0 -1002
  422. package/dist/types/types/eip1193.d.ts.map +0 -1
  423. package/dist/types/types/ens.d.ts +0 -5
  424. package/dist/types/types/ens.d.ts.map +0 -1
  425. package/dist/types/types/fee.d.ts +0 -28
  426. package/dist/types/types/fee.d.ts.map +0 -1
  427. package/dist/types/types/filter.d.ts +0 -27
  428. package/dist/types/types/filter.d.ts.map +0 -1
  429. package/dist/types/types/formatter.d.ts +0 -13
  430. package/dist/types/types/formatter.d.ts.map +0 -1
  431. package/dist/types/types/index.d.ts +0 -19
  432. package/dist/types/types/index.d.ts.map +0 -1
  433. package/dist/types/types/log.d.ts +0 -42
  434. package/dist/types/types/log.d.ts.map +0 -1
  435. package/dist/types/types/misc.d.ts +0 -10
  436. package/dist/types/types/misc.d.ts.map +0 -1
  437. package/dist/types/types/multicall.d.ts +0 -48
  438. package/dist/types/types/multicall.d.ts.map +0 -1
  439. package/dist/types/types/rpc.d.ts +0 -19
  440. package/dist/types/types/rpc.d.ts.map +0 -1
  441. package/dist/types/types/transaction.d.ts +0 -132
  442. package/dist/types/types/transaction.d.ts.map +0 -1
  443. package/dist/types/types/transport.d.ts +0 -3
  444. package/dist/types/types/transport.d.ts.map +0 -1
  445. package/dist/types/types/typedData.d.ts +0 -47
  446. package/dist/types/types/typedData.d.ts.map +0 -1
  447. package/dist/types/types/utils.d.ts +0 -156
  448. package/dist/types/types/utils.d.ts.map +0 -1
  449. package/dist/types/types/window.d.ts +0 -7
  450. package/dist/types/types/window.d.ts.map +0 -1
  451. package/dist/types/utils/abi/decodeAbiParameters.d.ts +0 -5
  452. package/dist/types/utils/abi/decodeAbiParameters.d.ts.map +0 -1
  453. package/dist/types/utils/abi/decodeDeployData.d.ts +0 -13
  454. package/dist/types/utils/abi/decodeDeployData.d.ts.map +0 -1
  455. package/dist/types/utils/abi/decodeErrorResult.d.ts +0 -13
  456. package/dist/types/utils/abi/decodeErrorResult.d.ts.map +0 -1
  457. package/dist/types/utils/abi/decodeEventLog.d.ts +0 -13
  458. package/dist/types/utils/abi/decodeEventLog.d.ts.map +0 -1
  459. package/dist/types/utils/abi/decodeFunctionData.d.ts +0 -14
  460. package/dist/types/utils/abi/decodeFunctionData.d.ts.map +0 -1
  461. package/dist/types/utils/abi/decodeFunctionResult.d.ts +0 -10
  462. package/dist/types/utils/abi/decodeFunctionResult.d.ts.map +0 -1
  463. package/dist/types/utils/abi/encodeAbiParameters.d.ts +0 -9
  464. package/dist/types/utils/abi/encodeAbiParameters.d.ts.map +0 -1
  465. package/dist/types/utils/abi/encodeDeployData.d.ts +0 -8
  466. package/dist/types/utils/abi/encodeDeployData.d.ts.map +0 -1
  467. package/dist/types/utils/abi/encodeErrorResult.d.ts +0 -8
  468. package/dist/types/utils/abi/encodeErrorResult.d.ts.map +0 -1
  469. package/dist/types/utils/abi/encodeEventTopics.d.ts +0 -9
  470. package/dist/types/utils/abi/encodeEventTopics.d.ts.map +0 -1
  471. package/dist/types/utils/abi/encodeFunctionData.d.ts +0 -8
  472. package/dist/types/utils/abi/encodeFunctionData.d.ts.map +0 -1
  473. package/dist/types/utils/abi/encodeFunctionResult.d.ts +0 -9
  474. package/dist/types/utils/abi/encodeFunctionResult.d.ts.map +0 -1
  475. package/dist/types/utils/abi/encodePacked.d.ts +0 -11
  476. package/dist/types/utils/abi/encodePacked.d.ts.map +0 -1
  477. package/dist/types/utils/abi/formatAbiItem.d.ts +0 -9
  478. package/dist/types/utils/abi/formatAbiItem.d.ts.map +0 -1
  479. package/dist/types/utils/abi/formatAbiItemWithArgs.d.ts +0 -8
  480. package/dist/types/utils/abi/formatAbiItemWithArgs.d.ts.map +0 -1
  481. package/dist/types/utils/abi/getAbiItem.d.ts +0 -12
  482. package/dist/types/utils/abi/getAbiItem.d.ts.map +0 -1
  483. package/dist/types/utils/abi/index.d.ts +0 -30
  484. package/dist/types/utils/abi/index.d.ts.map +0 -1
  485. package/dist/types/utils/accounts.d.ts +0 -3
  486. package/dist/types/utils/accounts.d.ts.map +0 -1
  487. package/dist/types/utils/address/getAddress.d.ts +0 -4
  488. package/dist/types/utils/address/getAddress.d.ts.map +0 -1
  489. package/dist/types/utils/address/getContractAddress.d.ts +0 -19
  490. package/dist/types/utils/address/getContractAddress.d.ts.map +0 -1
  491. package/dist/types/utils/address/index.d.ts +0 -6
  492. package/dist/types/utils/address/index.d.ts.map +0 -1
  493. package/dist/types/utils/address/isAddress.d.ts +0 -3
  494. package/dist/types/utils/address/isAddress.d.ts.map +0 -1
  495. package/dist/types/utils/address/isAddressEqual.d.ts +0 -3
  496. package/dist/types/utils/address/isAddressEqual.d.ts.map +0 -1
  497. package/dist/types/utils/buildRequest.d.ts +0 -6
  498. package/dist/types/utils/buildRequest.d.ts.map +0 -1
  499. package/dist/types/utils/chain.d.ts +0 -8
  500. package/dist/types/utils/chain.d.ts.map +0 -1
  501. package/dist/types/utils/contract/extractFunctionParts.d.ts +0 -13
  502. package/dist/types/utils/contract/extractFunctionParts.d.ts.map +0 -1
  503. package/dist/types/utils/contract/index.d.ts +0 -2
  504. package/dist/types/utils/contract/index.d.ts.map +0 -1
  505. package/dist/types/utils/data/concat.d.ts +0 -6
  506. package/dist/types/utils/data/concat.d.ts.map +0 -1
  507. package/dist/types/utils/data/index.d.ts +0 -8
  508. package/dist/types/utils/data/index.d.ts.map +0 -1
  509. package/dist/types/utils/data/isBytes.d.ts +0 -3
  510. package/dist/types/utils/data/isBytes.d.ts.map +0 -1
  511. package/dist/types/utils/data/isHex.d.ts +0 -3
  512. package/dist/types/utils/data/isHex.d.ts.map +0 -1
  513. package/dist/types/utils/data/pad.d.ts +0 -11
  514. package/dist/types/utils/data/pad.d.ts.map +0 -1
  515. package/dist/types/utils/data/size.d.ts +0 -9
  516. package/dist/types/utils/data/size.d.ts.map +0 -1
  517. package/dist/types/utils/data/slice.d.ts +0 -27
  518. package/dist/types/utils/data/slice.d.ts.map +0 -1
  519. package/dist/types/utils/data/trim.d.ts +0 -8
  520. package/dist/types/utils/data/trim.d.ts.map +0 -1
  521. package/dist/types/utils/encoding/fromBytes.d.ts +0 -25
  522. package/dist/types/utils/encoding/fromBytes.d.ts.map +0 -1
  523. package/dist/types/utils/encoding/fromHex.d.ts +0 -28
  524. package/dist/types/utils/encoding/fromHex.d.ts.map +0 -1
  525. package/dist/types/utils/encoding/fromRlp.d.ts +0 -6
  526. package/dist/types/utils/encoding/fromRlp.d.ts.map +0 -1
  527. package/dist/types/utils/encoding/index.d.ts +0 -8
  528. package/dist/types/utils/encoding/index.d.ts.map +0 -1
  529. package/dist/types/utils/encoding/toBytes.d.ts +0 -21
  530. package/dist/types/utils/encoding/toBytes.d.ts.map +0 -1
  531. package/dist/types/utils/encoding/toHex.d.ts +0 -29
  532. package/dist/types/utils/encoding/toHex.d.ts.map +0 -1
  533. package/dist/types/utils/encoding/toRlp.d.ts +0 -8
  534. package/dist/types/utils/encoding/toRlp.d.ts.map +0 -1
  535. package/dist/types/utils/ens/avatar/index.d.ts +0 -2
  536. package/dist/types/utils/ens/avatar/index.d.ts.map +0 -1
  537. package/dist/types/utils/ens/avatar/parseAvatarRecord.d.ts +0 -7
  538. package/dist/types/utils/ens/avatar/parseAvatarRecord.d.ts.map +0 -1
  539. package/dist/types/utils/ens/avatar/utils.d.ts +0 -34
  540. package/dist/types/utils/ens/avatar/utils.d.ts.map +0 -1
  541. package/dist/types/utils/ens/index.d.ts +0 -5
  542. package/dist/types/utils/ens/index.d.ts.map +0 -1
  543. package/dist/types/utils/ens/labelhash.d.ts +0 -11
  544. package/dist/types/utils/ens/labelhash.d.ts.map +0 -1
  545. package/dist/types/utils/ens/namehash.d.ts +0 -13
  546. package/dist/types/utils/ens/namehash.d.ts.map +0 -1
  547. package/dist/types/utils/ens/normalize.d.ts +0 -12
  548. package/dist/types/utils/ens/normalize.d.ts.map +0 -1
  549. package/dist/types/utils/ens/packetToBytes.d.ts +0 -3
  550. package/dist/types/utils/ens/packetToBytes.d.ts.map +0 -1
  551. package/dist/types/utils/errors/getCallError.d.ts +0 -9
  552. package/dist/types/utils/errors/getCallError.d.ts.map +0 -1
  553. package/dist/types/utils/errors/getContractError.d.ts +0 -13
  554. package/dist/types/utils/errors/getContractError.d.ts.map +0 -1
  555. package/dist/types/utils/errors/getEstimateGasError.d.ts +0 -10
  556. package/dist/types/utils/errors/getEstimateGasError.d.ts.map +0 -1
  557. package/dist/types/utils/errors/getNodeError.d.ts +0 -6
  558. package/dist/types/utils/errors/getNodeError.d.ts.map +0 -1
  559. package/dist/types/utils/errors/getTransactionError.d.ts +0 -10
  560. package/dist/types/utils/errors/getTransactionError.d.ts.map +0 -1
  561. package/dist/types/utils/errors/index.d.ts +0 -6
  562. package/dist/types/utils/errors/index.d.ts.map +0 -1
  563. package/dist/types/utils/filters/createFilterRequestScope.d.ts +0 -16
  564. package/dist/types/utils/filters/createFilterRequestScope.d.ts.map +0 -1
  565. package/dist/types/utils/formatters/block.d.ts +0 -14
  566. package/dist/types/utils/formatters/block.d.ts.map +0 -1
  567. package/dist/types/utils/formatters/extract.d.ts +0 -8
  568. package/dist/types/utils/formatters/extract.d.ts.map +0 -1
  569. package/dist/types/utils/formatters/feeHistory.d.ts +0 -3
  570. package/dist/types/utils/formatters/feeHistory.d.ts.map +0 -1
  571. package/dist/types/utils/formatters/format.d.ts +0 -36
  572. package/dist/types/utils/formatters/format.d.ts.map +0 -1
  573. package/dist/types/utils/formatters/index.d.ts +0 -13
  574. package/dist/types/utils/formatters/index.d.ts.map +0 -1
  575. package/dist/types/utils/formatters/log.d.ts +0 -16
  576. package/dist/types/utils/formatters/log.d.ts.map +0 -1
  577. package/dist/types/utils/formatters/transaction.d.ts +0 -19
  578. package/dist/types/utils/formatters/transaction.d.ts.map +0 -1
  579. package/dist/types/utils/formatters/transactionReceipt.d.ts +0 -14
  580. package/dist/types/utils/formatters/transactionReceipt.d.ts.map +0 -1
  581. package/dist/types/utils/formatters/transactionRequest.d.ts +0 -14
  582. package/dist/types/utils/formatters/transactionRequest.d.ts.map +0 -1
  583. package/dist/types/utils/hash/getEventSelector.d.ts +0 -3
  584. package/dist/types/utils/hash/getEventSelector.d.ts.map +0 -1
  585. package/dist/types/utils/hash/getFunctionSelector.d.ts +0 -2
  586. package/dist/types/utils/hash/getFunctionSelector.d.ts.map +0 -1
  587. package/dist/types/utils/hash/hashFunction.d.ts +0 -2
  588. package/dist/types/utils/hash/hashFunction.d.ts.map +0 -1
  589. package/dist/types/utils/hash/index.d.ts +0 -5
  590. package/dist/types/utils/hash/index.d.ts.map +0 -1
  591. package/dist/types/utils/hash/isHash.d.ts +0 -3
  592. package/dist/types/utils/hash/isHash.d.ts.map +0 -1
  593. package/dist/types/utils/hash/keccak256.d.ts +0 -6
  594. package/dist/types/utils/hash/keccak256.d.ts.map +0 -1
  595. package/dist/types/utils/index.d.ts +0 -26
  596. package/dist/types/utils/index.d.ts.map +0 -1
  597. package/dist/types/utils/observe.d.ts +0 -17
  598. package/dist/types/utils/observe.d.ts.map +0 -1
  599. package/dist/types/utils/poll.d.ts +0 -13
  600. package/dist/types/utils/poll.d.ts.map +0 -1
  601. package/dist/types/utils/promise/index.d.ts +0 -4
  602. package/dist/types/utils/promise/index.d.ts.map +0 -1
  603. package/dist/types/utils/promise/withCache.d.ts +0 -36
  604. package/dist/types/utils/promise/withCache.d.ts.map +0 -1
  605. package/dist/types/utils/promise/withRetry.d.ts +0 -12
  606. package/dist/types/utils/promise/withRetry.d.ts.map +0 -1
  607. package/dist/types/utils/promise/withTimeout.d.ts +0 -8
  608. package/dist/types/utils/promise/withTimeout.d.ts.map +0 -1
  609. package/dist/types/utils/regex.d.ts +0 -4
  610. package/dist/types/utils/regex.d.ts.map +0 -1
  611. package/dist/types/utils/rpc.d.ts +0 -64
  612. package/dist/types/utils/rpc.d.ts.map +0 -1
  613. package/dist/types/utils/signature/hashMessage.d.ts +0 -6
  614. package/dist/types/utils/signature/hashMessage.d.ts.map +0 -1
  615. package/dist/types/utils/signature/hashTypedData.d.ts +0 -10
  616. package/dist/types/utils/signature/hashTypedData.d.ts.map +0 -1
  617. package/dist/types/utils/signature/index.d.ts +0 -16
  618. package/dist/types/utils/signature/index.d.ts.map +0 -1
  619. package/dist/types/utils/signature/recoverAddress.d.ts +0 -8
  620. package/dist/types/utils/signature/recoverAddress.d.ts.map +0 -1
  621. package/dist/types/utils/signature/recoverMessageAddress.d.ts +0 -8
  622. package/dist/types/utils/signature/recoverMessageAddress.d.ts.map +0 -1
  623. package/dist/types/utils/signature/recoverPublicKey.d.ts +0 -8
  624. package/dist/types/utils/signature/recoverPublicKey.d.ts.map +0 -1
  625. package/dist/types/utils/signature/recoverTypedDataAddress.d.ts +0 -12
  626. package/dist/types/utils/signature/recoverTypedDataAddress.d.ts.map +0 -1
  627. package/dist/types/utils/signature/verifyMessage.d.ts +0 -10
  628. package/dist/types/utils/signature/verifyMessage.d.ts.map +0 -1
  629. package/dist/types/utils/signature/verifyTypedData.d.ts +0 -13
  630. package/dist/types/utils/signature/verifyTypedData.d.ts.map +0 -1
  631. package/dist/types/utils/stringify.d.ts +0 -2
  632. package/dist/types/utils/stringify.d.ts.map +0 -1
  633. package/dist/types/utils/transaction/assertRequest.d.ts +0 -4
  634. package/dist/types/utils/transaction/assertRequest.d.ts.map +0 -1
  635. package/dist/types/utils/transaction/assertTransaction.d.ts +0 -5
  636. package/dist/types/utils/transaction/assertTransaction.d.ts.map +0 -1
  637. package/dist/types/utils/transaction/getSerializedTransactionType.d.ts +0 -4
  638. package/dist/types/utils/transaction/getSerializedTransactionType.d.ts.map +0 -1
  639. package/dist/types/utils/transaction/getTransactionType.d.ts +0 -4
  640. package/dist/types/utils/transaction/getTransactionType.d.ts.map +0 -1
  641. package/dist/types/utils/transaction/index.d.ts +0 -10
  642. package/dist/types/utils/transaction/index.d.ts.map +0 -1
  643. package/dist/types/utils/transaction/parseTransaction.d.ts +0 -5
  644. package/dist/types/utils/transaction/parseTransaction.d.ts.map +0 -1
  645. package/dist/types/utils/transaction/prepareRequest.d.ts +0 -21
  646. package/dist/types/utils/transaction/prepareRequest.d.ts.map +0 -1
  647. package/dist/types/utils/transaction/serializeTransaction.d.ts +0 -5
  648. package/dist/types/utils/transaction/serializeTransaction.d.ts.map +0 -1
  649. package/dist/types/utils/typedData.d.ts +0 -6
  650. package/dist/types/utils/typedData.d.ts.map +0 -1
  651. package/dist/types/utils/uid.d.ts +0 -2
  652. package/dist/types/utils/uid.d.ts.map +0 -1
  653. package/dist/types/utils/unit/formatEther.d.ts +0 -2
  654. package/dist/types/utils/unit/formatEther.d.ts.map +0 -1
  655. package/dist/types/utils/unit/formatGwei.d.ts +0 -2
  656. package/dist/types/utils/unit/formatGwei.d.ts.map +0 -1
  657. package/dist/types/utils/unit/formatUnits.d.ts +0 -2
  658. package/dist/types/utils/unit/formatUnits.d.ts.map +0 -1
  659. package/dist/types/utils/unit/index.d.ts +0 -7
  660. package/dist/types/utils/unit/index.d.ts.map +0 -1
  661. package/dist/types/utils/unit/parseEther.d.ts +0 -2
  662. package/dist/types/utils/unit/parseEther.d.ts.map +0 -1
  663. package/dist/types/utils/unit/parseGwei.d.ts +0 -2
  664. package/dist/types/utils/unit/parseGwei.d.ts.map +0 -1
  665. package/dist/types/utils/unit/parseUnits.d.ts +0 -2
  666. package/dist/types/utils/unit/parseUnits.d.ts.map +0 -1
  667. package/dist/types/utils/wait.d.ts +0 -2
  668. package/dist/types/utils/wait.d.ts.map +0 -1
  669. package/dist/types/wallet.d.ts +0 -3
  670. package/dist/types/wallet.d.ts.map +0 -1
  671. package/dist/types/window.d.ts +0 -2
  672. package/dist/types/window.d.ts.map +0 -1
@@ -1,436 +0,0 @@
1
- import type { Abi, TypedData } from 'abitype';
2
- import type { AddChainParameters, DeployContractParameters, DeployContractReturnType, GetAddressesReturnType, GetChainIdReturnType, GetPermissionsReturnType, RequestAddressesReturnType, RequestPermissionsParameters, RequestPermissionsReturnType, SendTransactionParameters, SendTransactionReturnType, SignMessageParameters, SignMessageReturnType, SignTypedDataParameters, SignTypedDataReturnType, SwitchChainParameters, WatchAssetParameters, WatchAssetReturnType, WriteContractParameters, WriteContractReturnType } from '../../actions/wallet/index.js';
3
- import type { Account, Chain } from '../../types/index.js';
4
- import type { WalletClient } from '../createWalletClient.js';
5
- import type { Transport } from '../transports/index.js';
6
- export type WalletActions<TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined> = {
7
- /**
8
- * Adds an EVM chain to the wallet.
9
- *
10
- * - Docs: https://viem.sh/docs/actions/wallet/addChain.html
11
- * - JSON-RPC Methods: [`eth_addEthereumChain`](https://eips.ethereum.org/EIPS/eip-3085)
12
- *
13
- * @param args - {@link AddChainParameters}
14
- *
15
- * @example
16
- * import { createWalletClient, custom } from 'viem'
17
- * import { optimism } from 'viem/chains'
18
- *
19
- * const client = createWalletClient({
20
- * transport: custom(window.ethereum),
21
- * })
22
- * await client.addChain({ chain: optimism })
23
- */
24
- addChain: (args: AddChainParameters) => Promise<void>;
25
- /**
26
- * Deploys a contract to the network, given bytecode and constructor arguments.
27
- *
28
- * - Docs: https://viem.sh/docs/contract/deployContract.html
29
- * - Examples: https://stackblitz.com/github/wagmi-dev/viem/tree/main/examples/contracts/deploying-contracts
30
- *
31
- * @param args - {@link DeployContractParameters}
32
- * @returns The [Transaction](https://viem.sh/docs/glossary/terms#transaction) hash. {@link DeployContractReturnType}
33
- *
34
- * @example
35
- * import { createWalletClient, http } from 'viem'
36
- * import { privateKeyToAccount } from 'viem/accounts'
37
- * import { mainnet } from 'viem/chains'
38
- *
39
- * const client = createWalletClient({
40
- * account: privateKeyToAccount('0x…'),
41
- * chain: mainnet,
42
- * transport: http(),
43
- * })
44
- * const hash = await client.deployContract({
45
- * abi: [],
46
- * account: '0x…,
47
- * bytecode: '0x608060405260405161083e38038061083e833981016040819052610...',
48
- * })
49
- */
50
- deployContract: <TAbi extends Abi | readonly unknown[], TChainOverride extends Chain | undefined>(args: DeployContractParameters<TAbi, TChain, TAccount, TChainOverride>) => Promise<DeployContractReturnType>;
51
- /**
52
- * Returns a list of account addresses owned by the wallet or client.
53
- *
54
- * - Docs: https://viem.sh/docs/actions/wallet/getAddresses.html
55
- * - JSON-RPC Methods: [`eth_accounts`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_accounts)
56
- *
57
- * @returns List of account addresses owned by the wallet or client. {@link GetAddressesReturnType}
58
- *
59
- * @example
60
- * import { createWalletClient, custom } from 'viem'
61
- * import { mainnet } from 'viem/chains'
62
- *
63
- * const client = createWalletClient({
64
- * chain: mainnet,
65
- * transport: custom(window.ethereum),
66
- * })
67
- * const accounts = await client.getAddresses()
68
- */
69
- getAddresses: () => Promise<GetAddressesReturnType>;
70
- /**
71
- * Returns the chain ID associated with the current network.
72
- *
73
- * - Docs: https://viem.sh/docs/actions/public/getChainId.html
74
- * - JSON-RPC Methods: [`eth_chainId`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_chainid)
75
- *
76
- * @returns The current chain ID. {@link GetChainIdReturnType}
77
- *
78
- * @example
79
- * import { createWalletClient, http } from 'viem'
80
- * import { mainnet } from 'viem/chains'
81
- *
82
- * const client = createWalletClient({
83
- * chain: mainnet,
84
- * transport: custom(window.ethereum),
85
- * })
86
- * const chainId = await client.getChainId()
87
- * // 1
88
- */
89
- getChainId: () => Promise<GetChainIdReturnType>;
90
- /**
91
- * Gets the wallets current permissions.
92
- *
93
- * - Docs: https://viem.sh/docs/actions/wallet/getPermissions.html
94
- * - JSON-RPC Methods: [`wallet_getPermissions`](https://eips.ethereum.org/EIPS/eip-2255)
95
- *
96
- * @returns The wallet permissions. {@link GetPermissionsReturnType}
97
- *
98
- * @example
99
- * import { createWalletClient, custom } from 'viem'
100
- * import { mainnet } from 'viem/chains'
101
- *
102
- * const client = createWalletClient({
103
- * chain: mainnet,
104
- * transport: custom(window.ethereum),
105
- * })
106
- * const permissions = await client.getPermissions()
107
- */
108
- getPermissions: () => Promise<GetPermissionsReturnType>;
109
- /**
110
- * Requests a list of accounts managed by a wallet.
111
- *
112
- * - Docs: https://viem.sh/docs/actions/wallet/requestAddresses.html
113
- * - JSON-RPC Methods: [`eth_requestAccounts`](https://eips.ethereum.org/EIPS/eip-1102)
114
- *
115
- * Sends a request to the wallet, asking for permission to access the user's accounts. After the user accepts the request, it will return a list of accounts (addresses).
116
- *
117
- * This API can be useful for dapps that need to access the user's accounts in order to execute transactions or interact with smart contracts.
118
- *
119
- * @returns List of accounts managed by a wallet {@link RequestAddressesReturnType}
120
- *
121
- * @example
122
- * import { createWalletClient, custom } from 'viem'
123
- * import { mainnet } from 'viem/chains'
124
- *
125
- * const client = createWalletClient({
126
- * chain: mainnet,
127
- * transport: custom(window.ethereum),
128
- * })
129
- * const accounts = await client.requestAddresses()
130
- */
131
- requestAddresses: () => Promise<RequestAddressesReturnType>;
132
- /**
133
- * Requests permissions for a wallet.
134
- *
135
- * - Docs: https://viem.sh/docs/actions/wallet/requestPermissions.html
136
- * - JSON-RPC Methods: [`wallet_requestPermissions`](https://eips.ethereum.org/EIPS/eip-2255)
137
- *
138
- * @param args - {@link RequestPermissionsParameters}
139
- * @returns The wallet permissions. {@link RequestPermissionsReturnType}
140
- *
141
- * @example
142
- * import { createWalletClient, custom } from 'viem'
143
- * import { mainnet } from 'viem/chains'
144
- *
145
- * const client = createWalletClient({
146
- * chain: mainnet,
147
- * transport: custom(window.ethereum),
148
- * })
149
- * const permissions = await client.requestPermissions({
150
- * eth_accounts: {}
151
- * })
152
- */
153
- requestPermissions: (args: RequestPermissionsParameters) => Promise<RequestPermissionsReturnType>;
154
- /**
155
- * Creates, signs, and sends a new transaction to the network.
156
- *
157
- * - Docs: https://viem.sh/docs/actions/wallet/sendTransaction.html
158
- * - Examples: https://stackblitz.com/github/wagmi-dev/viem/tree/main/examples/transactions/sending-transactions
159
- * - JSON-RPC Methods:
160
- * - JSON-RPC Accounts: [`eth_sendTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendtransaction)
161
- * - Local Accounts: [`eth_sendRawTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendrawtransaction)
162
- *
163
- * @param args - {@link SendTransactionParameters}
164
- * @returns The [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) hash. {@link SendTransactionReturnType}
165
- *
166
- * @example
167
- * import { createWalletClient, custom } from 'viem'
168
- * import { mainnet } from 'viem/chains'
169
- *
170
- * const client = createWalletClient({
171
- * chain: mainnet,
172
- * transport: custom(window.ethereum),
173
- * })
174
- * const hash = await client.sendTransaction({
175
- * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
176
- * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
177
- * value: 1000000000000000000n,
178
- * })
179
- *
180
- * @example
181
- * // Account Hoisting
182
- * import { createWalletClient, http } from 'viem'
183
- * import { privateKeyToAccount } from 'viem/accounts'
184
- * import { mainnet } from 'viem/chains'
185
- *
186
- * const client = createWalletClient({
187
- * account: privateKeyToAccount('0x…'),
188
- * chain: mainnet,
189
- * transport: http(),
190
- * })
191
- * const hash = await client.sendTransaction({
192
- * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
193
- * value: 1000000000000000000n,
194
- * })
195
- */
196
- sendTransaction: <TChainOverride extends Chain | undefined>(args: SendTransactionParameters<TChain, TAccount, TChainOverride>) => Promise<SendTransactionReturnType>;
197
- /**
198
- * Calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`.
199
- *
200
- * - Docs: https://viem.sh/docs/actions/wallet/signMessage.html
201
- * - JSON-RPC Methods:
202
- * - JSON-RPC Accounts: [`personal_sign`](https://docs.metamask.io/guide/signing-data.html#personal-sign)
203
- * - Local Accounts: Signs locally. No JSON-RPC request.
204
- *
205
- * With the calculated signature, you can:
206
- * - use [`verifyMessage`](https://viem.sh/docs/utilities/verifyMessage) to verify the signature,
207
- * - use [`recoverMessageAddress`](https://viem.sh/docs/utilities/recoverMessageAddress) to recover the signing address from a signature.
208
- *
209
- * @param args - {@link SignMessageParameters}
210
- * @returns The signed message. {@link SignMessageReturnType}
211
- *
212
- * @example
213
- * import { createWalletClient, custom } from 'viem'
214
- * import { mainnet } from 'viem/chains'
215
- *
216
- * const client = createWalletClient({
217
- * chain: mainnet,
218
- * transport: custom(window.ethereum),
219
- * })
220
- * const signature = await client.signMessage({
221
- * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
222
- * message: 'hello world',
223
- * })
224
- *
225
- * @example
226
- * // Account Hoisting
227
- * import { createWalletClient, http } from 'viem'
228
- * import { privateKeyToAccount } from 'viem/accounts'
229
- * import { mainnet } from 'viem/chains'
230
- *
231
- * const client = createWalletClient({
232
- * account: privateKeyToAccount('0x…'),
233
- * chain: mainnet,
234
- * transport: http(),
235
- * })
236
- * const signature = await client.signMessage({
237
- * message: 'hello world',
238
- * })
239
- */
240
- signMessage: (args: SignMessageParameters<TAccount>) => Promise<SignMessageReturnType>;
241
- /**
242
- * Signs typed data and calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`.
243
- *
244
- * - Docs: https://viem.sh/docs/actions/wallet/signTypedData.html
245
- * - JSON-RPC Methods:
246
- * - JSON-RPC Accounts: [`eth_signTypedData_v4`](https://docs.metamask.io/guide/signing-data.html#signtypeddata-v4)
247
- * - Local Accounts: Signs locally. No JSON-RPC request.
248
- *
249
- * @param client - Client to use
250
- * @param args - {@link SignTypedDataParameters}
251
- * @returns The signed data. {@link SignTypedDataReturnType}
252
- *
253
- * @example
254
- * import { createWalletClient, custom } from 'viem'
255
- * import { mainnet } from 'viem/chains'
256
- *
257
- * const client = createWalletClient({
258
- * chain: mainnet,
259
- * transport: custom(window.ethereum),
260
- * })
261
- * const signature = await client.signTypedData({
262
- * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
263
- * domain: {
264
- * name: 'Ether Mail',
265
- * version: '1',
266
- * chainId: 1,
267
- * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
268
- * },
269
- * types: {
270
- * Person: [
271
- * { name: 'name', type: 'string' },
272
- * { name: 'wallet', type: 'address' },
273
- * ],
274
- * Mail: [
275
- * { name: 'from', type: 'Person' },
276
- * { name: 'to', type: 'Person' },
277
- * { name: 'contents', type: 'string' },
278
- * ],
279
- * },
280
- * primaryType: 'Mail',
281
- * message: {
282
- * from: {
283
- * name: 'Cow',
284
- * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',
285
- * },
286
- * to: {
287
- * name: 'Bob',
288
- * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',
289
- * },
290
- * contents: 'Hello, Bob!',
291
- * },
292
- * })
293
- *
294
- * @example
295
- * // Account Hoisting
296
- * import { createWalletClient, http } from 'viem'
297
- * import { privateKeyToAccount } from 'viem/accounts'
298
- * import { mainnet } from 'viem/chains'
299
- *
300
- * const client = createWalletClient({
301
- * account: privateKeyToAccount('0x…'),
302
- * chain: mainnet,
303
- * transport: http(),
304
- * })
305
- * const signature = await client.signTypedData({
306
- * domain: {
307
- * name: 'Ether Mail',
308
- * version: '1',
309
- * chainId: 1,
310
- * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',
311
- * },
312
- * types: {
313
- * Person: [
314
- * { name: 'name', type: 'string' },
315
- * { name: 'wallet', type: 'address' },
316
- * ],
317
- * Mail: [
318
- * { name: 'from', type: 'Person' },
319
- * { name: 'to', type: 'Person' },
320
- * { name: 'contents', type: 'string' },
321
- * ],
322
- * },
323
- * primaryType: 'Mail',
324
- * message: {
325
- * from: {
326
- * name: 'Cow',
327
- * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',
328
- * },
329
- * to: {
330
- * name: 'Bob',
331
- * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',
332
- * },
333
- * contents: 'Hello, Bob!',
334
- * },
335
- * })
336
- */
337
- signTypedData: <TTypedData extends TypedData | {
338
- [key: string]: unknown;
339
- }, TPrimaryType extends string>(args: SignTypedDataParameters<TTypedData, TPrimaryType, TAccount>) => Promise<SignTypedDataReturnType>;
340
- /**
341
- * Switch the target chain in a wallet.
342
- *
343
- * - Docs: https://viem.sh/docs/actions/wallet/switchChain.html
344
- * - JSON-RPC Methods: [`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-3326)
345
- *
346
- * @param args - {@link SwitchChainParameters}
347
- *
348
- * @example
349
- * import { createWalletClient, custom } from 'viem'
350
- * import { mainnet, optimism } from 'viem/chains'
351
- *
352
- * const client = createWalletClient({
353
- * chain: mainnet,
354
- * transport: custom(window.ethereum),
355
- * })
356
- * await client.switchChain({ id: optimism.id })
357
- */
358
- switchChain: (args: SwitchChainParameters) => Promise<void>;
359
- /**
360
- * Adds an EVM chain to the wallet.
361
- *
362
- * - Docs: https://viem.sh/docs/actions/wallet/watchAsset.html
363
- * - JSON-RPC Methods: [`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-747)
364
- *
365
- * @param args - {@link WatchAssetParameters}
366
- * @returns Boolean indicating if the token was successfully added. {@link WatchAssetReturnType}
367
- *
368
- * @example
369
- * import { createWalletClient, custom } from 'viem'
370
- * import { mainnet } from 'viem/chains'
371
- *
372
- * const client = createWalletClient({
373
- * chain: mainnet,
374
- * transport: custom(window.ethereum),
375
- * })
376
- * const success = await client.watchAsset({
377
- * type: 'ERC20',
378
- * options: {
379
- * address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
380
- * decimals: 18,
381
- * symbol: 'WETH',
382
- * },
383
- * })
384
- */
385
- watchAsset: (args: WatchAssetParameters) => Promise<WatchAssetReturnType>;
386
- /**
387
- * Executes a write function on a contract.
388
- *
389
- * - Docs: https://viem.sh/docs/contract/writeContract.html
390
- * - Examples: https://stackblitz.com/github/wagmi-dev/viem/tree/main/examples/contracts/writing-to-contracts
391
- *
392
- * A "write" function on a Solidity contract modifies the state of the blockchain. These types of functions require gas to be executed, and hence a [Transaction](https://viem.sh/docs/glossary/terms) is needed to be broadcast in order to change the state.
393
- *
394
- * Internally, uses a [Wallet Client](https://viem.sh/docs/clients/wallet) to call the [`sendTransaction` action](https://viem.sh/docs/actions/wallet/sendTransaction) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData).
395
- *
396
- * __Warning: The `write` internally sends a transaction – it does not validate if the contract write will succeed (the contract may throw an error). It is highly recommended to [simulate the contract write with `contract.simulate`](https://viem.sh/docs/contract/writeContract.html#usage) before you execute it.__
397
- *
398
- * @param args - {@link WriteContractParameters}
399
- * @returns A [Transaction Hash](https://viem.sh/docs/glossary/terms#hash). {@link WriteContractReturnType}
400
- *
401
- * @example
402
- * import { createWalletClient, custom, parseAbi } from 'viem'
403
- * import { mainnet } from 'viem/chains'
404
- *
405
- * const client = createWalletClient({
406
- * chain: mainnet,
407
- * transport: custom(window.ethereum),
408
- * })
409
- * const hash = await client.writeContract({
410
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
411
- * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']),
412
- * functionName: 'mint',
413
- * args: [69420],
414
- * })
415
- *
416
- * @example
417
- * // With Validation
418
- * import { createWalletClient, custom, parseAbi } from 'viem'
419
- * import { mainnet } from 'viem/chains'
420
- *
421
- * const client = createWalletClient({
422
- * chain: mainnet,
423
- * transport: custom(window.ethereum),
424
- * })
425
- * const { request } = await client.simulateContract({
426
- * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
427
- * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']),
428
- * functionName: 'mint',
429
- * args: [69420],
430
- * }
431
- * const hash = await client.writeContract(request)
432
- */
433
- writeContract: <TAbi extends Abi | readonly unknown[], TFunctionName extends string, TChainOverride extends Chain | undefined>(args: WriteContractParameters<TAbi, TFunctionName, TChain, TAccount, TChainOverride>) => Promise<WriteContractReturnType>;
434
- };
435
- export declare const walletActions: <TTransport extends Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined>(client: WalletClient<TTransport, TChain, TAccount>) => WalletActions<TChain, TAccount>;
436
- //# sourceMappingURL=wallet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../src/clients/decorators/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,+BAA+B,CAAA;AAgBtC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAEvD,MAAM,MAAM,aAAa,CACvB,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACpD,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,IACxD;IACF;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACrD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,cAAc,EAAE,CACd,IAAI,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EACrC,cAAc,SAAS,KAAK,GAAG,SAAS,EAExC,IAAI,EAAE,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,KACnE,OAAO,CAAC,wBAAwB,CAAC,CAAA;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,YAAY,EAAE,MAAM,OAAO,CAAC,sBAAsB,CAAC,CAAA;IACnD;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,EAAE,MAAM,OAAO,CAAC,oBAAoB,CAAC,CAAA;IAC/C;;;;;;;;;;;;;;;;;OAiBG;IACH,cAAc,EAAE,MAAM,OAAO,CAAC,wBAAwB,CAAC,CAAA;IACvD;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,gBAAgB,EAAE,MAAM,OAAO,CAAC,0BAA0B,CAAC,CAAA;IAC3D;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,kBAAkB,EAAE,CAClB,IAAI,EAAE,4BAA4B,KAC/B,OAAO,CAAC,4BAA4B,CAAC,CAAA;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,eAAe,EAAE,CAAC,cAAc,SAAS,KAAK,GAAG,SAAS,EACxD,IAAI,EAAE,yBAAyB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,KAC9D,OAAO,CAAC,yBAAyB,CAAC,CAAA;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,WAAW,EAAE,CACX,IAAI,EAAE,qBAAqB,CAAC,QAAQ,CAAC,KAClC,OAAO,CAAC,qBAAqB,CAAC,CAAA;IACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+FG;IACH,aAAa,EAAE,CACb,UAAU,SAAS,SAAS,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,EACzD,YAAY,SAAS,MAAM,EAE3B,IAAI,EAAE,uBAAuB,CAAC,UAAU,EAAE,YAAY,EAAE,QAAQ,CAAC,KAC9D,OAAO,CAAC,uBAAuB,CAAC,CAAA;IACrC;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3D;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,UAAU,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAA;IACzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,aAAa,EAAE,CACb,IAAI,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EACrC,aAAa,SAAS,MAAM,EAC5B,cAAc,SAAS,KAAK,GAAG,SAAS,EAExC,IAAI,EAAE,uBAAuB,CAC3B,IAAI,EACJ,aAAa,EACb,MAAM,EACN,QAAQ,EACR,cAAc,CACf,KACE,OAAO,CAAC,uBAAuB,CAAC,CAAA;CACtC,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,CAC1B,UAAU,SAAS,SAAS,EAC5B,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACpD,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EAE1D,MAAM,EAAE,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,KAC/C,aAAa,CAAC,MAAM,EAAE,QAAQ,CAoBjC,CAAA"}
@@ -1,11 +0,0 @@
1
- export { createTransport, custom, fallback, http, webSocket, } from './transports/index.js';
2
- export type { CustomTransport, CustomTransportConfig, Transport, TransportConfig, FallbackTransport, FallbackTransportConfig, HttpTransport, HttpTransportConfig, WebSocketTransport, WebSocketTransportConfig, } from './transports/index.js';
3
- export { createClient } from './createClient.js';
4
- export type { Client, ClientConfig } from './createClient.js';
5
- export { createPublicClient } from './createPublicClient.js';
6
- export type { PublicClient, PublicClientConfig, } from './createPublicClient.js';
7
- export { createTestClient } from './createTestClient.js';
8
- export type { TestClient, TestClientConfig, TestClientMode, } from './createTestClient.js';
9
- export { createWalletClient } from './createWalletClient.js';
10
- export type { WalletClient, WalletClientConfig, } from './createWalletClient.js';
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/clients/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,SAAS,GACV,MAAM,uBAAuB,CAAA;AAC9B,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAE7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,YAAY,EACV,YAAY,EACZ,kBAAkB,GACnB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,YAAY,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,GACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,YAAY,EACV,YAAY,EACZ,kBAAkB,GACnB,MAAM,yBAAyB,CAAA"}
@@ -1,37 +0,0 @@
1
- import type { Chain } from '../../types/index.js';
2
- import type { Requests } from '../../types/eip1193.js';
3
- import type { ClientConfig } from '../createClient.js';
4
- export type BaseRpcRequests = {
5
- request(...args: any): Promise<any>;
6
- };
7
- export type TransportConfig<TType extends string = string, TRequests extends BaseRpcRequests['request'] = Requests['request']> = {
8
- /** The name of the transport. */
9
- name: string;
10
- /** The key of the transport. */
11
- key: string;
12
- /** The JSON-RPC request function that matches the EIP-1193 request spec. */
13
- request: TRequests;
14
- /** The base delay (in ms) between retries. */
15
- retryDelay?: number;
16
- /** The max number of times to retry. */
17
- retryCount?: number;
18
- /** The timeout (in ms) for requests. */
19
- timeout?: number;
20
- /** The type of the transport. */
21
- type: TType;
22
- };
23
- export type Transport<TType extends string = string, TRpcAttributes = Record<string, any>, TRequests extends BaseRpcRequests['request'] = Requests['request']> = <TChain extends Chain | undefined = Chain>({ chain, }: {
24
- chain?: TChain;
25
- pollingInterval?: ClientConfig['pollingInterval'];
26
- retryCount?: TransportConfig['retryCount'];
27
- timeout?: TransportConfig['timeout'];
28
- }) => {
29
- config: TransportConfig<TType>;
30
- request: TRequests;
31
- value?: TRpcAttributes;
32
- };
33
- /**
34
- * @description Creates an transport intended to be used with a client.
35
- */
36
- export declare function createTransport<TType extends string, TRpcAttributes extends Record<string, any>>({ key, name, request, retryCount, retryDelay, timeout, type, }: TransportConfig<TType>, value?: TRpcAttributes): ReturnType<Transport<TType, TRpcAttributes>>;
37
- //# sourceMappingURL=createTransport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createTransport.d.ts","sourceRoot":"","sources":["../../../../src/clients/transports/createTransport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,GAAG,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,eAAe,CACzB,KAAK,SAAS,MAAM,GAAG,MAAM,EAC7B,SAAS,SAAS,eAAe,CAAC,SAAS,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,IAChE;IACF,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,gCAAgC;IAChC,GAAG,EAAE,MAAM,CAAA;IACX,4EAA4E;IAC5E,OAAO,EAAE,SAAS,CAAA;IAClB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,wCAAwC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iCAAiC;IACjC,IAAI,EAAE,KAAK,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,SAAS,CACnB,KAAK,SAAS,MAAM,GAAG,MAAM,EAC7B,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACpC,SAAS,SAAS,eAAe,CAAC,SAAS,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,IAChE,CAAC,MAAM,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,EAAE,EAC7C,KAAK,GACN,EAAE;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAA;IACjD,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;IAC1C,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CACrC,KAAK;IACJ,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;IAC9B,OAAO,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,cAAc,CAAA;CACvB,CAAA;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC7B,KAAK,SAAS,MAAM,EACpB,cAAc,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAE1C,EACE,GAAG,EACH,IAAI,EACJ,OAAO,EACP,UAAc,EACd,UAAgB,EAChB,OAAO,EACP,IAAI,GACL,EAAE,eAAe,CAAC,KAAK,CAAC,EACzB,KAAK,CAAC,EAAE,cAAc,GACrB,UAAU,CAAC,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAM9C"}
@@ -1,21 +0,0 @@
1
- import type { BaseRpcRequests, Transport, TransportConfig } from './createTransport.js';
2
- type EthereumProvider = {
3
- request: BaseRpcRequests['request'];
4
- };
5
- export type CustomTransportConfig = {
6
- /** The key of the transport. */
7
- key?: TransportConfig['key'];
8
- /** The name of the transport. */
9
- name?: TransportConfig['name'];
10
- /** The max number of times to retry. */
11
- retryCount?: TransportConfig['retryCount'];
12
- /** The base delay (in ms) between retries. */
13
- retryDelay?: TransportConfig['retryDelay'];
14
- };
15
- export type CustomTransport = Transport<'custom', EthereumProvider['request']>;
16
- /**
17
- * @description Creates a custom transport given an EIP-1193 compliant `request` attribute.
18
- */
19
- export declare function custom<TProvider extends EthereumProvider>(provider: TProvider, config?: CustomTransportConfig): CustomTransport;
20
- export {};
21
- //# sourceMappingURL=custom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom.d.ts","sourceRoot":"","sources":["../../../../src/clients/transports/custom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,SAAS,EACT,eAAe,EAChB,MAAM,sBAAsB,CAAA;AAG7B,KAAK,gBAAgB,GAAG;IAAE,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CAAE,CAAA;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,gCAAgC;IAChC,GAAG,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;IAC5B,iCAAiC;IACjC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,wCAAwC;IACxC,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;IAC1C,8CAA8C;IAC9C,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,QAAQ,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAA;AAE9E;;GAEG;AACH,wBAAgB,MAAM,CAAC,SAAS,SAAS,gBAAgB,EACvD,QAAQ,EAAE,SAAS,EACnB,MAAM,GAAE,qBAA0B,GACjC,eAAe,CAWjB"}
@@ -1,75 +0,0 @@
1
- import type { Chain } from '../../types/index.js';
2
- import type { Transport, TransportConfig } from './createTransport.js';
3
- export type OnResponseFn = (args: {
4
- method: string;
5
- params: unknown[];
6
- transport: ReturnType<Transport>;
7
- } & ({
8
- error?: never;
9
- response: unknown;
10
- status: 'success';
11
- } | {
12
- error: Error;
13
- response?: never;
14
- status: 'error';
15
- })) => void;
16
- type RankOptions = {
17
- /**
18
- * The polling interval (in ms) at which the ranker should ping the RPC URL.
19
- * @default client.pollingInterval
20
- */
21
- interval?: number;
22
- /**
23
- * The number of previous samples to perform ranking on.
24
- * @default 10
25
- */
26
- sampleCount?: number;
27
- /**
28
- * Timeout when sampling transports.
29
- * @default 1_000
30
- */
31
- timeout?: number;
32
- /**
33
- * Weights to apply to the scores. Weight values are proportional.
34
- */
35
- weights?: {
36
- /**
37
- * The weight to apply to the latency score.
38
- * @default 0.3
39
- */
40
- latency?: number;
41
- /**
42
- * The weight to apply to the stability score.
43
- * @default 0.7
44
- */
45
- stability?: number;
46
- };
47
- };
48
- export type FallbackTransportConfig = {
49
- /** The key of the Fallback transport. */
50
- key?: TransportConfig['key'];
51
- /** The name of the Fallback transport. */
52
- name?: TransportConfig['name'];
53
- /** Toggle to enable ranking, or rank options. */
54
- rank?: boolean | RankOptions;
55
- /** The max number of times to retry. */
56
- retryCount?: TransportConfig['retryCount'];
57
- /** The base delay (in ms) between retries. */
58
- retryDelay?: TransportConfig['retryDelay'];
59
- };
60
- export type FallbackTransport = Transport<'fallback', {
61
- onResponse: (fn: OnResponseFn) => void;
62
- transports: ReturnType<Transport>[];
63
- }>;
64
- export declare function fallback(transports_: Transport[], config?: FallbackTransportConfig): FallbackTransport;
65
- export declare function rankTransports({ chain, interval, onTransports, sampleCount, timeout, transports, weights, }: {
66
- chain?: Chain;
67
- interval: RankOptions['interval'];
68
- onTransports: (transports: Transport[]) => void;
69
- sampleCount?: RankOptions['sampleCount'];
70
- timeout?: RankOptions['timeout'];
71
- transports: Transport[];
72
- weights?: RankOptions['weights'];
73
- }): void;
74
- export {};
75
- //# sourceMappingURL=fallback.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fallback.d.ts","sourceRoot":"","sources":["../../../../src/clients/transports/fallback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAGjD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAItE,MAAM,MAAM,YAAY,GAAG,CACzB,IAAI,EAAE;IACJ,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,OAAO,EAAE,CAAA;IACjB,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,CAAA;CACjC,GAAG,CACA;IACE,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,SAAS,CAAA;CAClB,GACD;IACE,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;CAChB,CACJ,KACE,IAAI,CAAA;AAET,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB;;;WAGG;QACH,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,yCAAyC;IACzC,GAAG,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;IAC5B,0CAA0C;IAC1C,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,iDAAiD;IACjD,IAAI,CAAC,EAAE,OAAO,GAAG,WAAW,CAAA;IAC5B,wCAAwC;IACxC,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;IAC1C,8CAA8C;IAC9C,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,CACvC,UAAU,EACV;IACE,UAAU,EAAE,CAAC,EAAE,EAAE,YAAY,KAAK,IAAI,CAAA;IACtC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC,EAAE,CAAA;CACpC,CACF,CAAA;AAED,wBAAgB,QAAQ,CACtB,WAAW,EAAE,SAAS,EAAE,EACxB,MAAM,GAAE,uBAA4B,GACnC,iBAAiB,CAiFnB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAgB,EAChB,YAAY,EACZ,WAAgB,EAChB,OAAe,EACf,UAAU,EACV,OAAY,GACb,EAAE;IACD,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAA;IACjC,YAAY,EAAE,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,IAAI,CAAA;IAC/C,WAAW,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,CAAA;IACxC,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IAChC,UAAU,EAAE,SAAS,EAAE,CAAA;IACvB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;CACjC,QAwEA"}
@@ -1,29 +0,0 @@
1
- import type { HttpOptions } from '../../utils/index.js';
2
- import type { Transport, TransportConfig } from './createTransport.js';
3
- export type HttpTransportConfig = {
4
- /**
5
- * Request configuration to pass to `fetch`.
6
- * @link https://developer.mozilla.org/en-US/docs/Web/API/fetch
7
- */
8
- fetchOptions?: HttpOptions['fetchOptions'];
9
- /** The key of the HTTP transport. */
10
- key?: TransportConfig['key'];
11
- /** The name of the HTTP transport. */
12
- name?: TransportConfig['name'];
13
- /** The max number of times to retry. */
14
- retryCount?: TransportConfig['retryCount'];
15
- /** The base delay (in ms) between retries. */
16
- retryDelay?: TransportConfig['retryDelay'];
17
- /** The timeout (in ms) for the HTTP request. Default: 10_000 */
18
- timeout?: TransportConfig['timeout'];
19
- };
20
- export type HttpTransport = Transport<'http', {
21
- url?: string;
22
- }>;
23
- /**
24
- * @description Creates a HTTP transport that connects to a JSON-RPC API.
25
- */
26
- export declare function http(
27
- /** URL of the JSON-RPC API. Defaults to the chain's public RPC URL. */
28
- url?: string, config?: HttpTransportConfig): HttpTransport;
29
- //# sourceMappingURL=http.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../src/clients/transports/http.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;IAC1C,qCAAqC;IACrC,GAAG,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAA;IAC5B,sCAAsC;IACtC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,wCAAwC;IACxC,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;IAC1C,8CAA8C;IAC9C,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAA;IAC1C,gEAAgE;IAChE,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,SAAS,CACnC,MAAM,EACN;IACE,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CACF,CAAA;AAED;;GAEG;AACH,wBAAgB,IAAI;AAClB,uEAAuE;AACvE,GAAG,CAAC,EAAE,MAAM,EACZ,MAAM,GAAE,mBAAwB,GAC/B,aAAa,CAqCf"}
@@ -1,11 +0,0 @@
1
- export { createTransport } from './createTransport.js';
2
- export type { Transport, TransportConfig } from './createTransport.js';
3
- export { custom } from './custom.js';
4
- export type { CustomTransport, CustomTransportConfig, } from './custom.js';
5
- export { fallback } from './fallback.js';
6
- export type { FallbackTransport, FallbackTransportConfig } from './fallback.js';
7
- export { http } from './http.js';
8
- export type { HttpTransport, HttpTransportConfig } from './http.js';
9
- export { webSocket } from './webSocket.js';
10
- export type { WebSocketTransport, WebSocketTransportConfig, } from './webSocket.js';
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/clients/transports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,YAAY,EACV,eAAe,EACf,qBAAqB,GACtB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,YAAY,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAE/E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,YAAY,EACV,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,gBAAgB,CAAA"}