viem 2.9.22 → 2.9.24

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 (227) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/_cjs/accounts/privateKeyToAccount.js +4 -0
  3. package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
  4. package/_cjs/accounts/toAccount.js +1 -0
  5. package/_cjs/accounts/toAccount.js.map +1 -1
  6. package/_cjs/actions/public/watchBlockNumber.js +20 -2
  7. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  8. package/_cjs/actions/public/watchBlocks.js +20 -2
  9. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  10. package/_cjs/actions/public/watchContractEvent.js +22 -4
  11. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  12. package/_cjs/actions/public/watchEvent.js +22 -4
  13. package/_cjs/actions/public/watchEvent.js.map +1 -1
  14. package/_cjs/chains/definitions/cyberTestnet.js +29 -0
  15. package/_cjs/chains/definitions/cyberTestnet.js.map +1 -0
  16. package/_cjs/chains/definitions/dreyerxMainnet.js +25 -0
  17. package/_cjs/chains/definitions/dreyerxMainnet.js.map +1 -0
  18. package/_cjs/chains/index.js +9 -5
  19. package/_cjs/chains/index.js.map +1 -1
  20. package/_cjs/clients/transports/fallback.js +2 -2
  21. package/_cjs/clients/transports/fallback.js.map +1 -1
  22. package/_cjs/errors/version.js +1 -1
  23. package/_cjs/experimental/eip3074/actions/signAuthMessage.js +18 -0
  24. package/_cjs/experimental/eip3074/actions/signAuthMessage.js.map +1 -0
  25. package/_cjs/experimental/eip3074/decorators/eip3074.js +13 -0
  26. package/_cjs/experimental/eip3074/decorators/eip3074.js.map +1 -0
  27. package/_cjs/experimental/eip3074/utils/recoverAuthMessageAddress.js +12 -0
  28. package/_cjs/experimental/eip3074/utils/recoverAuthMessageAddress.js.map +1 -0
  29. package/_cjs/experimental/eip3074/utils/signAuthMessage.js +17 -0
  30. package/_cjs/experimental/eip3074/utils/signAuthMessage.js.map +1 -0
  31. package/_cjs/experimental/eip3074/utils/toAuthMessage.js +17 -0
  32. package/_cjs/experimental/eip3074/utils/toAuthMessage.js.map +1 -0
  33. package/_cjs/experimental/eip3074/utils/verifyAuthMessage.js +11 -0
  34. package/_cjs/experimental/eip3074/utils/verifyAuthMessage.js.map +1 -0
  35. package/_cjs/experimental/{actions → eip5792/actions}/getCallsStatus.js +2 -2
  36. package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +1 -0
  37. package/_cjs/experimental/{actions → eip5792/actions}/getCapabilities.js +2 -2
  38. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -0
  39. package/_cjs/experimental/{actions → eip5792/actions}/sendCalls.js +6 -6
  40. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -0
  41. package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +1 -0
  42. package/_cjs/experimental/{actions → eip5792/actions}/writeContracts.js +1 -1
  43. package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -0
  44. package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -0
  45. package/_cjs/experimental/index.js +15 -7
  46. package/_cjs/experimental/index.js.map +1 -1
  47. package/_cjs/utils/signature/hexToSignature.js.map +1 -1
  48. package/_esm/accounts/privateKeyToAccount.js +4 -0
  49. package/_esm/accounts/privateKeyToAccount.js.map +1 -1
  50. package/_esm/accounts/toAccount.js +1 -0
  51. package/_esm/accounts/toAccount.js.map +1 -1
  52. package/_esm/actions/public/verifyHash.js +1 -1
  53. package/_esm/actions/public/waitForTransactionReceipt.js +1 -1
  54. package/_esm/actions/public/watchBlockNumber.js +20 -2
  55. package/_esm/actions/public/watchBlockNumber.js.map +1 -1
  56. package/_esm/actions/public/watchBlocks.js +20 -2
  57. package/_esm/actions/public/watchBlocks.js.map +1 -1
  58. package/_esm/actions/public/watchContractEvent.js +22 -4
  59. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  60. package/_esm/actions/public/watchEvent.js +22 -4
  61. package/_esm/actions/public/watchEvent.js.map +1 -1
  62. package/_esm/chains/definitions/cyberTestnet.js +26 -0
  63. package/_esm/chains/definitions/cyberTestnet.js.map +1 -0
  64. package/_esm/chains/definitions/dreyerxMainnet.js +22 -0
  65. package/_esm/chains/definitions/dreyerxMainnet.js.map +1 -0
  66. package/_esm/chains/index.js +2 -0
  67. package/_esm/chains/index.js.map +1 -1
  68. package/_esm/clients/transports/fallback.js +2 -2
  69. package/_esm/clients/transports/fallback.js.map +1 -1
  70. package/_esm/errors/version.js +1 -1
  71. package/_esm/experimental/eip3074/actions/signAuthMessage.js +69 -0
  72. package/_esm/experimental/eip3074/actions/signAuthMessage.js.map +1 -0
  73. package/_esm/experimental/eip3074/decorators/eip3074.js +26 -0
  74. package/_esm/experimental/eip3074/decorators/eip3074.js.map +1 -0
  75. package/_esm/experimental/eip3074/utils/recoverAuthMessageAddress.js +8 -0
  76. package/_esm/experimental/eip3074/utils/recoverAuthMessageAddress.js.map +1 -0
  77. package/_esm/experimental/eip3074/utils/signAuthMessage.js +16 -0
  78. package/_esm/experimental/eip3074/utils/signAuthMessage.js.map +1 -0
  79. package/_esm/experimental/eip3074/utils/toAuthMessage.js +17 -0
  80. package/_esm/experimental/eip3074/utils/toAuthMessage.js.map +1 -0
  81. package/_esm/experimental/eip3074/utils/verifyAuthMessage.js +13 -0
  82. package/_esm/experimental/eip3074/utils/verifyAuthMessage.js.map +1 -0
  83. package/_esm/experimental/{actions → eip5792/actions}/getCallsStatus.js +3 -3
  84. package/_esm/experimental/eip5792/actions/getCallsStatus.js.map +1 -0
  85. package/_esm/experimental/{actions → eip5792/actions}/getCapabilities.js +3 -3
  86. package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -0
  87. package/_esm/experimental/{actions → eip5792/actions}/sendCalls.js +7 -7
  88. package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -0
  89. package/_esm/experimental/{actions → eip5792/actions}/showCallsStatus.js +1 -1
  90. package/_esm/experimental/eip5792/actions/showCallsStatus.js.map +1 -0
  91. package/_esm/experimental/{actions → eip5792/actions}/writeContracts.js +2 -2
  92. package/_esm/experimental/eip5792/actions/writeContracts.js.map +1 -0
  93. package/_esm/experimental/eip5792/decorators/eip5792.js.map +1 -0
  94. package/_esm/experimental/index.js +10 -6
  95. package/_esm/experimental/index.js.map +1 -1
  96. package/_esm/utils/signature/hexToSignature.js.map +1 -1
  97. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
  98. package/_types/accounts/toAccount.d.ts.map +1 -1
  99. package/_types/accounts/types.d.ts +5 -3
  100. package/_types/accounts/types.d.ts.map +1 -1
  101. package/_types/actions/public/verifyHash.d.ts +1 -1
  102. package/_types/actions/public/waitForTransactionReceipt.d.ts +1 -1
  103. package/_types/actions/public/watchBlockNumber.d.ts +2 -2
  104. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
  105. package/_types/actions/public/watchBlocks.d.ts +2 -2
  106. package/_types/actions/public/watchBlocks.d.ts.map +1 -1
  107. package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
  108. package/_types/actions/public/watchEvent.d.ts.map +1 -1
  109. package/_types/celo/chainConfig.d.ts +114 -114
  110. package/_types/celo/formatters.d.ts +57 -57
  111. package/_types/chains/definitions/ancient8.d.ts +45 -45
  112. package/_types/chains/definitions/ancient8Sepolia.d.ts +45 -45
  113. package/_types/chains/definitions/base.d.ts +45 -45
  114. package/_types/chains/definitions/baseGoerli.d.ts +45 -45
  115. package/_types/chains/definitions/baseSepolia.d.ts +45 -45
  116. package/_types/chains/definitions/celo.d.ts +114 -114
  117. package/_types/chains/definitions/celoAlfajores.d.ts +114 -114
  118. package/_types/chains/definitions/cyberTestnet.d.ts +34 -0
  119. package/_types/chains/definitions/cyberTestnet.d.ts.map +1 -0
  120. package/_types/chains/definitions/dreyerxMainnet.d.ts +35 -0
  121. package/_types/chains/definitions/dreyerxMainnet.d.ts.map +1 -0
  122. package/_types/chains/definitions/fraxtal.d.ts +45 -45
  123. package/_types/chains/definitions/fraxtalTestnet.d.ts +45 -45
  124. package/_types/chains/definitions/liskSepolia.d.ts +45 -45
  125. package/_types/chains/definitions/optimism.d.ts +45 -45
  126. package/_types/chains/definitions/optimismGoerli.d.ts +45 -45
  127. package/_types/chains/definitions/optimismSepolia.d.ts +45 -45
  128. package/_types/chains/definitions/pgn.d.ts +45 -45
  129. package/_types/chains/definitions/pgnTestnet.d.ts +45 -45
  130. package/_types/chains/definitions/rss3.d.ts +45 -45
  131. package/_types/chains/definitions/rss3Sepolia.d.ts +45 -45
  132. package/_types/chains/definitions/zora.d.ts +45 -45
  133. package/_types/chains/definitions/zoraSepolia.d.ts +45 -45
  134. package/_types/chains/definitions/zoraTestnet.d.ts +45 -45
  135. package/_types/chains/index.d.ts +2 -0
  136. package/_types/chains/index.d.ts.map +1 -1
  137. package/_types/clients/transports/fallback.d.ts +5 -3
  138. package/_types/clients/transports/fallback.d.ts.map +1 -1
  139. package/_types/errors/version.d.ts +1 -1
  140. package/_types/experimental/eip3074/actions/signAuthMessage.d.ts +72 -0
  141. package/_types/experimental/eip3074/actions/signAuthMessage.d.ts.map +1 -0
  142. package/_types/experimental/eip3074/decorators/eip3074.d.ts +27 -0
  143. package/_types/experimental/eip3074/decorators/eip3074.d.ts.map +1 -0
  144. package/_types/experimental/eip3074/utils/recoverAuthMessageAddress.d.ts +12 -0
  145. package/_types/experimental/eip3074/utils/recoverAuthMessageAddress.d.ts.map +1 -0
  146. package/_types/experimental/eip3074/utils/signAuthMessage.d.ts +16 -0
  147. package/_types/experimental/eip3074/utils/signAuthMessage.d.ts.map +1 -0
  148. package/_types/experimental/eip3074/utils/toAuthMessage.d.ts +20 -0
  149. package/_types/experimental/eip3074/utils/toAuthMessage.d.ts.map +1 -0
  150. package/_types/experimental/eip3074/utils/verifyAuthMessage.d.ts +19 -0
  151. package/_types/experimental/eip3074/utils/verifyAuthMessage.d.ts.map +1 -0
  152. package/_types/experimental/{actions → eip5792/actions}/getCallsStatus.d.ts +9 -9
  153. package/_types/experimental/eip5792/actions/getCallsStatus.d.ts.map +1 -0
  154. package/_types/experimental/{actions → eip5792/actions}/getCapabilities.d.ts +9 -9
  155. package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -0
  156. package/_types/experimental/{actions → eip5792/actions}/sendCalls.d.ts +10 -10
  157. package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -0
  158. package/_types/experimental/{actions → eip5792/actions}/showCallsStatus.d.ts +7 -7
  159. package/_types/experimental/eip5792/actions/showCallsStatus.d.ts.map +1 -0
  160. package/_types/experimental/{actions → eip5792/actions}/writeContracts.d.ts +9 -9
  161. package/_types/experimental/eip5792/actions/writeContracts.d.ts.map +1 -0
  162. package/_types/experimental/{decorators → eip5792/decorators}/eip5792.d.ts +9 -9
  163. package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -0
  164. package/_types/experimental/index.d.ts +10 -6
  165. package/_types/experimental/index.d.ts.map +1 -1
  166. package/_types/op-stack/chainConfig.d.ts +45 -45
  167. package/_types/op-stack/formatters.d.ts +45 -45
  168. package/_types/types/transport.d.ts +6 -1
  169. package/_types/types/transport.d.ts.map +1 -1
  170. package/_types/types/utils.d.ts +11 -0
  171. package/_types/types/utils.d.ts.map +1 -1
  172. package/_types/utils/formatters/transaction.d.ts +1 -1
  173. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  174. package/_types/utils/signature/hexToSignature.d.ts +7 -2
  175. package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
  176. package/accounts/privateKeyToAccount.ts +5 -1
  177. package/accounts/toAccount.ts +1 -0
  178. package/accounts/types.ts +12 -5
  179. package/actions/public/verifyHash.ts +1 -1
  180. package/actions/public/waitForTransactionReceipt.ts +1 -1
  181. package/actions/public/watchBlockNumber.ts +36 -17
  182. package/actions/public/watchBlocks.ts +25 -5
  183. package/actions/public/watchContractEvent.ts +66 -48
  184. package/actions/public/watchEvent.ts +24 -5
  185. package/chains/definitions/cyberTestnet.ts +26 -0
  186. package/chains/definitions/dreyerxMainnet.ts +22 -0
  187. package/chains/index.ts +2 -0
  188. package/clients/transports/fallback.ts +16 -13
  189. package/errors/version.ts +1 -1
  190. package/experimental/eip3074/actions/signAuthMessage.ts +103 -0
  191. package/experimental/eip3074/decorators/eip3074.ts +51 -0
  192. package/experimental/eip3074/utils/recoverAuthMessageAddress.ts +29 -0
  193. package/experimental/eip3074/utils/signAuthMessage.ts +40 -0
  194. package/experimental/eip3074/utils/toAuthMessage.ts +50 -0
  195. package/experimental/eip3074/utils/verifyAuthMessage.ts +46 -0
  196. package/experimental/{actions → eip5792/actions}/getCallsStatus.ts +11 -11
  197. package/experimental/{actions → eip5792/actions}/getCapabilities.ts +11 -11
  198. package/experimental/{actions → eip5792/actions}/sendCalls.ts +17 -17
  199. package/experimental/{actions → eip5792/actions}/showCallsStatus.ts +7 -7
  200. package/experimental/{actions → eip5792/actions}/writeContracts.ts +9 -9
  201. package/experimental/{decorators → eip5792/decorators}/eip5792.ts +9 -9
  202. package/experimental/index.ts +29 -7
  203. package/package.json +1 -1
  204. package/types/transport.ts +16 -1
  205. package/types/utils.ts +16 -0
  206. package/utils/signature/hexToSignature.ts +2 -2
  207. package/_cjs/experimental/actions/getCallsStatus.js.map +0 -1
  208. package/_cjs/experimental/actions/getCapabilities.js.map +0 -1
  209. package/_cjs/experimental/actions/sendCalls.js.map +0 -1
  210. package/_cjs/experimental/actions/showCallsStatus.js.map +0 -1
  211. package/_cjs/experimental/actions/writeContracts.js.map +0 -1
  212. package/_cjs/experimental/decorators/eip5792.js.map +0 -1
  213. package/_esm/experimental/actions/getCallsStatus.js.map +0 -1
  214. package/_esm/experimental/actions/getCapabilities.js.map +0 -1
  215. package/_esm/experimental/actions/sendCalls.js.map +0 -1
  216. package/_esm/experimental/actions/showCallsStatus.js.map +0 -1
  217. package/_esm/experimental/actions/writeContracts.js.map +0 -1
  218. package/_esm/experimental/decorators/eip5792.js.map +0 -1
  219. package/_types/experimental/actions/getCallsStatus.d.ts.map +0 -1
  220. package/_types/experimental/actions/getCapabilities.d.ts.map +0 -1
  221. package/_types/experimental/actions/sendCalls.d.ts.map +0 -1
  222. package/_types/experimental/actions/showCallsStatus.d.ts.map +0 -1
  223. package/_types/experimental/actions/writeContracts.d.ts.map +0 -1
  224. package/_types/experimental/decorators/eip5792.d.ts.map +0 -1
  225. /package/_cjs/experimental/{actions → eip5792/actions}/showCallsStatus.js +0 -0
  226. /package/_cjs/experimental/{decorators → eip5792/decorators}/eip5792.js +0 -0
  227. /package/_esm/experimental/{decorators → eip5792/decorators}/eip5792.js +0 -0
