viem 2.0.0-beta.5 → 2.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +470 -394
- package/README.md +52 -46
- package/_cjs/accounts/toAccount.js.map +1 -1
- package/_cjs/accounts/utils/signTransaction.js.map +1 -1
- package/_cjs/actions/ens/getEnsAddress.js +1 -1
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js +1 -1
- package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
- package/_cjs/actions/ens/getEnsName.js +1 -1
- package/_cjs/actions/ens/getEnsName.js.map +1 -1
- package/_cjs/actions/ens/getEnsResolver.js +1 -1
- package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
- package/_cjs/actions/ens/getEnsText.js +1 -1
- package/_cjs/actions/ens/getEnsText.js.map +1 -1
- package/_cjs/actions/getContract.js +7 -7
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/createContractEventFilter.js +1 -1
- package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
- package/_cjs/actions/public/createEventFilter.js +1 -1
- package/_cjs/actions/public/createEventFilter.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js +1 -1
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/estimateFeesPerGas.js +6 -3
- package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_cjs/actions/public/estimateGas.js +3 -8
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +6 -4
- package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_cjs/actions/public/getBlock.js.map +1 -1
- package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_cjs/actions/public/getContractEvents.js +1 -1
- package/_cjs/actions/public/getContractEvents.js.map +1 -1
- package/_cjs/actions/public/getFilterChanges.js +10 -31
- package/_cjs/actions/public/getFilterChanges.js.map +1 -1
- package/_cjs/actions/public/getFilterLogs.js +8 -29
- package/_cjs/actions/public/getFilterLogs.js.map +1 -1
- package/_cjs/actions/public/getLogs.js +8 -29
- package/_cjs/actions/public/getLogs.js.map +1 -1
- package/_cjs/actions/public/getTransaction.js.map +1 -1
- package/_cjs/actions/public/getTransactionConfirmations.js +4 -2
- package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_cjs/actions/public/multicall.js +1 -1
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js +1 -1
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js +1 -1
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/public/verifyHash.js +1 -1
- package/_cjs/actions/public/verifyHash.js.map +1 -1
- package/_cjs/actions/public/waitForTransactionReceipt.js +18 -8
- package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_cjs/actions/public/watchBlockNumber.js +1 -1
- package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
- package/_cjs/actions/public/watchBlocks.js +2 -2
- package/_cjs/actions/public/watchBlocks.js.map +1 -1
- package/_cjs/actions/public/watchContractEvent.js +7 -6
- package/_cjs/actions/public/watchContractEvent.js.map +1 -1
- package/_cjs/actions/public/watchEvent.js +7 -6
- package/_cjs/actions/public/watchEvent.js.map +1 -1
- package/_cjs/actions/public/watchPendingTransactions.js +5 -4
- package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
- package/_cjs/actions/test/setAutomine.js.map +1 -1
- package/_cjs/actions/wallet/addChain.js +1 -1
- package/_cjs/actions/wallet/addChain.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +41 -38
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/requestAddresses.js +1 -1
- package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
- package/_cjs/actions/wallet/requestPermissions.js +1 -1
- package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js +1 -1
- package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +5 -5
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signMessage.js +1 -1
- package/_cjs/actions/wallet/signMessage.js.map +1 -1
- package/_cjs/actions/wallet/signTransaction.js +2 -2
- package/_cjs/actions/wallet/signTransaction.js.map +1 -1
- package/_cjs/actions/wallet/signTypedData.js +1 -1
- package/_cjs/actions/wallet/signTypedData.js.map +1 -1
- package/_cjs/actions/wallet/switchChain.js +1 -1
- package/_cjs/actions/wallet/switchChain.js.map +1 -1
- package/_cjs/actions/wallet/watchAsset.js +1 -1
- package/_cjs/actions/wallet/watchAsset.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js +6 -3
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/chains/celo/formatters.js.map +1 -1
- package/_cjs/chains/celo/parsers.js.map +1 -1
- package/_cjs/chains/celo/serializers.js +4 -8
- package/_cjs/chains/celo/serializers.js.map +1 -1
- package/_cjs/chains/celo/utils.js +6 -4
- package/_cjs/chains/celo/utils.js.map +1 -1
- package/_cjs/chains/definitions/aurora.js +6 -0
- package/_cjs/chains/definitions/aurora.js.map +1 -1
- package/_cjs/chains/definitions/base.js +8 -0
- package/_cjs/chains/definitions/base.js.map +1 -1
- package/_cjs/chains/definitions/baseGoerli.js +7 -1
- package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
- package/_cjs/chains/definitions/baseSepolia.js +11 -2
- package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
- package/_cjs/chains/definitions/bscTestnet.js +2 -1
- package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpace.js +1 -0
- package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
- package/_cjs/chains/definitions/confluxESpaceTestnet.js +34 -0
- package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_cjs/chains/definitions/filecoin.js +6 -0
- package/_cjs/chains/definitions/filecoin.js.map +1 -1
- package/_cjs/chains/definitions/klaytn.js +6 -0
- package/_cjs/chains/definitions/klaytn.js.map +1 -1
- package/_cjs/chains/definitions/klaytnBaobab.js +30 -0
- package/_cjs/chains/definitions/klaytnBaobab.js.map +1 -0
- package/_cjs/chains/definitions/optimism.js +7 -0
- package/_cjs/chains/definitions/optimism.js.map +1 -1
- package/_cjs/chains/definitions/optimismGoerli.js +7 -0
- package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
- package/_cjs/chains/definitions/optimismSepolia.js +7 -0
- package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
- package/_cjs/chains/definitions/pgn.js +37 -0
- package/_cjs/chains/definitions/pgn.js.map +1 -0
- package/_cjs/chains/definitions/pgnTestnet.js +38 -0
- package/_cjs/chains/definitions/pgnTestnet.js.map +1 -0
- package/_cjs/chains/definitions/rootstock.js +29 -0
- package/_cjs/chains/definitions/rootstock.js.map +1 -0
- package/_cjs/chains/definitions/sapphire.js +33 -0
- package/_cjs/chains/definitions/sapphire.js.map +1 -0
- package/_cjs/chains/definitions/sapphireTestnet.js +28 -0
- package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_cjs/chains/definitions/shibarium.js +35 -0
- package/_cjs/chains/definitions/shibarium.js.map +1 -0
- package/_cjs/chains/definitions/shimmer.js +29 -0
- package/_cjs/chains/definitions/shimmer.js.map +1 -0
- package/_cjs/chains/definitions/shimmerTestnet.js +30 -0
- package/_cjs/chains/definitions/shimmerTestnet.js.map +1 -0
- package/_cjs/chains/definitions/zora.js +7 -0
- package/_cjs/chains/definitions/zora.js.map +1 -1
- package/_cjs/chains/definitions/zoraSepolia.js +7 -0
- package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
- package/_cjs/chains/definitions/zoraTestnet.js +7 -0
- package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
- package/_cjs/chains/index.js +24 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/opStack/abis.js +318 -1
- package/_cjs/chains/opStack/abis.js.map +1 -1
- package/_cjs/chains/opStack/actions/buildDepositTransaction.js +32 -0
- package/_cjs/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
- package/_cjs/chains/opStack/actions/depositTransaction.js +36 -0
- package/_cjs/chains/opStack/actions/depositTransaction.js.map +1 -0
- package/_cjs/chains/opStack/actions/estimateContractL1Fee.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractL1Gas.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractTotalFee.js.map +1 -1
- package/_cjs/chains/opStack/actions/estimateContractTotalGas.js.map +1 -1
- package/_cjs/chains/opStack/chainConfig.js +2 -0
- package/_cjs/chains/opStack/chainConfig.js.map +1 -1
- package/_cjs/chains/opStack/chains.js +22 -0
- package/_cjs/chains/opStack/chains.js.map +1 -0
- package/_cjs/chains/opStack/decorators/{public.js → publicL2.js} +3 -1
- package/_cjs/chains/opStack/decorators/publicL2.js.map +1 -0
- package/_cjs/chains/opStack/decorators/walletL1.js +13 -0
- package/_cjs/chains/opStack/decorators/walletL1.js.map +1 -0
- package/_cjs/chains/opStack/formatters.js.map +1 -1
- package/_cjs/chains/opStack/index.js +34 -21
- package/_cjs/chains/opStack/index.js.map +1 -1
- package/_cjs/chains/opStack/parsers.js +55 -0
- package/_cjs/chains/opStack/parsers.js.map +1 -0
- package/_cjs/chains/opStack/serializers.js +52 -0
- package/_cjs/chains/opStack/serializers.js.map +1 -0
- package/_cjs/chains/opStack/{types.js → types/block.js} +1 -1
- package/_cjs/chains/opStack/types/block.js.map +1 -0
- package/_cjs/chains/opStack/types/chain.js +3 -0
- package/_cjs/chains/opStack/types/chain.js.map +1 -0
- package/_cjs/chains/opStack/types/contract.js +3 -0
- package/_cjs/chains/opStack/types/contract.js.map +1 -0
- package/_cjs/chains/opStack/types/transaction.js +3 -0
- package/_cjs/chains/opStack/types/transaction.js.map +1 -0
- package/_cjs/chains/opStack/utils/extractTransactionDepositedLogs.js +14 -0
- package/_cjs/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
- package/_cjs/chains/opStack/utils/fromOpaqueData.js +29 -0
- package/_cjs/chains/opStack/utils/fromOpaqueData.js.map +1 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHash.js +28 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHashes.js +11 -0
- package/_cjs/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
- package/_cjs/chains/opStack/utils/getSourceHash.js +21 -0
- package/_cjs/chains/opStack/utils/getSourceHash.js.map +1 -0
- package/_cjs/chains/zksync/serializers.js.map +1 -1
- package/_cjs/clients/createWalletClient.js +1 -1
- package/_cjs/clients/createWalletClient.js.map +1 -1
- package/_cjs/clients/decorators/public.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/clients/transports/fallback.js +18 -4
- package/_cjs/clients/transports/fallback.js.map +1 -1
- package/_cjs/clients/transports/webSocket.js.map +1 -1
- package/_cjs/errors/base.js.map +1 -1
- package/_cjs/errors/contract.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
- package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_cjs/utils/abi/encodePacked.js.map +1 -1
- package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
- package/_cjs/utils/abi/getAbiItem.js.map +1 -1
- package/_cjs/utils/abi/parseEventLogs.js +37 -0
- package/_cjs/utils/abi/parseEventLogs.js.map +1 -0
- package/_cjs/utils/address/getAddress.js.map +1 -1
- package/_cjs/utils/address/getContractAddress.js.map +1 -1
- package/_cjs/utils/buildRequest.js +101 -82
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_cjs/utils/ccip.js +4 -2
- package/_cjs/utils/ccip.js.map +1 -1
- package/_cjs/utils/data/concat.js.map +1 -1
- package/_cjs/utils/data/pad.js.map +1 -1
- package/_cjs/utils/data/slice.js.map +1 -1
- package/_cjs/utils/data/trim.js.map +1 -1
- package/_cjs/utils/encoding/fromBytes.js.map +1 -1
- package/_cjs/utils/encoding/fromHex.js.map +1 -1
- package/_cjs/utils/encoding/fromRlp.js.map +1 -1
- package/_cjs/utils/encoding/toBytes.js +2 -2
- package/_cjs/utils/encoding/toBytes.js.map +1 -1
- package/_cjs/utils/encoding/toHex.js.map +1 -1
- package/_cjs/utils/encoding/toRlp.js +3 -1
- package/_cjs/utils/encoding/toRlp.js.map +1 -1
- package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_cjs/utils/ens/avatar/utils.js +1 -1
- package/_cjs/utils/ens/avatar/utils.js.map +1 -1
- package/_cjs/utils/ens/namehash.js.map +1 -1
- package/_cjs/utils/ens/packetToBytes.js.map +1 -1
- package/_cjs/utils/errors/getContractError.js.map +1 -1
- package/_cjs/utils/errors/getNodeError.js +11 -11
- package/_cjs/utils/errors/getNodeError.js.map +1 -1
- package/_cjs/utils/formatters/block.js.map +1 -1
- package/_cjs/utils/formatters/extract.js.map +1 -1
- package/_cjs/utils/formatters/formatter.js.map +1 -1
- package/_cjs/utils/formatters/transaction.js.map +1 -1
- package/_cjs/utils/getAction.js +2 -2
- package/_cjs/utils/getAction.js.map +1 -1
- package/_cjs/utils/hash/normalizeSignature.js.map +1 -1
- package/_cjs/utils/index.js +3 -2
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/observe.js +2 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/promise/createBatchScheduler.js +8 -2
- package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
- package/_cjs/utils/promise/withCache.js.map +1 -1
- package/_cjs/utils/promise/withRetry.js.map +1 -1
- package/_cjs/utils/promise/withTimeout.js.map +1 -1
- package/_cjs/utils/rpc.js.map +1 -1
- package/_cjs/utils/signature/hashTypedData.js.map +1 -1
- package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
- package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
- package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
- package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
- package/_cjs/utils/typedData.js.map +1 -1
- package/_cjs/utils/uid.js.map +1 -1
- package/_cjs/utils/unit/formatEther.js.map +1 -1
- package/_cjs/utils/unit/formatGwei.js.map +1 -1
- package/_cjs/utils/unit/formatUnits.js.map +1 -1
- package/_cjs/utils/unit/parseEther.js.map +1 -1
- package/_cjs/utils/unit/parseGwei.js.map +1 -1
- package/_cjs/utils/unit/parseUnits.js.map +1 -1
- package/_esm/accounts/toAccount.js.map +1 -1
- package/_esm/accounts/utils/signTransaction.js.map +1 -1
- package/_esm/actions/ens/getEnsAddress.js +3 -3
- package/_esm/actions/ens/getEnsAddress.js.map +1 -1
- package/_esm/actions/ens/getEnsAvatar.js +3 -3
- package/_esm/actions/ens/getEnsAvatar.js.map +1 -1
- package/_esm/actions/ens/getEnsName.js +3 -3
- package/_esm/actions/ens/getEnsName.js.map +1 -1
- package/_esm/actions/ens/getEnsResolver.js +3 -3
- package/_esm/actions/ens/getEnsResolver.js.map +1 -1
- package/_esm/actions/ens/getEnsText.js +3 -3
- package/_esm/actions/ens/getEnsText.js.map +1 -1
- package/_esm/actions/getContract.js +7 -7
- package/_esm/actions/getContract.js.map +1 -1
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/createContractEventFilter.js +1 -1
- package/_esm/actions/public/createContractEventFilter.js.map +1 -1
- package/_esm/actions/public/createEventFilter.js +1 -1
- package/_esm/actions/public/createEventFilter.js.map +1 -1
- package/_esm/actions/public/estimateContractGas.js +1 -1
- package/_esm/actions/public/estimateContractGas.js.map +1 -1
- package/_esm/actions/public/estimateFeesPerGas.js +6 -3
- package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
- package/_esm/actions/public/estimateGas.js +3 -8
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +6 -4
- package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/_esm/actions/public/getBlock.js +1 -1
- package/_esm/actions/public/getBlock.js.map +1 -1
- package/_esm/actions/public/getBlockNumber.js +1 -1
- package/_esm/actions/public/getBlockTransactionCount.js.map +1 -1
- package/_esm/actions/public/getContractEvents.js +1 -1
- package/_esm/actions/public/getContractEvents.js.map +1 -1
- package/_esm/actions/public/getFilterChanges.js +11 -33
- package/_esm/actions/public/getFilterChanges.js.map +1 -1
- package/_esm/actions/public/getFilterLogs.js +9 -31
- package/_esm/actions/public/getFilterLogs.js.map +1 -1
- package/_esm/actions/public/getLogs.js +10 -32
- package/_esm/actions/public/getLogs.js.map +1 -1
- package/_esm/actions/public/getTransaction.js +1 -1
- package/_esm/actions/public/getTransaction.js.map +1 -1
- package/_esm/actions/public/getTransactionConfirmations.js +5 -3
- package/_esm/actions/public/getTransactionConfirmations.js.map +1 -1
- package/_esm/actions/public/getTransactionReceipt.js +1 -1
- package/_esm/actions/public/multicall.js +1 -1
- package/_esm/actions/public/multicall.js.map +1 -1
- package/_esm/actions/public/readContract.js +2 -2
- package/_esm/actions/public/readContract.js.map +1 -1
- package/_esm/actions/public/simulateContract.js +2 -2
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/actions/public/verifyHash.js +1 -1
- package/_esm/actions/public/verifyHash.js.map +1 -1
- package/_esm/actions/public/waitForTransactionReceipt.js +22 -9
- package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
- package/_esm/actions/public/watchBlockNumber.js +2 -2
- package/_esm/actions/public/watchBlockNumber.js.map +1 -1
- package/_esm/actions/public/watchBlocks.js +3 -3
- package/_esm/actions/public/watchBlocks.js.map +1 -1
- package/_esm/actions/public/watchContractEvent.js +7 -6
- package/_esm/actions/public/watchContractEvent.js.map +1 -1
- package/_esm/actions/public/watchEvent.js +7 -6
- package/_esm/actions/public/watchEvent.js.map +1 -1
- package/_esm/actions/public/watchPendingTransactions.js +5 -4
- package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
- package/_esm/actions/test/setAutomine.js.map +1 -1
- package/_esm/actions/wallet/addChain.js +1 -1
- package/_esm/actions/wallet/addChain.js.map +1 -1
- package/_esm/actions/wallet/deployContract.js +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +44 -40
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/requestAddresses.js +1 -1
- package/_esm/actions/wallet/requestAddresses.js.map +1 -1
- package/_esm/actions/wallet/requestPermissions.js +1 -1
- package/_esm/actions/wallet/requestPermissions.js.map +1 -1
- package/_esm/actions/wallet/sendRawTransaction.js +1 -1
- package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +6 -6
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/actions/wallet/signMessage.js +1 -1
- package/_esm/actions/wallet/signMessage.js.map +1 -1
- package/_esm/actions/wallet/signTransaction.js +2 -2
- package/_esm/actions/wallet/signTransaction.js.map +1 -1
- package/_esm/actions/wallet/signTypedData.js +1 -1
- package/_esm/actions/wallet/signTypedData.js.map +1 -1
- package/_esm/actions/wallet/switchChain.js +1 -1
- package/_esm/actions/wallet/switchChain.js.map +1 -1
- package/_esm/actions/wallet/watchAsset.js +1 -1
- package/_esm/actions/wallet/watchAsset.js.map +1 -1
- package/_esm/actions/wallet/writeContract.js +7 -4
- package/_esm/actions/wallet/writeContract.js.map +1 -1
- package/_esm/chains/celo/formatters.js.map +1 -1
- package/_esm/chains/celo/parsers.js.map +1 -1
- package/_esm/chains/celo/serializers.js +4 -8
- package/_esm/chains/celo/serializers.js.map +1 -1
- package/_esm/chains/celo/utils.js +16 -5
- package/_esm/chains/celo/utils.js.map +1 -1
- package/_esm/chains/definitions/aurora.js +6 -0
- package/_esm/chains/definitions/aurora.js.map +1 -1
- package/_esm/chains/definitions/base.js +8 -0
- package/_esm/chains/definitions/base.js.map +1 -1
- package/_esm/chains/definitions/baseGoerli.js +7 -1
- package/_esm/chains/definitions/baseGoerli.js.map +1 -1
- package/_esm/chains/definitions/baseSepolia.js +11 -2
- package/_esm/chains/definitions/baseSepolia.js.map +1 -1
- package/_esm/chains/definitions/bscTestnet.js +2 -1
- package/_esm/chains/definitions/bscTestnet.js.map +1 -1
- package/_esm/chains/definitions/confluxESpace.js +1 -0
- package/_esm/chains/definitions/confluxESpace.js.map +1 -1
- package/_esm/chains/definitions/confluxESpaceTestnet.js +31 -0
- package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -0
- package/_esm/chains/definitions/filecoin.js +6 -0
- package/_esm/chains/definitions/filecoin.js.map +1 -1
- package/_esm/chains/definitions/klaytn.js +6 -0
- package/_esm/chains/definitions/klaytn.js.map +1 -1
- package/_esm/chains/definitions/klaytnBaobab.js +27 -0
- package/_esm/chains/definitions/klaytnBaobab.js.map +1 -0
- package/_esm/chains/definitions/optimism.js +7 -0
- package/_esm/chains/definitions/optimism.js.map +1 -1
- package/_esm/chains/definitions/optimismGoerli.js +7 -0
- package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
- package/_esm/chains/definitions/optimismSepolia.js +7 -0
- package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
- package/_esm/chains/definitions/pgn.js +34 -0
- package/_esm/chains/definitions/pgn.js.map +1 -0
- package/_esm/chains/definitions/pgnTestnet.js +35 -0
- package/_esm/chains/definitions/pgnTestnet.js.map +1 -0
- package/_esm/chains/definitions/rootstock.js +26 -0
- package/_esm/chains/definitions/rootstock.js.map +1 -0
- package/_esm/chains/definitions/sapphire.js +30 -0
- package/_esm/chains/definitions/sapphire.js.map +1 -0
- package/_esm/chains/definitions/sapphireTestnet.js +25 -0
- package/_esm/chains/definitions/sapphireTestnet.js.map +1 -0
- package/_esm/chains/definitions/shibarium.js +32 -0
- package/_esm/chains/definitions/shibarium.js.map +1 -0
- package/_esm/chains/definitions/shimmer.js +26 -0
- package/_esm/chains/definitions/shimmer.js.map +1 -0
- package/_esm/chains/definitions/shimmerTestnet.js +27 -0
- package/_esm/chains/definitions/shimmerTestnet.js.map +1 -0
- package/_esm/chains/definitions/zora.js +7 -0
- package/_esm/chains/definitions/zora.js.map +1 -1
- package/_esm/chains/definitions/zoraSepolia.js +7 -0
- package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
- package/_esm/chains/definitions/zoraTestnet.js +7 -0
- package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
- package/_esm/chains/index.js +10 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/abis.js +317 -0
- package/_esm/chains/opStack/abis.js.map +1 -1
- package/_esm/chains/opStack/actions/buildDepositTransaction.js +54 -0
- package/_esm/chains/opStack/actions/buildDepositTransaction.js.map +1 -0
- package/_esm/chains/opStack/actions/depositTransaction.js +88 -0
- package/_esm/chains/opStack/actions/depositTransaction.js.map +1 -0
- package/_esm/chains/opStack/actions/estimateContractL1Fee.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateContractL1Gas.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateContractTotalFee.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateContractTotalGas.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateL1Fee.js +1 -1
- package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -1
- package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -1
- package/_esm/chains/opStack/chainConfig.js +2 -0
- package/_esm/chains/opStack/chainConfig.js.map +1 -1
- package/_esm/chains/opStack/chains.js +10 -0
- package/_esm/chains/opStack/chains.js.map +1 -0
- package/_esm/chains/opStack/decorators/{public.js → publicL2.js} +3 -1
- package/_esm/chains/opStack/decorators/publicL2.js.map +1 -0
- package/_esm/chains/opStack/decorators/walletL1.js +9 -0
- package/_esm/chains/opStack/decorators/walletL1.js.map +1 -0
- package/_esm/chains/opStack/formatters.js.map +1 -1
- package/_esm/chains/opStack/index.js +12 -10
- package/_esm/chains/opStack/index.js.map +1 -1
- package/_esm/chains/opStack/parsers.js +51 -0
- package/_esm/chains/opStack/parsers.js.map +1 -0
- package/_esm/chains/opStack/serializers.js +47 -0
- package/_esm/chains/opStack/serializers.js.map +1 -0
- package/_esm/chains/opStack/types/block.js +2 -0
- package/_esm/chains/opStack/types/block.js.map +1 -0
- package/_esm/chains/opStack/types/chain.js +2 -0
- package/_esm/chains/opStack/types/chain.js.map +1 -0
- package/_esm/chains/opStack/types/contract.js +2 -0
- package/_esm/chains/opStack/types/contract.js.map +1 -0
- package/_esm/chains/opStack/types/transaction.js +2 -0
- package/_esm/chains/opStack/types/transaction.js.map +1 -0
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js +10 -0
- package/_esm/chains/opStack/utils/extractTransactionDepositedLogs.js.map +1 -0
- package/_esm/chains/opStack/utils/fromOpaqueData.js +25 -0
- package/_esm/chains/opStack/utils/fromOpaqueData.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js +25 -0
- package/_esm/chains/opStack/utils/getL2TransactionHash.js.map +1 -0
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js +7 -0
- package/_esm/chains/opStack/utils/getL2TransactionHashes.js.map +1 -0
- package/_esm/chains/opStack/utils/getSourceHash.js +18 -0
- package/_esm/chains/opStack/utils/getSourceHash.js.map +1 -0
- package/_esm/chains/zksync/serializers.js +1 -1
- package/_esm/chains/zksync/serializers.js.map +1 -1
- package/_esm/clients/createWalletClient.js +1 -1
- package/_esm/clients/createWalletClient.js.map +1 -1
- package/_esm/clients/decorators/public.js.map +1 -1
- package/_esm/clients/decorators/wallet.js.map +1 -1
- package/_esm/clients/transports/fallback.js +19 -6
- package/_esm/clients/transports/fallback.js.map +1 -1
- package/_esm/clients/transports/webSocket.js.map +1 -1
- package/_esm/errors/base.js.map +1 -1
- package/_esm/errors/contract.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/decodeEventLog.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
- package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
- package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
- package/_esm/utils/abi/encodePacked.js.map +1 -1
- package/_esm/utils/abi/formatAbiItem.js.map +1 -1
- package/_esm/utils/abi/getAbiItem.js.map +1 -1
- package/_esm/utils/abi/parseEventLogs.js +59 -0
- package/_esm/utils/abi/parseEventLogs.js.map +1 -0
- package/_esm/utils/address/getAddress.js.map +1 -1
- package/_esm/utils/address/getContractAddress.js.map +1 -1
- package/_esm/utils/buildRequest.js +129 -102
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_esm/utils/ccip.js +4 -2
- package/_esm/utils/ccip.js.map +1 -1
- package/_esm/utils/data/concat.js.map +1 -1
- package/_esm/utils/data/pad.js.map +1 -1
- package/_esm/utils/data/slice.js.map +1 -1
- package/_esm/utils/data/trim.js.map +1 -1
- package/_esm/utils/encoding/fromBytes.js.map +1 -1
- package/_esm/utils/encoding/fromHex.js.map +1 -1
- package/_esm/utils/encoding/fromRlp.js.map +1 -1
- package/_esm/utils/encoding/toBytes.js +2 -2
- package/_esm/utils/encoding/toBytes.js.map +1 -1
- package/_esm/utils/encoding/toHex.js.map +1 -1
- package/_esm/utils/encoding/toRlp.js +3 -1
- package/_esm/utils/encoding/toRlp.js.map +1 -1
- package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
- package/_esm/utils/ens/avatar/utils.js +1 -1
- package/_esm/utils/ens/avatar/utils.js.map +1 -1
- package/_esm/utils/ens/namehash.js +1 -1
- package/_esm/utils/ens/namehash.js.map +1 -1
- package/_esm/utils/ens/normalize.js +2 -2
- package/_esm/utils/ens/packetToBytes.js.map +1 -1
- package/_esm/utils/errors/getContractError.js.map +1 -1
- package/_esm/utils/errors/getNodeError.js +11 -11
- package/_esm/utils/errors/getNodeError.js.map +1 -1
- package/_esm/utils/formatters/block.js.map +1 -1
- package/_esm/utils/formatters/extract.js.map +1 -1
- package/_esm/utils/formatters/formatter.js.map +1 -1
- package/_esm/utils/formatters/transaction.js.map +1 -1
- package/_esm/utils/getAction.js +12 -2
- package/_esm/utils/getAction.js.map +1 -1
- package/_esm/utils/hash/normalizeSignature.js.map +1 -1
- package/_esm/utils/index.js +2 -1
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/observe.js +2 -1
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/promise/createBatchScheduler.js +8 -2
- package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
- package/_esm/utils/promise/withCache.js.map +1 -1
- package/_esm/utils/promise/withRetry.js.map +1 -1
- package/_esm/utils/promise/withTimeout.js.map +1 -1
- package/_esm/utils/rpc.js.map +1 -1
- package/_esm/utils/signature/hashTypedData.js.map +1 -1
- package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -1
- package/_esm/utils/transaction/getTransactionType.js.map +1 -1
- package/_esm/utils/transaction/parseTransaction.js.map +1 -1
- package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
- package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
- package/_esm/utils/typedData.js.map +1 -1
- package/_esm/utils/uid.js.map +1 -1
- package/_esm/utils/unit/formatEther.js +11 -0
- package/_esm/utils/unit/formatEther.js.map +1 -1
- package/_esm/utils/unit/formatGwei.js +11 -0
- package/_esm/utils/unit/formatGwei.js.map +1 -1
- package/_esm/utils/unit/formatUnits.js +11 -0
- package/_esm/utils/unit/formatUnits.js.map +1 -1
- package/_esm/utils/unit/parseEther.js +11 -0
- package/_esm/utils/unit/parseEther.js.map +1 -1
- package/_esm/utils/unit/parseGwei.js +11 -0
- package/_esm/utils/unit/parseGwei.js.map +1 -1
- package/_esm/utils/unit/parseUnits.js +11 -0
- package/_esm/utils/unit/parseUnits.js.map +1 -1
- package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAddress.d.ts +2 -2
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
- package/_types/actions/ens/getEnsAvatar.d.ts +2 -2
- package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
- package/_types/actions/ens/getEnsName.d.ts +2 -2
- package/_types/actions/ens/getEnsName.d.ts.map +1 -1
- package/_types/actions/ens/getEnsResolver.d.ts +2 -2
- package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
- package/_types/actions/ens/getEnsText.d.ts +2 -2
- package/_types/actions/ens/getEnsText.d.ts.map +1 -1
- package/_types/actions/getContract.d.ts +5 -5
- package/_types/actions/getContract.d.ts.map +1 -1
- package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
- package/_types/actions/public/estimateContractGas.d.ts +2 -2
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
- package/_types/actions/public/estimateFeesPerGas.d.ts +2 -2
- package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
- package/_types/actions/public/estimateGas.d.ts +5 -3
- package/_types/actions/public/estimateGas.d.ts.map +1 -1
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +2 -2
- package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/_types/actions/public/getBlock.d.ts +1 -1
- package/_types/actions/public/getBlockNumber.d.ts +1 -1
- package/_types/actions/public/getContractEvents.d.ts.map +1 -1
- package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
- package/_types/actions/public/getFilterLogs.d.ts.map +1 -1
- package/_types/actions/public/getLogs.d.ts +1 -1
- package/_types/actions/public/getLogs.d.ts.map +1 -1
- package/_types/actions/public/getTransaction.d.ts +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts +1 -1
- package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
- package/_types/actions/public/getTransactionReceipt.d.ts +1 -1
- package/_types/actions/public/multicall.d.ts.map +1 -1
- package/_types/actions/public/readContract.d.ts +1 -1
- package/_types/actions/public/readContract.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +4 -4
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/actions/public/verifyHash.d.ts.map +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts +1 -1
- package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts +1 -1
- package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
- package/_types/actions/public/watchBlocks.d.ts +1 -1
- package/_types/actions/public/watchBlocks.d.ts.map +1 -1
- package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
- package/_types/actions/public/watchEvent.d.ts.map +1 -1
- package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
- package/_types/actions/wallet/addChain.d.ts.map +1 -1
- package/_types/actions/wallet/deployContract.d.ts +3 -3
- package/_types/actions/wallet/deployContract.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +19 -7
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/requestAddresses.d.ts.map +1 -1
- package/_types/actions/wallet/requestPermissions.d.ts.map +1 -1
- package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +4 -4
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signMessage.d.ts.map +1 -1
- package/_types/actions/wallet/signTransaction.d.ts +2 -2
- package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
- package/_types/actions/wallet/switchChain.d.ts.map +1 -1
- package/_types/actions/wallet/watchAsset.d.ts.map +1 -1
- package/_types/actions/wallet/writeContract.d.ts +4 -4
- package/_types/actions/wallet/writeContract.d.ts.map +1 -1
- package/_types/chains/celo/chainConfig.d.ts +7 -7
- package/_types/chains/celo/formatters.d.ts +7 -7
- package/_types/chains/celo/parsers.d.ts.map +1 -1
- package/_types/chains/celo/serializers.d.ts.map +1 -1
- package/_types/chains/celo/utils.d.ts.map +1 -1
- package/_types/chains/definitions/aurora.d.ts +6 -8
- package/_types/chains/definitions/aurora.d.ts.map +1 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +1 -1
- package/_types/chains/definitions/base.d.ts +17 -9
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +15 -8
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +16 -8
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +1 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +1 -1
- package/_types/chains/definitions/bronos.d.ts +1 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +4 -1
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bxn.d.ts +1 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +1 -1
- package/_types/chains/definitions/celo.d.ts +7 -7
- package/_types/chains/definitions/celoAlfajores.d.ts +7 -7
- package/_types/chains/definitions/celoCannoli.d.ts +7 -7
- package/_types/chains/definitions/chiliz.d.ts +1 -1
- package/_types/chains/definitions/classic.d.ts +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +1 -0
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts +38 -0
- package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/dfk.d.ts +1 -1
- package/_types/chains/definitions/dogechain.d.ts +1 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +1 -1
- package/_types/chains/definitions/ekta.d.ts +1 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +1 -1
- package/_types/chains/definitions/evmos.d.ts +1 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +1 -1
- package/_types/chains/definitions/fibo.d.ts +1 -1
- package/_types/chains/definitions/filecoin.d.ts +6 -8
- package/_types/chains/definitions/filecoin.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +1 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +1 -1
- package/_types/chains/definitions/flare.d.ts +1 -1
- package/_types/chains/definitions/flareTestnet.d.ts +1 -1
- package/_types/chains/definitions/foundry.d.ts +1 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +1 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +1 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +1 -1
- package/_types/chains/definitions/hardhat.d.ts +1 -1
- package/_types/chains/definitions/iotex.d.ts +1 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +1 -1
- package/_types/chains/definitions/klaytn.d.ts +6 -8
- package/_types/chains/definitions/klaytn.d.ts.map +1 -1
- package/_types/chains/definitions/klaytnBaobab.d.ts +40 -0
- package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -0
- package/_types/chains/definitions/kroma.d.ts +1 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +1 -1
- package/_types/chains/definitions/localhost.d.ts +1 -1
- package/_types/chains/definitions/lukso.d.ts +1 -1
- package/_types/chains/definitions/mantleTestnet.d.ts +1 -1
- package/_types/chains/definitions/meter.d.ts +1 -1
- package/_types/chains/definitions/meterTestnet.d.ts +1 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +1 -1
- package/_types/chains/definitions/oasys.d.ts +1 -1
- package/_types/chains/definitions/optimism.d.ts +16 -9
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +16 -9
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +16 -9
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/pgn.d.ts +555 -0
- package/_types/chains/definitions/pgn.d.ts.map +1 -0
- package/_types/chains/definitions/pgnTestnet.d.ts +555 -0
- package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/qMainnet.d.ts +1 -1
- package/_types/chains/definitions/qTestnet.d.ts +1 -1
- package/_types/chains/definitions/rootstock.d.ts +40 -0
- package/_types/chains/definitions/rootstock.d.ts.map +1 -0
- package/_types/chains/definitions/sapphire.d.ts +38 -0
- package/_types/chains/definitions/sapphire.d.ts.map +1 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts +40 -0
- package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/scrollTestnet.d.ts +1 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +1 -1
- package/_types/chains/definitions/shibarium.d.ts +40 -0
- package/_types/chains/definitions/shibarium.d.ts.map +1 -0
- package/_types/chains/definitions/shimmer.d.ts +38 -0
- package/_types/chains/definitions/shimmer.d.ts.map +1 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts +38 -0
- package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/songbird.d.ts +1 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +1 -1
- package/_types/chains/definitions/spicy.d.ts +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +1 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +1 -1
- package/_types/chains/definitions/taraxa.d.ts +1 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +1 -1
- package/_types/chains/definitions/telosTestnet.d.ts +1 -1
- package/_types/chains/definitions/tenet.d.ts +1 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +1 -1
- package/_types/chains/definitions/vechain.d.ts +1 -1
- package/_types/chains/definitions/xdc.d.ts +1 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +1 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +1 -1
- package/_types/chains/definitions/zhejiang.d.ts +1 -1
- package/_types/chains/definitions/zora.d.ts +16 -9
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +16 -9
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +16 -9
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +13 -2
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/abis.d.ts +435 -0
- package/_types/chains/opStack/abis.d.ts.map +1 -1
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +63 -0
- package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts +96 -0
- package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -0
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts +3 -3
- package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -1
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts +2 -2
- package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -1
- package/_types/chains/opStack/chainConfig.d.ts +14 -11
- package/_types/chains/opStack/chainConfig.d.ts.map +1 -1
- package/_types/chains/opStack/chains.d.ts +10 -0
- package/_types/chains/opStack/chains.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/{public.d.ts → publicL2.d.ts} +31 -4
- package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts +64 -0
- package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -0
- package/_types/chains/opStack/formatters.d.ts +9 -8
- package/_types/chains/opStack/formatters.d.ts.map +1 -1
- package/_types/chains/opStack/index.d.ts +14 -11
- package/_types/chains/opStack/index.d.ts.map +1 -1
- package/_types/chains/opStack/parsers.d.ts +8 -0
- package/_types/chains/opStack/parsers.d.ts.map +1 -0
- package/_types/chains/opStack/serializers.d.ts +12 -0
- package/_types/chains/opStack/serializers.d.ts.map +1 -0
- package/_types/chains/opStack/types/block.d.ts +13 -0
- package/_types/chains/opStack/types/block.d.ts.map +1 -0
- package/_types/chains/opStack/types/chain.d.ts +9 -0
- package/_types/chains/opStack/types/chain.d.ts.map +1 -0
- package/_types/chains/opStack/types/contract.d.ts +13 -0
- package/_types/chains/opStack/types/contract.d.ts.map +1 -0
- package/_types/chains/opStack/{types.d.ts → types/transaction.d.ts} +21 -14
- package/_types/chains/opStack/types/transaction.d.ts.map +1 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +446 -0
- package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +1 -0
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts +15 -0
- package/_types/chains/opStack/utils/fromOpaqueData.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +12 -0
- package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +11 -0
- package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +1 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts +28 -0
- package/_types/chains/opStack/utils/getSourceHash.d.ts.map +1 -0
- package/_types/clients/createClient.d.ts +1 -1
- package/_types/clients/decorators/public.d.ts +25 -25
- package/_types/clients/decorators/public.d.ts.map +1 -1
- package/_types/clients/decorators/wallet.d.ts +6 -6
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/clients/transports/fallback.d.ts.map +1 -1
- package/_types/errors/estimateGas.d.ts +1 -1
- package/_types/errors/estimateGas.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/types/account.d.ts +6 -3
- package/_types/types/account.d.ts.map +1 -1
- package/_types/types/chain.d.ts +12 -15
- package/_types/types/chain.d.ts.map +1 -1
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +5 -1
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/types/ens.d.ts +1 -1
- package/_types/types/ens.d.ts.map +1 -1
- package/_types/types/filter.d.ts.map +1 -1
- package/_types/types/log.d.ts.map +1 -1
- package/_types/types/multicall.d.ts.map +1 -1
- package/_types/types/rpc.d.ts.map +1 -1
- package/_types/types/transaction.d.ts.map +1 -1
- package/_types/types/utils.d.ts +17 -1
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
- package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
- package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
- package/_types/utils/abi/parseEventLogs.d.ts +43 -0
- package/_types/utils/abi/parseEventLogs.d.ts.map +1 -0
- package/_types/utils/buildRequest.d.ts +3 -6
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/_types/utils/ccip.d.ts.map +1 -1
- package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
- package/_types/utils/encoding/fromHex.d.ts.map +1 -1
- package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
- package/_types/utils/ens/namehash.d.ts +1 -1
- package/_types/utils/ens/normalize.d.ts +2 -2
- package/_types/utils/errors/getNodeError.d.ts.map +1 -1
- package/_types/utils/formatters/block.d.ts +3 -7
- package/_types/utils/formatters/block.d.ts.map +1 -1
- package/_types/utils/formatters/formatter.d.ts +1 -1
- package/_types/utils/formatters/transaction.d.ts +3 -7
- package/_types/utils/formatters/transaction.d.ts.map +1 -1
- package/_types/utils/formatters/transactionReceipt.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/utils/getAction.d.ts +8 -1
- package/_types/utils/getAction.d.ts.map +1 -1
- package/_types/utils/index.d.ts +2 -1
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
- package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
- package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
- package/_types/utils/unit/formatEther.d.ts +11 -0
- package/_types/utils/unit/formatEther.d.ts.map +1 -1
- package/_types/utils/unit/formatGwei.d.ts +11 -0
- package/_types/utils/unit/formatGwei.d.ts.map +1 -1
- package/_types/utils/unit/formatUnits.d.ts +11 -0
- package/_types/utils/unit/formatUnits.d.ts.map +1 -1
- package/_types/utils/unit/parseEther.d.ts +11 -0
- package/_types/utils/unit/parseEther.d.ts.map +1 -1
- package/_types/utils/unit/parseGwei.d.ts +11 -0
- package/_types/utils/unit/parseGwei.d.ts.map +1 -1
- package/_types/utils/unit/parseUnits.d.ts +11 -0
- package/_types/utils/unit/parseUnits.d.ts.map +1 -1
- package/accounts/utils/signTransaction.ts +4 -2
- package/actions/ens/getEnsAddress.ts +3 -2
- package/actions/ens/getEnsAvatar.ts +3 -2
- package/actions/ens/getEnsName.ts +3 -2
- package/actions/ens/getEnsResolver.ts +3 -2
- package/actions/ens/getEnsText.ts +3 -2
- package/actions/getContract.ts +12 -11
- package/actions/public/createContractEventFilter.ts +7 -7
- package/actions/public/createEventFilter.ts +1 -1
- package/actions/public/estimateContractGas.ts +3 -9
- package/actions/public/estimateFeesPerGas.ts +8 -5
- package/actions/public/estimateGas.ts +8 -14
- package/actions/public/estimateMaxPriorityFeePerGas.ts +10 -6
- package/actions/public/getBlock.ts +1 -1
- package/actions/public/getBlockNumber.ts +1 -1
- package/actions/public/getContractEvents.ts +1 -0
- package/actions/public/getFilterChanges.ts +30 -39
- package/actions/public/getFilterLogs.ts +17 -38
- package/actions/public/getLogs.ts +16 -38
- package/actions/public/getTransaction.ts +1 -1
- package/actions/public/getTransactionConfirmations.ts +5 -3
- package/actions/public/getTransactionReceipt.ts +1 -1
- package/actions/public/multicall.ts +1 -0
- package/actions/public/readContract.ts +2 -1
- package/actions/public/simulateContract.ts +8 -5
- package/actions/public/verifyHash.ts +1 -0
- package/actions/public/waitForTransactionReceipt.ts +40 -13
- package/actions/public/watchBlockNumber.ts +2 -1
- package/actions/public/watchBlocks.ts +3 -1
- package/actions/public/watchContractEvent.ts +19 -4
- package/actions/public/watchEvent.ts +19 -4
- package/actions/public/watchPendingTransactions.ts +13 -3
- package/actions/wallet/addChain.ts +17 -14
- package/actions/wallet/deployContract.ts +3 -3
- package/actions/wallet/prepareTransactionRequest.ts +130 -67
- package/actions/wallet/requestAddresses.ts +4 -1
- package/actions/wallet/requestPermissions.ts +7 -4
- package/actions/wallet/sendRawTransaction.ts +7 -4
- package/actions/wallet/sendTransaction.ts +19 -16
- package/actions/wallet/signMessage.ts +7 -4
- package/actions/wallet/signTransaction.ts +23 -19
- package/actions/wallet/signTypedData.ts +7 -4
- package/actions/wallet/switchChain.ts +11 -8
- package/actions/wallet/watchAsset.ts +7 -4
- package/actions/wallet/writeContract.ts +21 -12
- package/chains/celo/parsers.ts +3 -3
- package/chains/celo/serializers.ts +4 -8
- package/chains/celo/utils.ts +16 -3
- package/chains/definitions/aurora.ts +6 -0
- package/chains/definitions/base.ts +9 -0
- package/chains/definitions/baseGoerli.ts +8 -1
- package/chains/definitions/baseSepolia.ts +12 -2
- package/chains/definitions/bscTestnet.ts +2 -1
- package/chains/definitions/confluxESpace.ts +1 -0
- package/chains/definitions/confluxESpaceTestnet.ts +31 -0
- package/chains/definitions/filecoin.ts +6 -0
- package/chains/definitions/klaytn.ts +6 -0
- package/chains/definitions/klaytnBaobab.ts +27 -0
- package/chains/definitions/optimism.ts +8 -0
- package/chains/definitions/optimismGoerli.ts +8 -0
- package/chains/definitions/optimismSepolia.ts +8 -0
- package/chains/definitions/pgn.ts +34 -0
- package/chains/definitions/pgnTestnet.ts +35 -0
- package/chains/definitions/rootstock.ts +26 -0
- package/chains/definitions/sapphire.ts +30 -0
- package/chains/definitions/sapphireTestnet.ts +25 -0
- package/chains/definitions/shibarium.ts +32 -0
- package/chains/definitions/shimmer.ts +26 -0
- package/chains/definitions/shimmerTestnet.ts +27 -0
- package/chains/definitions/zora.ts +8 -0
- package/chains/definitions/zoraSepolia.ts +8 -0
- package/chains/definitions/zoraTestnet.ts +8 -0
- package/chains/index.ts +15 -3
- package/chains/opStack/abis.ts +318 -0
- package/chains/opStack/actions/buildDepositTransaction.ts +151 -0
- package/chains/opStack/actions/depositTransaction.ts +171 -0
- package/chains/opStack/actions/estimateL1Fee.ts +3 -3
- package/chains/opStack/actions/estimateL1Gas.ts +2 -2
- package/chains/opStack/chainConfig.ts +2 -0
- package/chains/opStack/chains.ts +9 -0
- package/chains/opStack/decorators/{public.ts → publicL2.ts} +47 -4
- package/chains/opStack/decorators/walletL1.ts +86 -0
- package/chains/opStack/formatters.ts +3 -1
- package/chains/opStack/index.ts +77 -12
- package/chains/opStack/parsers.ts +88 -0
- package/chains/opStack/serializers.ts +88 -0
- package/chains/opStack/types/block.ts +34 -0
- package/chains/opStack/types/chain.ts +7 -0
- package/chains/opStack/types/contract.ts +17 -0
- package/chains/opStack/{types.ts → types/transaction.ts} +39 -33
- package/chains/opStack/utils/extractTransactionDepositedLogs.ts +36 -0
- package/chains/opStack/utils/fromOpaqueData.ts +40 -0
- package/chains/opStack/utils/getL2TransactionHash.ts +52 -0
- package/chains/opStack/utils/getL2TransactionHashes.ts +21 -0
- package/chains/opStack/utils/getSourceHash.ts +61 -0
- package/clients/createClient.ts +1 -1
- package/clients/createWalletClient.ts +1 -1
- package/clients/decorators/public.ts +42 -31
- package/clients/decorators/wallet.ts +26 -7
- package/clients/transports/fallback.ts +24 -6
- package/errors/base.ts +2 -2
- package/errors/estimateGas.ts +1 -1
- package/errors/version.ts +1 -1
- package/index.ts +2 -1
- package/package.json +15 -37
- package/types/account.ts +11 -2
- package/types/chain.ts +23 -12
- package/types/contract.ts +64 -64
- package/types/eip1193.ts +8 -0
- package/types/ens.ts +1 -1
- package/types/filter.ts +12 -12
- package/types/log.ts +4 -4
- package/types/multicall.ts +66 -61
- package/types/rpc.ts +1 -1
- package/types/transaction.ts +4 -4
- package/types/utils.ts +26 -7
- package/utils/abi/decodeEventLog.ts +2 -1
- package/utils/abi/decodeFunctionData.ts +2 -1
- package/utils/abi/decodeFunctionResult.ts +2 -2
- package/utils/abi/encodeDeployData.ts +2 -2
- package/utils/abi/encodeErrorResult.ts +2 -2
- package/utils/abi/encodeEventTopics.ts +6 -6
- package/utils/abi/encodeFunctionData.ts +2 -2
- package/utils/abi/encodeFunctionResult.ts +2 -2
- package/utils/abi/parseEventLogs.ts +129 -0
- package/utils/buildRequest.ts +46 -41
- package/utils/ccip.ts +4 -3
- package/utils/encoding/fromBytes.ts +8 -8
- package/utils/encoding/fromHex.ts +8 -8
- package/utils/encoding/toBytes.ts +2 -2
- package/utils/encoding/toRlp.ts +3 -1
- package/utils/ens/avatar/utils.ts +3 -1
- package/utils/ens/namehash.ts +1 -1
- package/utils/ens/normalize.ts +2 -2
- package/utils/errors/getContractError.ts +2 -2
- package/utils/errors/getNodeError.ts +12 -11
- package/utils/formatters/block.ts +2 -4
- package/utils/formatters/formatter.ts +1 -1
- package/utils/formatters/transaction.ts +2 -4
- package/utils/getAction.ts +11 -1
- package/utils/index.ts +6 -2
- package/utils/observe.ts +1 -1
- package/utils/promise/createBatchScheduler.ts +8 -4
- package/utils/transaction/getSerializedTransactionType.ts +2 -2
- package/utils/transaction/getTransactionType.ts +2 -1
- package/utils/transaction/serializeTransaction.ts +6 -3
- package/utils/unit/formatEther.ts +11 -0
- package/utils/unit/formatGwei.ts +11 -0
- package/utils/unit/formatUnits.ts +11 -0
- package/utils/unit/parseEther.ts +11 -0
- package/utils/unit/parseGwei.ts +11 -0
- package/utils/unit/parseUnits.ts +11 -0
- package/_cjs/chains/opStack/decorators/public.js.map +0 -1
- package/_cjs/chains/opStack/types.js.map +0 -1
- package/_esm/chains/opStack/decorators/public.js.map +0 -1
- package/_esm/chains/opStack/types.js +0 -2
- package/_esm/chains/opStack/types.js.map +0 -1
- package/_types/chains/opStack/decorators/public.d.ts.map +0 -1
- package/_types/chains/opStack/types.d.ts.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decodeAbiParameters.js","sourceRoot":"","sources":["../../../utils/abi/decodeAbiParameters.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,gCAAgC,EAEhC,wBAAwB,EAExB,2BAA2B,GAE5B,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAEL,eAAe,GAChB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAsB,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAuB,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAsB,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAKL,WAAW,EACX,SAAS,EAC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AAO,IAAI,CAAA;IACjC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAA;IAEpC,IAAI,IAAI,KAAK,OAAO;QAAE,OAAQ,KAAa,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,CAAA;IAE7E,MAAM,eAAe,GAAG,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;IACtD,IACE,eAAe;QACf,eAAe,CAAC,EAAE,GAAG,KAAK,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,EAAkB,CAAC;QAEvE,OAAO,IAAI,CAAA;IAEb,OAAO,KAAK,CAAA;AACd,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decodeEventLog.js","sourceRoot":"","sources":["../../../utils/abi/decodeEventLog.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gCAAgC,EAEhC,iCAAiC,EAEjC,8BAA8B,EAE9B,qBAAqB,EAErB,uBAAuB,GAExB,MAAM,qBAAqB,CAAA;AAa5B,OAAO,EAEL,gBAAgB,GACjB,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAEL,mBAAmB,GACpB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAA+B,aAAa,EAAE,MAAM,oBAAoB,CAAA;
|
1
|
+
{"version":3,"file":"decodeEventLog.js","sourceRoot":"","sources":["../../../utils/abi/decodeEventLog.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gCAAgC,EAEhC,iCAAiC,EAEjC,8BAA8B,EAE9B,qBAAqB,EAErB,uBAAuB,GAExB,MAAM,qBAAqB,CAAA;AAa5B,OAAO,EAEL,gBAAgB,GACjB,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAEL,mBAAmB,GACpB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAA+B,aAAa,EAAE,MAAM,oBAAoB,CAAA;AA2D/E,MAAM,QAAQ,GAAG,+BAA+B,CAAA;AAEhD,MAAM,UAAU,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CAAC,CAAC,SAAS,CAAmC;KACZ,CAAA;AACxC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decodeFunctionResult.js","sourceRoot":"","sources":["../../../utils/abi/decodeFunctionResult.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,wBAAwB,EAExB,+BAA+B,GAEhC,MAAM,qBAAqB,CAAA;AAW5B,OAAO,EAEL,mBAAmB,GACpB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAA4B,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEtE,MAAM,QAAQ,GAAG,qCAAqC,CAAA;AAsGtD,MAAM,UAAU,oBAAoB,CAiBlC,UAAmE;IAEnE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,GACrC,UAA4C,CAAA;IAE9C,IAAI,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;IACpB,IAAI,YAAY,EAAE;
|
1
|
+
{"version":3,"file":"decodeFunctionResult.js","sourceRoot":"","sources":["../../../utils/abi/decodeFunctionResult.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,wBAAwB,EAExB,+BAA+B,GAEhC,MAAM,qBAAqB,CAAA;AAW5B,OAAO,EAEL,mBAAmB,GACpB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAA4B,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEtE,MAAM,QAAQ,GAAG,qCAAqC,CAAA;AAsGtD,MAAM,UAAU,oBAAoB,CAiBlC,UAAmE;IAEnE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,GACrC,UAA4C,CAAA;IAE9C,IAAI,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;IACpB,IAAI,YAAY,EAAE,CAAC;QACjB,MAAM,IAAI,GAAG,UAAU,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAA;QAC1D,IAAI,CAA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AC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,SAAS,CAAA;AACf,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"encodeErrorResult.js","sourceRoot":"","sources":["../../../utils/abi/encodeErrorResult.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,qBAAqB,CAAA;AAM5B,OAAO,EAA2B,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAEL,mBAAmB,GACpB,MAAM,gCAAgC,CAAA;AAIvC,OAAO,EAEL,mBAAmB,GACpB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAA+B,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC/E,OAAO,EAA4B,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEtE,MAAM,QAAQ,GAAG,kCAAkC,CAAA;AA0CnD,MAAM,UAAU,iBAAiB,CAI/B,UAAuD;IAEvD,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,UAAyC,CAAA;IAE1E,IAAI,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;IACpB,IAAI,SAAS,EAAE;
|
1
|
+
{"version":3,"file":"encodeErrorResult.js","sourceRoot":"","sources":["../../../utils/abi/encodeErrorResult.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,qBAAqB,CAAA;AAM5B,OAAO,EAA2B,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAEL,mBAAmB,GACpB,MAAM,gCAAgC,CAAA;AAIvC,OAAO,EAEL,mBAAmB,GACpB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAA+B,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC/E,OAAO,EAA4B,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEtE,MAAM,QAAQ,GAAG,kCAAkC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,CAAC,CAAA;QACF,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,wBAAwB,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAA;QACzE,OAAO,GAAG,IAAI,CAAA;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,UAAU;QAC7B,MAAM,IAAI,wBAAwB,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAA;IAE7D,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,CAAC,CAAA;IACzC,MAAM,SAAS,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAA;IACjD,MAAM,IAAI,GACR,QAAQ,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM;QACnC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,IAAI,EAAE,CAAC;QACjD,CAAC,CAAC,SAAS,CAAA;IACf,OAAO,SAAS,CAAC,CAAC,SAAS,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"encodeFunctionResult.js","sourceRoot":"","sources":["../../../utils/abi/encodeFunctionResult.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,wBAAwB,EACxB,+BAA+B,GAChC,MAAM,qBAAqB,CAAA;AAS5B,OAAO,EAEL,mBAAmB,GACpB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAA4B,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEtE,MAAM,QAAQ,GAAG,qCAAqC,CAAA;AA8CtD,MAAM,UAAU,oBAAoB,CAIlC,UAA6D;IAE7D,MAAM,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,GACjC,UAA4C,CAAA;IAE9C,IAAI,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;IACpB,IAAI,YAAY,EAAE;
|
1
|
+
{"version":3,"file":"encodeFunctionResult.js","sourceRoot":"","sources":["../../../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M,CAAC,CAAA;AACrD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"encodePacked.js","sourceRoot":"","sources":["../../../utils/abi/encodePacked.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,8BAA8B,EAE9B,sBAAsB,EAEtB,wBAAwB,GACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,mBAAmB,GAEpB,MAAM,yBAAyB,CAAA;AAGhC,OAAO,EAA2B,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC5E,OAAO,EAA2B,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAqB,GAAG,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAIL,SAAS,EACT,WAAW,EACX,WAAW,GACZ,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAwBlE,MAAM,UAAU,YAAY,CAE1B,KAAsB,EAAE,MAA2C;IACnE,IAAI,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,MAAM;QAChC,MAAM,IAAI,8BAA8B,CAAC;YACvC,cAAc,EAAE,KAAK,CAAC,MAAgB;YACtC,WAAW,EAAE,MAAM,CAAC,MAAgB;SACrC,CAAC,CAAA;IAEJ,MAAM,IAAI,GAAU,EAAE,CAAA;IACtB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAI,KAAmB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;
|
1
|
+
{"version":3,"file":"encodePacked.js","sourceRoot":"","sources":["../../../utils/abi/encodePacked.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,8BAA8B,EAE9B,sBAAsB,EAEtB,wBAAwB,GACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,mBAAmB,GAEpB,MAAM,yBAAyB,CAAA;AAGhC,OAAO,EAA2B,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC5E,OAAO,EAA2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Log, } from './decodeEventLog.js';
|
3
|
+
/**
|
4
|
+
* Extracts & decodes logs matching the provided signature(s) (`abi` + optional `eventName`)
|
5
|
+
* from a set of opaque logs.
|
6
|
+
*
|
7
|
+
* @param parameters - {@link ParseEventLogsParameters}
|
8
|
+
* @returns The logs. {@link ParseEventLogsReturnType}
|
9
|
+
*
|
10
|
+
* @example
|
11
|
+
* import { createClient, http } from 'viem'
|
12
|
+
* import { mainnet } from 'viem/chains'
|
13
|
+
* import { parseEventLogs } from 'viem/op-stack'
|
14
|
+
*
|
15
|
+
* const client = createClient({
|
16
|
+
* chain: mainnet,
|
17
|
+
* transport: http(),
|
18
|
+
* })
|
19
|
+
*
|
20
|
+
* const receipt = await getTransactionReceipt(client, {
|
21
|
+
* hash: '0xec23b2ba4bc59ba61554507c1b1bc91649e6586eb2dd00c728e8ed0db8bb37ea',
|
22
|
+
* })
|
23
|
+
*
|
24
|
+
* const logs = parseEventLogs({ logs: receipt.logs })
|
25
|
+
* // [{ args: { ... }, eventName: 'TransactionDeposited', ... }, ...]
|
26
|
+
*/
|
27
|
+
export function parseEventLogs({ abi, eventName, logs, strict = true, }) {
|
28
|
+
return logs
|
29
|
+
.map((log) => {
|
30
|
+
try {
|
31
|
+
const event = decodeEventLog({
|
32
|
+
...log,
|
33
|
+
abi,
|
34
|
+
strict,
|
35
|
+
});
|
36
|
+
if (eventName && !eventName.includes(event.eventName))
|
37
|
+
return null;
|
38
|
+
return { ...event, ...log };
|
39
|
+
}
|
40
|
+
catch (err) {
|
41
|
+
let eventName;
|
42
|
+
let isUnnamed;
|
43
|
+
if (err instanceof AbiEventSignatureNotFoundError)
|
44
|
+
return null;
|
45
|
+
if (err instanceof DecodeLogDataMismatch ||
|
46
|
+
err instanceof DecodeLogTopicsMismatch) {
|
47
|
+
// If strict mode is on, and log data/topics do not match event definition, skip.
|
48
|
+
if (strict)
|
49
|
+
return null;
|
50
|
+
eventName = err.abiItem.name;
|
51
|
+
isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));
|
52
|
+
}
|
53
|
+
// Set args to empty if there is an error decoding (e.g. indexed/non-indexed params mismatch).
|
54
|
+
return { ...log, args: isUnnamed ? [] : {}, eventName };
|
55
|
+
}
|
56
|
+
})
|
57
|
+
.filter(Boolean);
|
58
|
+
}
|
59
|
+
//# sourceMappingURL=parseEventLogs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"parseEventLogs.js","sourceRoot":"","sources":["../../../utils/abi/parseEventLogs.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,uBAAuB,GAExB,MAAM,gBAAgB,CAAA;AAGvB,OAAO,EAEL,cAAc,GACf,MAAM,qBAAqB,CAAA;AAwC5B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,UAAU,cAAc,CAO5B,EACA,GAAG,EACH,SAAS,EACT,IAAI,EACJ,MAAM,GAAG,IAAI,GACoC;IAKjD,OAAO,IAAI;SACR,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACX,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,cAAc,CAAC;gBAC3B,GAAG,GAAG;gBACN,GAAG;gBACH,MAAM;aACP,CAAC,CAAA;YACF,IAAI,SAAS,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAU,CAAC;gBAAE,OAAO,IAAI,CAAA;YACnE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,GAAG,EAAE,CAAA;QAC7B,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,SAAS,CAAA;YACb,IAAI,SAAS,CAAA;YAEb,IAAI,GAAG,YAAY,8BAA8B;gBAAE,OAAO,IAAI,CAAA;YAC9D,IACE,GAAG,YAAY,qBAAqB;gBACpC,GAAG,YAAY,uBAAuB,EACtC,CAAC;gBACD,iFAAiF;gBACjF,IAAI,MAAM;oBAAE,OAAO,IAAI,CAAA;gBACvB,SAAS,GAAG,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,CAAC,IAAI,CAAC,YAAY,CAAC;gBAAE,OAAO,IAAI,CAAC,YAAY,CAAA;YACxD,OAAO,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAA;QACnC,CAAC;QACD,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IAC1C,CAAC,CAAC,EAAE,CAAA;IAEJ,OAAO,UAAU,CACf,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAC1E,CAAA;AACH,CAAC"}
|
@@ -2,109 +2,136 @@ import { BaseError } from '../errors/base.js';
|
|
2
2
|
import { HttpRequestError, } from '../errors/request.js';
|
3
3
|
import { ChainDisconnectedError, InternalRpcError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, ParseRpcError, ProviderDisconnectedError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, SwitchChainError, TransactionRejectedRpcError, UnauthorizedProviderError, UnknownRpcError, UnsupportedProviderMethodError, UserRejectedRequestError, } from '../errors/rpc.js';
|
4
4
|
import { withRetry } from './promise/withRetry.js';
|
5
|
-
export
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
error.status !== 408 &&
|
15
|
-
error.status !== 413 &&
|
16
|
-
error.status !== 429 &&
|
17
|
-
error.status !== 500 &&
|
18
|
-
error.status !== 502 &&
|
19
|
-
error.status !== 503 &&
|
20
|
-
error.status !== 504);
|
21
|
-
return false;
|
22
|
-
};
|
23
|
-
export function buildRequest(request, { retryDelay = 150, retryCount = 3, } = {}) {
|
24
|
-
return (async (args) => withRetry(async () => {
|
25
|
-
try {
|
26
|
-
return await request(args);
|
27
|
-
}
|
28
|
-
catch (err_) {
|
29
|
-
const err = err_;
|
30
|
-
switch (err.code) {
|
31
|
-
// -32700
|
32
|
-
case ParseRpcError.code:
|
33
|
-
throw new ParseRpcError(err);
|
34
|
-
// -32600
|
35
|
-
case InvalidRequestRpcError.code:
|
36
|
-
throw new InvalidRequestRpcError(err);
|
37
|
-
// -32601
|
38
|
-
case MethodNotFoundRpcError.code:
|
39
|
-
throw new MethodNotFoundRpcError(err);
|
40
|
-
// -32602
|
41
|
-
case InvalidParamsRpcError.code:
|
42
|
-
throw new InvalidParamsRpcError(err);
|
43
|
-
// -32603
|
44
|
-
case InternalRpcError.code:
|
45
|
-
throw new InternalRpcError(err);
|
46
|
-
// -32000
|
47
|
-
case InvalidInputRpcError.code:
|
48
|
-
throw new InvalidInputRpcError(err);
|
49
|
-
// -32001
|
50
|
-
case ResourceNotFoundRpcError.code:
|
51
|
-
throw new ResourceNotFoundRpcError(err);
|
52
|
-
// -32002
|
53
|
-
case ResourceUnavailableRpcError.code:
|
54
|
-
throw new ResourceUnavailableRpcError(err);
|
55
|
-
// -32003
|
56
|
-
case TransactionRejectedRpcError.code:
|
57
|
-
throw new TransactionRejectedRpcError(err);
|
58
|
-
// -32004
|
59
|
-
case MethodNotSupportedRpcError.code:
|
60
|
-
throw new MethodNotSupportedRpcError(err);
|
61
|
-
// -32005
|
62
|
-
case LimitExceededRpcError.code:
|
63
|
-
throw new LimitExceededRpcError(err);
|
64
|
-
// -32006
|
65
|
-
case JsonRpcVersionUnsupportedError.code:
|
66
|
-
throw new JsonRpcVersionUnsupportedError(err);
|
67
|
-
// 4001
|
68
|
-
case UserRejectedRequestError.code:
|
69
|
-
throw new UserRejectedRequestError(err);
|
70
|
-
// 4100
|
71
|
-
case UnauthorizedProviderError.code:
|
72
|
-
throw new UnauthorizedProviderError(err);
|
73
|
-
// 4200
|
74
|
-
case UnsupportedProviderMethodError.code:
|
75
|
-
throw new UnsupportedProviderMethodError(err);
|
76
|
-
// 4900
|
77
|
-
case ProviderDisconnectedError.code:
|
78
|
-
throw new ProviderDisconnectedError(err);
|
79
|
-
// 4901
|
80
|
-
case ChainDisconnectedError.code:
|
81
|
-
throw new ChainDisconnectedError(err);
|
82
|
-
// 4902
|
83
|
-
case SwitchChainError.code:
|
84
|
-
throw new SwitchChainError(err);
|
85
|
-
// CAIP-25: User Rejected Error
|
86
|
-
// https://docs.walletconnect.com/2.0/specs/clients/sign/error-codes#rejected-caip-25
|
87
|
-
case 5000:
|
88
|
-
throw new UserRejectedRequestError(err);
|
89
|
-
default:
|
90
|
-
if (err_ instanceof BaseError)
|
91
|
-
throw err_;
|
92
|
-
throw new UnknownRpcError(err);
|
5
|
+
export function buildRequest(request, options = {}) {
|
6
|
+
return async (args, overrideOptions = {}) => {
|
7
|
+
const { retryDelay = 150, retryCount = 3 } = {
|
8
|
+
...options,
|
9
|
+
...overrideOptions,
|
10
|
+
};
|
11
|
+
return withRetry(async () => {
|
12
|
+
try {
|
13
|
+
return await request(args);
|
93
14
|
}
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
15
|
+
catch (err_) {
|
16
|
+
const err = err_;
|
17
|
+
switch (err.code) {
|
18
|
+
// -32700
|
19
|
+
case ParseRpcError.code:
|
20
|
+
throw new ParseRpcError(err);
|
21
|
+
// -32600
|
22
|
+
case InvalidRequestRpcError.code:
|
23
|
+
throw new InvalidRequestRpcError(err);
|
24
|
+
// -32601
|
25
|
+
case MethodNotFoundRpcError.code:
|
26
|
+
throw new MethodNotFoundRpcError(err);
|
27
|
+
// -32602
|
28
|
+
case InvalidParamsRpcError.code:
|
29
|
+
throw new InvalidParamsRpcError(err);
|
30
|
+
// -32603
|
31
|
+
case InternalRpcError.code:
|
32
|
+
throw new InternalRpcError(err);
|
33
|
+
// -32000
|
34
|
+
case InvalidInputRpcError.code:
|
35
|
+
throw new InvalidInputRpcError(err);
|
36
|
+
// -32001
|
37
|
+
case ResourceNotFoundRpcError.code:
|
38
|
+
throw new ResourceNotFoundRpcError(err);
|
39
|
+
// -32002
|
40
|
+
case ResourceUnavailableRpcError.code:
|
41
|
+
throw new ResourceUnavailableRpcError(err);
|
42
|
+
// -32003
|
43
|
+
case TransactionRejectedRpcError.code:
|
44
|
+
throw new TransactionRejectedRpcError(err);
|
45
|
+
// -32004
|
46
|
+
case MethodNotSupportedRpcError.code:
|
47
|
+
throw new MethodNotSupportedRpcError(err);
|
48
|
+
// -32005
|
49
|
+
case LimitExceededRpcError.code:
|
50
|
+
throw new LimitExceededRpcError(err);
|
51
|
+
// -32006
|
52
|
+
case JsonRpcVersionUnsupportedError.code:
|
53
|
+
throw new JsonRpcVersionUnsupportedError(err);
|
54
|
+
// 4001
|
55
|
+
case UserRejectedRequestError.code:
|
56
|
+
throw new UserRejectedRequestError(err);
|
57
|
+
// 4100
|
58
|
+
case UnauthorizedProviderError.code:
|
59
|
+
throw new UnauthorizedProviderError(err);
|
60
|
+
// 4200
|
61
|
+
case UnsupportedProviderMethodError.code:
|
62
|
+
throw new UnsupportedProviderMethodError(err);
|
63
|
+
// 4900
|
64
|
+
case ProviderDisconnectedError.code:
|
65
|
+
throw new ProviderDisconnectedError(err);
|
66
|
+
// 4901
|
67
|
+
case ChainDisconnectedError.code:
|
68
|
+
throw new ChainDisconnectedError(err);
|
69
|
+
// 4902
|
70
|
+
case SwitchChainError.code:
|
71
|
+
throw new SwitchChainError(err);
|
72
|
+
// CAIP-25: User Rejected Error
|
73
|
+
// https://docs.walletconnect.com/2.0/specs/clients/sign/error-codes#rejected-caip-25
|
74
|
+
case 5000:
|
75
|
+
throw new UserRejectedRequestError(err);
|
76
|
+
default:
|
77
|
+
if (err_ instanceof BaseError)
|
78
|
+
throw err_;
|
79
|
+
throw new UnknownRpcError(err);
|
80
|
+
}
|
102
81
|
}
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
82
|
+
}, {
|
83
|
+
delay: ({ count, error }) => {
|
84
|
+
// If we find a Retry-After header, let's retry after the given time.
|
85
|
+
if (error && error instanceof HttpRequestError) {
|
86
|
+
const retryAfter = error?.headers?.get('Retry-After');
|
87
|
+
if (retryAfter?.match(/\d/))
|
88
|
+
return parseInt(retryAfter) * 1000;
|
89
|
+
}
|
90
|
+
// Otherwise, let's retry with an exponential backoff.
|
91
|
+
return ~~(1 << count) * retryDelay;
|
92
|
+
},
|
93
|
+
retryCount,
|
94
|
+
shouldRetry: ({ error }) => shouldRetry(error),
|
95
|
+
});
|
96
|
+
};
|
97
|
+
}
|
98
|
+
export function shouldRetry(error) {
|
99
|
+
if ('code' in error && typeof error.code === 'number') {
|
100
|
+
if (error.code === -1)
|
101
|
+
return true; // Unknown error
|
102
|
+
if (error.code === LimitExceededRpcError.code)
|
103
|
+
return true;
|
104
|
+
if (error.code === InternalRpcError.code)
|
105
|
+
return true;
|
106
|
+
return false;
|
107
|
+
}
|
108
|
+
if (error instanceof HttpRequestError && error.status) {
|
109
|
+
// Forbidden
|
110
|
+
if (error.status === 403)
|
111
|
+
return true;
|
112
|
+
// Request Timeout
|
113
|
+
if (error.status === 408)
|
114
|
+
return true;
|
115
|
+
// Request Entity Too Large
|
116
|
+
if (error.status === 413)
|
117
|
+
return true;
|
118
|
+
// Too Many Requests
|
119
|
+
if (error.status === 429)
|
120
|
+
return true;
|
121
|
+
// Internal Server Error
|
122
|
+
if (error.status === 500)
|
123
|
+
return true;
|
124
|
+
// Bad Gateway
|
125
|
+
if (error.status === 502)
|
126
|
+
return true;
|
127
|
+
// Service Unavailable
|
128
|
+
if (error.status === 503)
|
129
|
+
return true;
|
130
|
+
// Gateway Timeout
|
131
|
+
if (error.status === 504)
|
132
|
+
return true;
|
133
|
+
return false;
|
134
|
+
}
|
135
|
+
return true;
|
109
136
|
}
|
110
137
|
//# sourceMappingURL=buildRequest.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"buildRequest.js","sourceRoot":"","sources":["../../utils/buildRequest.ts"],"names":[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AE,OAAO,IAAI,CAAA;QACrC,cAAc;QACd,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAA;QACrC,sBAAsB;QACtB,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAA;QACrC,kBAAkB;QAClB,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,IAAI,CAAA;QACrC,OAAO,KAAK,CAAA;IACd,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC"}
|
package/_esm/utils/ccip.js
CHANGED
@@ -71,7 +71,7 @@ export async function ccipFetch({ data, sender, urls, }) {
|
|
71
71
|
let error = new Error('An unknown error occurred.');
|
72
72
|
for (let i = 0; i < urls.length; i++) {
|
73
73
|
const url = urls[i];
|
74
|
-
const method = url.includes('{
|
74
|
+
const method = url.includes('{data}') ? 'GET' : 'POST';
|
75
75
|
const body = method === 'POST' ? { data, sender } : undefined;
|
76
76
|
try {
|
77
77
|
const response = await fetch(url.replace('{sender}', sender).replace('{data}', data), {
|
@@ -88,7 +88,9 @@ export async function ccipFetch({ data, sender, urls, }) {
|
|
88
88
|
if (!response.ok) {
|
89
89
|
error = new HttpRequestError({
|
90
90
|
body,
|
91
|
-
details:
|
91
|
+
details: result?.error
|
92
|
+
? stringify(result.error)
|
93
|
+
: response.statusText,
|
92
94
|
headers: response.headers,
|
93
95
|
status: response.status,
|
94
96
|
url,
|
package/_esm/utils/ccip.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ccip.js","sourceRoot":"","sources":["../../utils/ccip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuB,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAErE,OAAO,EAAkB,MAAM,mBAAmB,CAAA;AAClD,OAAO,EACL,mBAAmB,EACnB,oCAAoC,EACpC,iCAAiC,GAClC,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,C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