@@ -0,0 +1,46 @@
1
+ import type { Address } from 'abitype'
2
+
3
+ import type { ErrorType } from '../../../errors/utils.js'
4
+ import {
5
+ type GetAddressErrorType,
6
+ getAddress,
7
+ } from '../../../utils/address/getAddress.js'
8
+ import {
9
+ type IsAddressEqualErrorType,
10
+ isAddressEqual,
11
+ } from '../../../utils/address/isAddressEqual.js'
12
+ import {
13
+ type RecoverAuthMessageAddressErrorType,
14
+ type RecoverAuthMessageAddressParameters,
15
+ recoverAuthMessageAddress,
16
+ } from './recoverAuthMessageAddress.js'
17
+
18
+ export type VerifyAuthMessageParameters =
19
+ RecoverAuthMessageAddressParameters & {
20
+ /** The address that signed the original auth message. */
21
+ address: Address
22
+ }
23
+
24
+ export type VerifyAuthMessageReturnType = boolean
25
+
26
+ export type VerifyAuthMessageErrorType =
27
+ | IsAddressEqualErrorType
28
+ | GetAddressErrorType
29
+ | RecoverAuthMessageAddressErrorType
30
+ | ErrorType
31
+
32
+ /**
33
+ * Verify that a auth message was signed by the provided address.
34
+ *
35
+ * @param parameters - {@link VerifyAuthMessageParameters}
36
+ * @returns Whether or not the signature is valid. {@link VerifyAuthMessageReturnType}
37
+ */
38
+ export async function verifyAuthMessage({
39
+ address,
40
+ ...parameters
41
+ }: VerifyAuthMessageParameters): Promise<VerifyAuthMessageReturnType> {
42
+ return isAddressEqual(
43
+ getAddress(address),
44
+ await recoverAuthMessageAddress(parameters),
45
+ )
46
+ }
@@ -1,13 +1,13 @@
1
- import type { Client } from '../../clients/createClient.js'
2
- import type { Transport } from '../../clients/transports/createTransport.js'
3
- import type { ErrorType } from '../../errors/utils.js'
4
- import type { Account } from '../../types/account.js'
5
- import type { Chain } from '../../types/chain.js'
6
- import type { WalletGetCallsStatusReturnType } from '../../types/eip1193.js'
7
- import type { Prettify } from '../../types/utils.js'
8
- import type { RequestErrorType } from '../../utils/buildRequest.js'
9
- import { hexToBigInt } from '../../utils/encoding/fromHex.js'
10
- import { receiptStatuses } from '../../utils/formatters/transactionReceipt.js'
1
+ import type { Client } from '../../../clients/createClient.js'
2
+ import type { Transport } from '../../../clients/transports/createTransport.js'
3
+ import type { ErrorType } from '../../../errors/utils.js'
4
+ import type { Account } from '../../../types/account.js'
5
+ import type { Chain } from '../../../types/chain.js'
6
+ import type { WalletGetCallsStatusReturnType } from '../../../types/eip1193.js'
7
+ import type { Prettify } from '../../../types/utils.js'
8
+ import type { RequestErrorType } from '../../../utils/buildRequest.js'
9
+ import { hexToBigInt } from '../../../utils/encoding/fromHex.js'
10
+ import { receiptStatuses } from '../../../utils/formatters/transactionReceipt.js'
11
11
 
12
12
  export type GetCallsStatusParameters = { id: string }
13
13
 
@@ -20,7 +20,7 @@ export type GetCallsStatusErrorType = RequestErrorType | ErrorType
20
20
  /**
21
21
  * Returns the status of a call batch that was sent via `sendCalls`.
22
22
  *
23
- * - Docs: https://viem.sh/experimental/actions/getCallsStatus
23
+ * - Docs: https://viem.sh/experimental/eip5792/getCallsStatus
24
24
  * - JSON-RPC Methods: [`wallet_getCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792)
25
25
  *
26
26
  * @param client - Client to use
@@ -1,19 +1,19 @@
1
- import type { Client } from '../../clients/createClient.js'
2
- import type { Transport } from '../../clients/transports/createTransport.js'
3
- import { AccountNotFoundError } from '../../errors/account.js'
4
- import type { ErrorType } from '../../errors/utils.js'
1
+ import type { Client } from '../../../clients/createClient.js'
2
+ import type { Transport } from '../../../clients/transports/createTransport.js'
3
+ import { AccountNotFoundError } from '../../../errors/account.js'
4
+ import type { ErrorType } from '../../../errors/utils.js'
5
5
  import type {
6
6
  GetAccountParameter,
7
7
  JsonRpcAccount,
8
- } from '../../types/account.js'
9
- import type { Chain } from '../../types/chain.js'
8
+ } from '../../../types/account.js'
9
+ import type { Chain } from '../../../types/chain.js'
10
10
  import type {
11
11
  WalletCapabilities,
12
12
  WalletCapabilitiesRecord,
13
- } from '../../types/eip1193.js'
14
- import type { Prettify } from '../../types/utils.js'
15
- import { parseAccount } from '../../utils/accounts.js'
16
- import type { RequestErrorType } from '../../utils/buildRequest.js'
13
+ } from '../../../types/eip1193.js'
14
+ import type { Prettify } from '../../../types/utils.js'
15
+ import { parseAccount } from '../../../utils/accounts.js'
16
+ import type { RequestErrorType } from '../../../utils/buildRequest.js'
17
17
 
18
18
  export type GetCapabilitiesParameters<
19
19
  account extends JsonRpcAccount | undefined = JsonRpcAccount | undefined,
@@ -28,7 +28,7 @@ export type GetCapabilitiesErrorType = RequestErrorType | ErrorType
28
28
  /**
29
29
  * Extract capabilities that a connected wallet supports (e.g. paymasters, session keys, etc).
30
30
  *
31
- * - Docs: https://viem.sh/experimental/actions/getCapabilities
31
+ * - Docs: https://viem.sh/experimental/eip5792/getCapabilities
32
32
  * - JSON-RPC Methods: [`wallet_getCapabilities`](https://eips.ethereum.org/EIPS/eip-5792)
33
33
  *
34
34
  * @param client - Client to use
@@ -1,21 +1,21 @@
1
- import type { Client } from '../../clients/createClient.js'
2
- import type { Transport } from '../../clients/transports/createTransport.js'
3
- import { AccountNotFoundError } from '../../errors/account.js'
4
- import type { BaseError } from '../../errors/base.js'
5
- import { ChainNotFoundError } from '../../errors/chain.js'
6
- import type { ErrorType } from '../../errors/utils.js'
7
- import type { Account, GetAccountParameter } from '../../types/account.js'
8
- import type { Chain, GetChainParameter } from '../../types/chain.js'
1
+ import type { Client } from '../../../clients/createClient.js'
2
+ import type { Transport } from '../../../clients/transports/createTransport.js'
3
+ import { AccountNotFoundError } from '../../../errors/account.js'
4
+ import type { BaseError } from '../../../errors/base.js'
5
+ import { ChainNotFoundError } from '../../../errors/chain.js'
6
+ import type { ErrorType } from '../../../errors/utils.js'
7
+ import type { Account, GetAccountParameter } from '../../../types/account.js'
8
+ import type { Chain, GetChainParameter } from '../../../types/chain.js'
9
9
  import type {
10
10
  WalletCapabilities,
11
11
  WalletSendCallsParameters,
12
- } from '../../types/eip1193.js'
13
- import type { Hex } from '../../types/misc.js'
14
- import type { OneOf } from '../../types/utils.js'
15
- import { parseAccount } from '../../utils/accounts.js'
16
- import type { RequestErrorType } from '../../utils/buildRequest.js'
17
- import { numberToHex } from '../../utils/encoding/toHex.js'
18
- import { getTransactionError } from '../../utils/index.js'
12
+ } from '../../../types/eip1193.js'
13
+ import type { Hex } from '../../../types/misc.js'
14
+ import type { OneOf } from '../../../types/utils.js'
15
+ import { parseAccount } from '../../../utils/accounts.js'
16
+ import type { RequestErrorType } from '../../../utils/buildRequest.js'
17
+ import { numberToHex } from '../../../utils/encoding/toHex.js'
18
+ import { getTransactionError } from '../../../utils/index.js'
19
19
 
20
20
  export type SendCallsParameters<
21
21
  chain extends Chain | undefined = Chain | undefined,
@@ -46,7 +46,7 @@ export type SendCallsErrorType = RequestErrorType | ErrorType
46
46
  /**
47
47
  * Requests the connected wallet to send a batch of calls.
48
48
  *
49
- * - Docs: https://viem.sh/experimental/actions/sendCalls
49
+ * - Docs: https://viem.sh/experimental/eip5792/sendCalls
50
50
  * - JSON-RPC Methods: [`wallet_sendCalls`](https://eips.ethereum.org/EIPS/eip-5792)
51
51
  *
52
52
  * @param client - Client to use
@@ -93,7 +93,7 @@ export async function sendCalls<
93
93
 
94
94
  if (!account_)
95
95
  throw new AccountNotFoundError({
96
- docsPath: '/experimental/actions/sendCalls',
96
+ docsPath: '/experimental/eip5792/sendCalls',
97
97
  })
98
98
  const account = parseAccount(account_)
99
99
 
@@ -1,9 +1,9 @@
1
- import type { Client } from '../../clients/createClient.js'
2
- import type { Transport } from '../../clients/transports/createTransport.js'
3
- import type { ErrorType } from '../../errors/utils.js'
4
- import type { Account } from '../../types/account.js'
5
- import type { Chain } from '../../types/chain.js'
6
- import type { RequestErrorType } from '../../utils/buildRequest.js'
1
+ import type { Client } from '../../../clients/createClient.js'
2
+ import type { Transport } from '../../../clients/transports/createTransport.js'
3
+ import type { ErrorType } from '../../../errors/utils.js'
4
+ import type { Account } from '../../../types/account.js'
5
+ import type { Chain } from '../../../types/chain.js'
6
+ import type { RequestErrorType } from '../../../utils/buildRequest.js'
7
7
 
8
8
  export type ShowCallsStatusParameters = { id: string }
9
9
 
@@ -15,7 +15,7 @@ export type ShowCallsStatusErrorType = RequestErrorType | ErrorType
15
15
  * Requests for the wallet to show information about a call batch
16
16
  * that was sent via `sendCalls`.
17
17
  *
18
- * - Docs: https://viem.sh/experimental/actions/showCallsStatus
18
+ * - Docs: https://viem.sh/experimental/eip5792/showCallsStatus
19
19
  * - JSON-RPC Methods: [`wallet_showCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792)
20
20
  *
21
21
  * @param client - Client to use
@@ -1,16 +1,16 @@
1
1
  import type { AbiStateMutability, Narrow } from 'abitype'
2
2
 
3
- import type { Client } from '../../clients/createClient.js'
4
- import type { Transport } from '../../clients/transports/createTransport.js'
5
- import type { ErrorType } from '../../errors/utils.js'
6
- import type { Account, GetAccountParameter } from '../../types/account.js'
7
- import type { Chain, GetChainParameter } from '../../types/chain.js'
8
- import type { ContractFunctionParameters } from '../../types/contract.js'
9
- import type { MulticallContracts } from '../../types/multicall.js'
3
+ import type { Client } from '../../../clients/createClient.js'
4
+ import type { Transport } from '../../../clients/transports/createTransport.js'
5
+ import type { ErrorType } from '../../../errors/utils.js'
6
+ import type { Account, GetAccountParameter } from '../../../types/account.js'
7
+ import type { Chain, GetChainParameter } from '../../../types/chain.js'
8
+ import type { ContractFunctionParameters } from '../../../types/contract.js'
9
+ import type { MulticallContracts } from '../../../types/multicall.js'
10
10
  import {
11
11
  type EncodeFunctionDataErrorType,
12
12
  encodeFunctionData,
13
- } from '../../utils/abi/encodeFunctionData.js'
13
+ } from '../../../utils/abi/encodeFunctionData.js'
14
14
  import {
15
15
  type SendCallsErrorType,
16
16
  type SendCallsParameters,
@@ -44,7 +44,7 @@ export type WriteContractsErrorType =
44
44
  /**
45
45
  * Requests for the wallet to sign and broadcast a batch of write contract calls (transactions) to the network.
46
46
  *
47
- * - Docs: https://viem.sh/experimental/actions/writeContracts
47
+ * - Docs: https://viem.sh/experimental/eip5792/writeContracts
48
48
  *
49
49
  * @param client - Client to use
50
50
  * @param parameters - {@link WriteContractsParameters}
@@ -1,7 +1,7 @@
1
- import type { Client } from '../../clients/createClient.js'
2
- import type { Transport } from '../../clients/transports/createTransport.js'
3
- import type { Account, JsonRpcAccount } from '../../types/account.js'
4
- import type { Chain } from '../../types/chain.js'
1
+ import type { Client } from '../../../clients/createClient.js'
2
+ import type { Transport } from '../../../clients/transports/createTransport.js'
3
+ import type { Account, JsonRpcAccount } from '../../../types/account.js'
4
+ import type { Chain } from '../../../types/chain.js'
5
5
  import {
6
6
  type GetCallsStatusParameters,
7
7
  type GetCallsStatusReturnType,
@@ -35,7 +35,7 @@ export type WalletActionsEip5792<
35
35
  /**
36
36
  * Returns the status of a call batch that was sent via `sendCalls`.
37
37
  *
38
- * - Docs: https://viem.sh/experimental/actions/getCallsStatus
38
+ * - Docs: https://viem.sh/experimental/eip5792/getCallsStatus
39
39
  * - JSON-RPC Methods: [`wallet_getCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792)
40
40
  *
41
41
  * @param client - Client to use
@@ -59,7 +59,7 @@ export type WalletActionsEip5792<
59
59
  /**
60
60
  * Extract capabilities that a connected wallet supports (e.g. paymasters, session keys, etc).
61
61
  *
62
- * - Docs: https://viem.sh/experimental/actions/getCapabilities
62
+ * - Docs: https://viem.sh/experimental/eip5792/getCapabilities
63
63
  * - JSON-RPC Methods: [`wallet_getCapabilities`](https://eips.ethereum.org/EIPS/eip-5792)
64
64
  *
65
65
  * @param client - Client to use
@@ -87,7 +87,7 @@ export type WalletActionsEip5792<
87
87
  /**
88
88
  * Requests the connected wallet to send a batch of calls.
89
89
  *
90
- * - Docs: https://viem.sh/experimental/actions/sendCalls
90
+ * - Docs: https://viem.sh/experimental/eip5792/sendCalls
91
91
  * - JSON-RPC Methods: [`wallet_sendCalls`](https://eips.ethereum.org/EIPS/eip-5792)
92
92
  *
93
93
  * @param client - Client to use
@@ -124,7 +124,7 @@ export type WalletActionsEip5792<
124
124
  * Requests for the wallet to show information about a call batch
125
125
  * that was sent via `sendCalls`.
126
126
  *
127
- * - Docs: https://viem.sh/experimental/actions/showCallsStatus
127
+ * - Docs: https://viem.sh/experimental/eip5792/showCallsStatus
128
128
  * - JSON-RPC Methods: [`wallet_showCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792)
129
129
  *
130
130
  * @param client - Client to use
@@ -148,7 +148,7 @@ export type WalletActionsEip5792<
148
148
  /**
149
149
  * Requests for the wallet to sign and broadcast a batch of write contract calls (transactions) to the network.
150
150
  *
151
- * - Docs: https://viem.sh/experimental/actions/writeContracts
151
+ * - Docs: https://viem.sh/experimental/eip5792/writeContracts
152
152
  *
153
153
  * @param client - Client to use
154
154
  * @param parameters - {@link WriteContractsParameters}
@@ -1,34 +1,56 @@
1
+ export {
2
+ type SignAuthMessageErrorType,
3
+ type SignAuthMessageParameters,
4
+ type SignAuthMessageReturnType,
5
+ signAuthMessage,
6
+ } from './eip3074/actions/signAuthMessage.js'
7
+ export {
8
+ type RecoverAuthMessageAddressParameters,
9
+ type RecoverAuthMessageAddressReturnType,
10
+ type RecoverAuthMessageAddressErrorType,
11
+ recoverAuthMessageAddress,
12
+ } from './eip3074/utils/recoverAuthMessageAddress.js'
13
+ export {
14
+ type VerifyAuthMessageParameters,
15
+ type VerifyAuthMessageReturnType,
16
+ type VerifyAuthMessageErrorType,
17
+ verifyAuthMessage,
18
+ } from './eip3074/utils/verifyAuthMessage.js'
19
+ export {
20
+ type WalletActionsEip3074,
21
+ walletActionsEip3074,
22
+ } from './eip3074/decorators/eip3074.js'
23
+
1
24
  export {
2
25
  type GetCapabilitiesErrorType,
3
26
  type GetCapabilitiesReturnType,
4
27
  getCapabilities,
5
- } from './actions/getCapabilities.js'
28
+ } from './eip5792/actions/getCapabilities.js'
6
29
  export {
7
30
  type SendCallsErrorType,
8
31
  type SendCallsParameters,
9
32
  type SendCallsReturnType,
10
33
  sendCalls,
11
- } from './actions/sendCalls.js'
34
+ } from './eip5792/actions/sendCalls.js'
12
35
  export {
13
36
  type GetCallsStatusErrorType,
14
37
  type GetCallsStatusParameters,
15
38
  type GetCallsStatusReturnType,
16
39
  getCallsStatus,
17
- } from './actions/getCallsStatus.js'
40
+ } from './eip5792/actions/getCallsStatus.js'
18
41
  export {
19
42
  type ShowCallsStatusErrorType,
20
43
  type ShowCallsStatusParameters,
21
44
  type ShowCallsStatusReturnType,
22
45
  showCallsStatus,
23
- } from './actions/showCallsStatus.js'
46
+ } from './eip5792/actions/showCallsStatus.js'
24
47
  export {
25
48
  type WriteContractsErrorType,
26
49
  type WriteContractsParameters,
27
50
  type WriteContractsReturnType,
28
51
  writeContracts,
29
- } from './actions/writeContracts.js'
30
-
52
+ } from './eip5792/actions/writeContracts.js'
31
53
  export {
32
54
  type WalletActionsEip5792,
33
55
  walletActionsEip5792,
34
- } from './decorators/eip5792.js'
56
+ } from './eip5792/decorators/eip5792.js'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
- "version": "2.9.22",
4
+ "version": "2.9.24",
5
5
  "main": "./_cjs/index.js",
6
6
  "module": "./_esm/index.js",
7
7
  "types": "./_types/index.d.ts",
@@ -1,10 +1,12 @@
1
1
  import type { Transport } from '../clients/transports/createTransport.js'
2
+ import type { FallbackTransport } from '../clients/transports/fallback.js'
3
+ import type { Some } from './utils.js'
2
4
 
3
5
  export type GetTransportConfig<TTransport extends Transport> =
4
6
  ReturnType<TTransport>['config']
5
7
 
6
8
  export type GetPollOptions<transport extends Transport> =
7
- | (GetTransportConfig<transport>['type'] extends 'webSocket'
9
+ | (HasTransportType<transport, 'webSocket'> extends true
8
10
  ? {
9
11
  batch?: undefined
10
12
  /**
@@ -28,3 +30,16 @@ export type GetPollOptions<transport extends Transport> =
28
30
  */
29
31
  pollingInterval?: number | undefined
30
32
  }
33
+
34
+ export type HasTransportType<transport extends Transport, type extends string> =
35
+ | (GetTransportConfig<transport>['type'] extends type ? true : never)
36
+ | (transport extends FallbackTransport<infer transports extends Transport[]>
37
+ ? Some<
38
+ {
39
+ [key in keyof transports]: GetTransportConfig<
40
+ transports[key]
41
+ >['type']
42
+ },
43
+ type
44
+ >
45
+ : false)
package/types/utils.ts CHANGED
@@ -191,6 +191,22 @@ export type Prettify<T> = {
191
191
  export type RequiredBy<T, K extends keyof T> = Omit<T, K> &
192
192
  ExactRequired<Pick<T, K>>
193
193
 
194
+ /**
195
+ * @description Returns truthy if `array` contains `value`.
196
+ *
197
+ * @example
198
+ * Some<[1, 2, 3], 2>
199
+ * => true
200
+ */
201
+ export type Some<array extends unknown[], value> = array extends [
202
+ value,
203
+ ...unknown[],
204
+ ]
205
+ ? true
206
+ : array extends [unknown, ...infer rest]
207
+ ? Some<rest, value>
208
+ : false
209
+
194
210
  /**
195
211
  * @description Creates a type that extracts the values of T.
196
212
  *
@@ -19,7 +19,7 @@ export type HexToSignatureErrorType = NumberToHexErrorType | ErrorType
19
19
  * hexToSignature('0x6e100a352ec6ad1b70802290e18aeed190704973570f3b8ed42cb9808e2ea6bf4a90a229a244495b41890987806fcbd2d5d23fc0dbe5f5256c2613c039d76db81c')
20
20
  * // { r: '0x...', s: '0x...', v: 28n }
21
21
  */
22
- export function hexToSignature(signatureHex: Hex): Signature {
22
+ export function hexToSignature(signatureHex: Hex) {
23
23
  const { r, s } = secp256k1.Signature.fromCompact(signatureHex.slice(2, 130))
24
24
  const v = BigInt(`0x${signatureHex.slice(130)}`)
25
25
  return {
@@ -27,5 +27,5 @@ export function hexToSignature(signatureHex: Hex): Signature {
27
27
  s: numberToHex(s, { size: 32 }),
28
28
  v,
29
29
  yParity: v === 28n ? 1 : 0,
30
- }
30
+ } satisfies Signature
31
31
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCallsStatus.js","sourceRoot":"","sources":["../../../experimental/actions/getCallsStatus.ts"],"names":[],"mappings":";;;AAQA,gEAA6D;AAC7D,wFAA8E;AA8BvE,KAAK,UAAU,cAAc,CAIlC,MAAyC,EACzC,UAAoC;IAEpC,MAAM,EAAE,EAAE,EAAE,GAAG,UAAU,CAAA;IACzB,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC;QAChD,MAAM,EAAE,uBAAuB;QAC/B,MAAM,EAAE,CAAC,EAAE,CAAC;KACb,CAAC,CAAA;IACF,OAAO;QACL,MAAM;QACN,QAAQ,EACN,QAAQ,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YAC1B,GAAG,OAAO;YACV,WAAW,EAAE,IAAA,wBAAW,EAAC,OAAO,CAAC,WAAW,CAAC;YAC7C,OAAO,EAAE,IAAA,wBAAW,EAAC,OAAO,CAAC,OAAO,CAAC;YACrC,MAAM,EAAE,uCAAe,CAAC,OAAO,CAAC,MAAuB,CAAC;SACzD,CAAC,CAAC,IAAI,EAAE;KACZ,CAAA;AACH,CAAC;AAtBD,wCAsBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCapabilities.js","sourceRoot":"","sources":["../../../experimental/actions/getCapabilities.ts"],"names":[],"mappings":";;;AAEA,wDAA8D;AAY9D,yDAAsD;AAiC/C,KAAK,UAAU,eAAe,CAInC,GAAG,UAUE;IAEL,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,UAAU,CAAA;IACjC,MAAM,WAAW,GAAG,IAAI,EAAE,OAAO,IAA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AAO,CACzB;YACE,MAAM,EAAE,kBAAkB;YAC1B,MAAM,EAAE;gBACN;oBACE,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;wBAC1B,GAAG,IAAI;wBACP,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAA,sBAAW,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;qBACxD,CAAC,CAAQ;oBACV,YAAY;oBACZ,OAAO,EAAE,IAAA,sBAAW,EAAC,KAAM,CAAC,EAAE,CAAC;oBAC/B,IAAI,EAAE,OAAO,CAAC,OAAO;oBACrB,OAAO;iBACR;aACF;SACF,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,CAClB,CAAA;IACH,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,IAAA,8BAAmB,EAAC,GAAgB,EAAE;YAC1C,GAAG,UAAU;YACb,OAAO;YACP,KAAK,EAAE,UAAU,CAAC,KAAM;SACzB,CAAC,CAAA;IACJ,CAAC;AACH,CAAC;AAlDD,8BAkDC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"showCallsStatus.js","sourceRoot":"","sources":["../../../experimental/actions/showCallsStatus.ts"],"names":[],"mappings":";;;AAkCO,KAAK,UAAU,eAAe,CAInC,MAAyC,EACzC,UAAqC;IAErC,MAAM,EAAE,EAAE,EAAE,GAAG,UAAU,CAAA;IACzB,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,wBAAwB;QAChC,MAAM,EAAE,CAAC,EAAE,CAAC;KACb,CAAC,CAAA;IACF,OAAM;AACR,CAAC;AAbD,0CAaC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeContracts.js","sourceRoot":"","sources":["../../../experimental/actions/writeContracts.ts"],"names":[],"mappings":";;;AASA,iFAG8C;AAC9C,iDAKuB;AAoEhB,KAAK,UAAU,cAAc,CAMlC,MAAgC,EAChC,UAK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AA;IACH,CAAC,CAAA;AACH,CAAC;AAjBD,oDAiBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCallsStatus.js","sourceRoot":"","sources":["../../../experimental/actions/getCallsStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAA;AAU9E;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAIlC,MAAyC,EACzC,UAAoC;IAEpC,MAAM,EAAE,EAAE,EAAE,GAAG,UAAU,CAAA;IACzB,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC;QAChD,MAAM,EAAE,uBAAuB;QAC/B,MAAM,EAAE,CAAC,EAAE,CAAC;KACb,CAAC,CAAA;IACF,OAAO;QACL,MAAM;QACN,QAAQ,EACN,QAAQ,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YAC1B,GAAG,OAAO;YACV,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,WAAW,CAAC;YAC7C,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC;YACrC,MAAM,EAAE,eAAe,CAAC,OAAO,CAAC,MAAuB,CAAC;SACzD,CAAC,CAAC,IAAI,EAAE;KACZ,CAAA;AACH,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCapabilities.js","sourceRoot":"","sources":["../../../experimental/actions/getCapabilities.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAY9D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAatD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAInC,GAAG,UAUE;IAEL,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GA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M,EAAE,wBAAwB;QAChC,MAAM,EAAE,CAAC,EAAE,CAAC;KACb,CAAC,CAAA;IACF,OAAM;AACR,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeContracts.js","sourceRoot":"","sources":["../../../experimental/actions/writeContracts.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,kBAAkB,GACnB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAIL,SAAS,GACV,MAAM,gBAAgB,CAAA;AAyBvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAMlC,MAAgC,EAChC,UAKC;IAED,MAAM,SAAS,GAAG,UAAU,CAAC,SAAyC,CAAA;IACtE,MAAM,KAAK,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;QACvC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAA;QAC5D,OAAO;YACL,IAAI,EAAE,kBAAkB,CAAC;gBACvB,GAAG;gBACH,YAAY;gBACZ,IAAI;aACL,CAAC;YACF,EAAE,EAAE,OAAO;YACX,KAAK;SACyC,CAAA;IAClD,CAAC,CAAC,CAAA;IACF,OAAO,SAAS,CAAC,MAAM,EAAE,EAAE,GAAG,UAAU,EAAE,KAAK,EAAyB,CAAC,CAAA;AAC3E,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"eip5792.js","sourceRoot":"","sources":["../../../experimental/decorators/eip5792.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,cAAc,GACf,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAGL,eAAe,GAChB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAGL,SAAS,GACV,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAGL,eAAe,GAChB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAGL,cAAc,GACf,MAAM,8BA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7D,OAAO,CAAC,mBAAmB,CAAC,CA2C9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"showCallsStatus.d.ts","sourceRoot":"","sources":["../../../experimental/actions/showCallsStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE,MAAM,MAAM,yBAAyB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA;AAEtD,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAA;AAE5C,MAAM,MAAM,wBAAwB,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAEnE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,eAAe,CACnC,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,SAAS,EAE/C,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,yBAAyB,GACpC,OAAO,CAAC,yBAAyB,CAAC,CAOpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeContracts.d.ts","sourceRoot":"","sources":["../../../experimental/actions/writeContracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAEzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;A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