Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add EIP1193Provider type #344

Merged
merged 2 commits into from
Apr 10, 2023
Merged

feat: add EIP1193Provider type #344

merged 2 commits into from
Apr 10, 2023

Conversation

jxom
Copy link
Member

@jxom jxom commented Apr 10, 2023

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Apr 10, 2023

🦋 Changeset detected

Latest commit: a476c53

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Apr 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
viem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2023 3:46am
viem-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2023 3:46am

@pr-codex
Copy link

pr-codex bot commented Apr 10, 2023

Tldr

Added EIP1193Provider type and updated the types in src/types to import and export EIP1193Provider instead of Requests and Events.

Detailed summary

  • Added EIP1193Provider type.
  • Updated the types in src/types to import and export EIP1193Provider instead of Requests and Events.
  • Changed WindowProvider type to EIP1193Provider in src/types/window.ts.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 10, 2023

Size Change: 0 B

Total Size: 263 kB

ℹ️ View Unchanged
Filename Size
dist/cjs/abi.js 322 B
dist/cjs/accounts/generateMnemonic.js 309 B
dist/cjs/accounts/generatePrivateKey.js 309 B
dist/cjs/accounts/hdKeyToAccount.js 415 B
dist/cjs/accounts/index.js 715 B
dist/cjs/accounts/mnemonicToAccount.js 346 B
dist/cjs/accounts/privateKeyToAccount.js 508 B
dist/cjs/accounts/toAccount.js 455 B
dist/cjs/accounts/types.js 124 B
dist/cjs/accounts/utils/index.js 366 B
dist/cjs/accounts/utils/parseAccount.js 225 B
dist/cjs/accounts/utils/publicKeyToAddress.js 356 B
dist/cjs/accounts/utils/sign.js 408 B
dist/cjs/accounts/utils/signatureToHex.js 313 B
dist/cjs/accounts/utils/signMessage.js 441 B
dist/cjs/accounts/utils/signTransaction.js 313 B
dist/cjs/accounts/utils/signTypedData.js 465 B
dist/cjs/accounts/wordlists/czech.js 222 B
dist/cjs/accounts/wordlists/english.js 223 B
dist/cjs/accounts/wordlists/french.js 223 B
dist/cjs/accounts/wordlists/italian.js 223 B
dist/cjs/accounts/wordlists/japanese.js 225 B
dist/cjs/accounts/wordlists/korean.js 223 B
dist/cjs/accounts/wordlists/simplifiedChinese.js 242 B
dist/cjs/accounts/wordlists/spanish.js 223 B
dist/cjs/accounts/wordlists/traditionalChinese.js 242 B
dist/cjs/actions/ens/getEnsAddress.js 952 B
dist/cjs/actions/ens/getEnsAvatar.js 425 B
dist/cjs/actions/ens/getEnsName.js 937 B
dist/cjs/actions/ens/getEnsResolver.js 605 B
dist/cjs/actions/ens/getEnsText.js 1.04 kB
dist/cjs/actions/ens/index.js 321 B
dist/cjs/actions/getContract.js 1.13 kB
dist/cjs/actions/index.js 1.42 kB
dist/cjs/actions/public/call.js 702 B
dist/cjs/actions/public/createBlockFilter.js 245 B
dist/cjs/actions/public/createContractEventFilter.js 466 B
dist/cjs/actions/public/createEventFilter.js 509 B
dist/cjs/actions/public/createPendingTransactionFilter.js 250 B
dist/cjs/actions/public/estimateContractGas.js 460 B
dist/cjs/actions/public/estimateGas.js 834 B
dist/cjs/actions/public/getBalance.js 380 B
dist/cjs/actions/public/getBlock.js 490 B
dist/cjs/actions/public/getBlockNumber.js 431 B
dist/cjs/actions/public/getBlockTransactionCount.js 409 B
dist/cjs/actions/public/getBytecode.js 365 B
dist/cjs/actions/public/getChainId.js 272 B
dist/cjs/actions/public/getFeeHistory.js 443 B
dist/cjs/actions/public/getFilterChanges.js 538 B
dist/cjs/actions/public/getFilterLogs.js 512 B
dist/cjs/actions/public/getGasPrice.js 272 B
dist/cjs/actions/public/getLogs.js 711 B
dist/cjs/actions/public/getStorageAt.js 354 B
dist/cjs/actions/public/getTransaction.js 596 B
dist/cjs/actions/public/getTransactionConfirmations.js 367 B
dist/cjs/actions/public/getTransactionCount.js 392 B
dist/cjs/actions/public/getTransactionReceipt.js 383 B
dist/cjs/actions/public/index.js 1.04 kB
dist/cjs/actions/public/multicall.js 898 B
dist/cjs/actions/public/readContract.js 447 B
dist/cjs/actions/public/simulateContract.js 537 B
dist/cjs/actions/public/uninstallFilter.js 232 B
dist/cjs/actions/public/waitForTransactionReceipt.js 1.28 kB
dist/cjs/actions/public/watchBlockNumber.js 1.06 kB
dist/cjs/actions/public/watchBlocks.js 1.16 kB
dist/cjs/actions/public/watchContractEvent.js 1.07 kB
dist/cjs/actions/public/watchEvent.js 1.01 kB
dist/cjs/actions/public/watchPendingTransactions.js 907 B
dist/cjs/actions/test/dropTransaction.js 236 B
dist/cjs/actions/test/getAutomine.js 218 B
dist/cjs/actions/test/getTxpoolContent.js 218 B
dist/cjs/actions/test/getTxpoolStatus.js 304 B
dist/cjs/actions/test/impersonateAccount.js 241 B
dist/cjs/actions/test/increaseTime.js 282 B
dist/cjs/actions/test/index.js 938 B
dist/cjs/actions/test/inspectTxpool.js 214 B
dist/cjs/actions/test/mine.js 298 B
dist/cjs/actions/test/removeBlockTimestampInterval.js 230 B
dist/cjs/actions/test/reset.js 265 B
dist/cjs/actions/test/revert.js 223 B
dist/cjs/actions/test/sendUnsignedTransaction.js 302 B
dist/cjs/actions/test/setAutomine.js 231 B
dist/cjs/actions/test/setBalance.js 293 B
dist/cjs/actions/test/setBlockGasLimit.js 287 B
dist/cjs/actions/test/setBlockTimestampInterval.js 247 B
dist/cjs/actions/test/setCode.js 240 B
dist/cjs/actions/test/setCoinbase.js 237 B
dist/cjs/actions/test/setIntervalMining.js 234 B
dist/cjs/actions/test/setLoggingEnabled.js 239 B
dist/cjs/actions/test/setMinGasPrice.js 289 B
dist/cjs/actions/test/setNextBlockBaseFeePerGas.js 300 B
dist/cjs/actions/test/setNextBlockTimestamp.js 290 B
dist/cjs/actions/test/setNonce.js 291 B
dist/cjs/actions/test/setRpcUrl.js 234 B
dist/cjs/actions/test/setStorageAt.js 329 B
dist/cjs/actions/test/snapshot.js 209 B
dist/cjs/actions/test/stopImpersonatingAccount.js 245 B
dist/cjs/actions/wallet/addChain.js 422 B
dist/cjs/actions/wallet/deployContract.js 316 B
dist/cjs/actions/wallet/getAddresses.js 283 B
dist/cjs/actions/wallet/getPermissions.js 222 B
dist/cjs/actions/wallet/index.js 545 B
dist/cjs/actions/wallet/requestAddresses.js 277 B
dist/cjs/actions/wallet/requestPermissions.js 228 B
dist/cjs/actions/wallet/sendTransaction.js 952 B
dist/cjs/actions/wallet/signMessage.js 422 B
dist/cjs/actions/wallet/signTypedData.js 778 B
dist/cjs/actions/wallet/switchChain.js 305 B
dist/cjs/actions/wallet/watchAsset.js 242 B
dist/cjs/actions/wallet/writeContract.js 341 B
dist/cjs/adapters/ethers.js 785 B
dist/cjs/chains.js 1.98 kB
dist/cjs/clients/createClient.js 388 B
dist/cjs/clients/createPublicClient.js 383 B
dist/cjs/clients/createTestClient.js 394 B
dist/cjs/clients/createWalletClient.js 463 B
dist/cjs/clients/decorators/index.js 269 B
dist/cjs/clients/decorators/public.js 648 B
dist/cjs/clients/decorators/test.js 595 B
dist/cjs/clients/decorators/wallet.js 385 B
dist/cjs/clients/index.js 395 B
dist/cjs/clients/transports/createTransport.js 355 B
dist/cjs/clients/transports/custom.js 407 B
dist/cjs/clients/transports/fallback.js 1.48 kB
dist/cjs/clients/transports/http.js 643 B
dist/cjs/clients/transports/index.js 323 B
dist/cjs/clients/transports/webSocket.js 918 B
dist/cjs/constants/abis.js 501 B
dist/cjs/constants/index.js 341 B
dist/cjs/constants/solidity.js 616 B
dist/cjs/constants/unit.js 198 B
dist/cjs/contract.js 626 B
dist/cjs/ens.js 363 B
dist/cjs/errors/abi.js 2.14 kB
dist/cjs/errors/account.js 422 B
dist/cjs/errors/address.js 300 B
dist/cjs/errors/base.js 611 B
dist/cjs/errors/block.js 372 B
dist/cjs/errors/chain.js 815 B
dist/cjs/errors/contract.js 1.76 kB
dist/cjs/errors/data.js 363 B
dist/cjs/errors/encoding.js 826 B
dist/cjs/errors/ens.js 661 B
dist/cjs/errors/estimateGas.js 678 B
dist/cjs/errors/index.js 2.01 kB
dist/cjs/errors/log.js 310 B
dist/cjs/errors/node.js 1.76 kB
dist/cjs/errors/request.js 1.25 kB
dist/cjs/errors/rpc.js 689 B
dist/cjs/errors/transaction.js 1.9 kB
dist/cjs/errors/transport.js 296 B
dist/cjs/errors/utils.js 256 B
dist/cjs/errors/version.js 150 B
dist/cjs/ethers.js 224 B
dist/cjs/index.js 3.12 kB
dist/cjs/public.js 627 B
dist/cjs/test.js 675 B
dist/cjs/types/account.js 125 B
dist/cjs/types/block.js 125 B
dist/cjs/types/chain.js 125 B
dist/cjs/types/contract.js 128 B
dist/cjs/types/eip1193.js 287 B
dist/cjs/types/ens.js 123 B
dist/cjs/types/fee.js 123 B
dist/cjs/types/filter.js 125 B
dist/cjs/types/formatter.js 127 B
dist/cjs/types/index.js 125 B
dist/cjs/types/log.js 124 B
dist/cjs/types/misc.js 124 B
dist/cjs/types/multicall.js 127 B
dist/cjs/types/rpc.js 123 B
dist/cjs/types/transaction.js 128 B
dist/cjs/types/transport.js 128 B
dist/cjs/types/typedData.js 128 B
dist/cjs/types/utils.js 124 B
dist/cjs/types/window.js 126 B
dist/cjs/utils/abi/decodeAbiParameters.js 2.08 kB
dist/cjs/utils/abi/decodeDeployData.js 465 B
dist/cjs/utils/abi/decodeErrorResult.js 587 B
dist/cjs/utils/abi/decodeEventLog.js 1.05 kB
dist/cjs/utils/abi/decodeFunctionData.js 522 B
dist/cjs/utils/abi/decodeFunctionResult.js 451 B
dist/cjs/utils/abi/encodeAbiParameters.js 1.88 kB
dist/cjs/utils/abi/encodeDeployData.js 470 B
dist/cjs/utils/abi/encodeErrorResult.js 538 B
dist/cjs/utils/abi/encodeEventTopics.js 768 B
dist/cjs/utils/abi/encodeFunctionData.js 520 B
dist/cjs/utils/abi/encodeFunctionResult.js 451 B
dist/cjs/utils/abi/encodePacked.js 859 B
dist/cjs/utils/abi/formatAbiItem.js 489 B
dist/cjs/utils/abi/formatAbiItemWithArgs.js 389 B
dist/cjs/utils/abi/getAbiItem.js 1.09 kB
dist/cjs/utils/abi/index.js 650 B
dist/cjs/utils/accounts.js 417 B
dist/cjs/utils/address/getAddress.js 516 B
dist/cjs/utils/address/getContractAddress.js 570 B
dist/cjs/utils/address/index.js 343 B
dist/cjs/utils/address/isAddress.js 215 B
dist/cjs/utils/address/isAddressEqual.js 298 B
dist/cjs/utils/buildRequest.js 938 B
dist/cjs/utils/chain.js 397 B
dist/cjs/utils/contract/extractFunctionParts.js 463 B
dist/cjs/utils/contract/index.js 264 B
dist/cjs/utils/data/concat.js 381 B
dist/cjs/utils/data/index.js 426 B
dist/cjs/utils/data/isBytes.js 273 B
dist/cjs/utils/data/isHex.js 230 B
dist/cjs/utils/data/pad.js 580 B
dist/cjs/utils/data/size.js 319 B
dist/cjs/utils/data/slice.js 593 B
dist/cjs/utils/data/trim.js 399 B
dist/cjs/utils/encoding/fromBytes.js 593 B
dist/cjs/utils/encoding/fromHex.js 681 B
dist/cjs/utils/encoding/fromRlp.js 914 B
dist/cjs/utils/encoding/index.js 544 B
dist/cjs/utils/encoding/toBytes.js 744 B
dist/cjs/utils/encoding/toHex.js 963 B
dist/cjs/utils/encoding/toRlp.js 544 B
dist/cjs/utils/ens/avatar/index.js 216 B
dist/cjs/utils/ens/avatar/parseAvatarRecord.js 765 B
dist/cjs/utils/ens/avatar/utils.js 2.35 kB
dist/cjs/utils/ens/index.js 309 B
dist/cjs/utils/ens/labelhash.js 659 B
dist/cjs/utils/ens/namehash.js 827 B
dist/cjs/utils/ens/normalize.js 433 B
dist/cjs/utils/ens/packetToBytes.js 517 B
dist/cjs/utils/errors/getCallError.js 315 B
dist/cjs/utils/errors/getContractError.js 550 B
dist/cjs/utils/errors/getEstimateGasError.js 321 B
dist/cjs/utils/errors/getNodeError.js 665 B
dist/cjs/utils/errors/getTransactionError.js 317 B
dist/cjs/utils/errors/index.js 351 B
dist/cjs/utils/formatters/block.js 538 B
dist/cjs/utils/formatters/extract.js 328 B
dist/cjs/utils/formatters/feeHistory.js 273 B
dist/cjs/utils/formatters/format.js 364 B
dist/cjs/utils/formatters/index.js 462 B
dist/cjs/utils/formatters/log.js 306 B
dist/cjs/utils/formatters/transaction.js 608 B
dist/cjs/utils/formatters/transactionReceipt.js 553 B
dist/cjs/utils/formatters/transactionRequest.js 402 B
dist/cjs/utils/hash/getEventSelector.js 210 B
dist/cjs/utils/hash/getFunctionSelector.js 238 B
dist/cjs/utils/hash/hashFunction.js 381 B
dist/cjs/utils/hash/index.js 307 B
dist/cjs/utils/hash/isHash.js 229 B
dist/cjs/utils/hash/keccak256.js 332 B
dist/cjs/utils/index.js 2.08 kB
dist/cjs/utils/observe.js 646 B
dist/cjs/utils/poll.js 421 B
dist/cjs/utils/promise/index.js 286 B
dist/cjs/utils/promise/withCache.js 746 B
dist/cjs/utils/promise/withRetry.js 457 B
dist/cjs/utils/promise/withTimeout.js 422 B
dist/cjs/utils/regex.js 389 B
dist/cjs/utils/rpc.js 1.78 kB
dist/cjs/utils/signature/hashMessage.js 337 B
dist/cjs/utils/signature/hashTypedData.js 1.5 kB
dist/cjs/utils/signature/index.js 374 B
dist/cjs/utils/signature/recoverAddress.js 576 B
dist/cjs/utils/signature/recoverMessageAddress.js 265 B
dist/cjs/utils/signature/recoverTypedDataAddress.js 311 B
dist/cjs/utils/signature/verifyMessage.js 272 B
dist/cjs/utils/signature/verifyTypedData.js 327 B
dist/cjs/utils/stringify.js 258 B
dist/cjs/utils/transaction/assertRequest.js 521 B
dist/cjs/utils/transaction/assertTransaction.js 613 B
dist/cjs/utils/transaction/getSerializedTransactionType.js 377 B
dist/cjs/utils/transaction/getTransactionType.js 358 B
dist/cjs/utils/transaction/index.js 423 B
dist/cjs/utils/transaction/parseTransaction.js 1.47 kB
dist/cjs/utils/transaction/prepareRequest.js 898 B
dist/cjs/utils/transaction/serializeTransaction.js 1.05 kB
dist/cjs/utils/typedData.js 811 B
dist/cjs/utils/uid.js 316 B
dist/cjs/utils/unit/formatEther.js 258 B
dist/cjs/utils/unit/formatGwei.js 254 B
dist/cjs/utils/unit/formatUnits.js 360 B
dist/cjs/utils/unit/index.js 331 B
dist/cjs/utils/unit/parseEther.js 255 B
dist/cjs/utils/unit/parseGwei.js 255 B
dist/cjs/utils/unit/parseUnits.js 512 B
dist/cjs/utils/wait.js 197 B
dist/cjs/wallet.js 377 B
dist/cjs/window.js 143 B
dist/esm/abi.js 147 B
dist/esm/accounts/generateMnemonic.js 239 B
dist/esm/accounts/generatePrivateKey.js 223 B
dist/esm/accounts/hdKeyToAccount.js 331 B
dist/esm/accounts/index.js 320 B
dist/esm/accounts/mnemonicToAccount.js 263 B
dist/esm/accounts/privateKeyToAccount.js 417 B
dist/esm/accounts/toAccount.js 368 B
dist/esm/accounts/types.js 64 B
dist/esm/accounts/utils/index.js 171 B
dist/esm/accounts/utils/parseAccount.js 157 B
dist/esm/accounts/utils/publicKeyToAddress.js 275 B
dist/esm/accounts/utils/sign.js 322 B
dist/esm/accounts/utils/signatureToHex.js 231 B
dist/esm/accounts/utils/signMessage.js 351 B
dist/esm/accounts/utils/signTransaction.js 232 B
dist/esm/accounts/utils/signTypedData.js 375 B
dist/esm/accounts/wordlists/czech.js 107 B
dist/esm/accounts/wordlists/english.js 107 B
dist/esm/accounts/wordlists/french.js 106 B
dist/esm/accounts/wordlists/italian.js 109 B
dist/esm/accounts/wordlists/japanese.js 110 B
dist/esm/accounts/wordlists/korean.js 108 B
dist/esm/accounts/wordlists/simplifiedChinese.js 125 B
dist/esm/accounts/wordlists/spanish.js 109 B
dist/esm/accounts/wordlists/traditionalChinese.js 126 B
dist/esm/actions/ens/getEnsAddress.js 880 B
dist/esm/actions/ens/getEnsAvatar.js 344 B
dist/esm/actions/ens/getEnsName.js 856 B
dist/esm/actions/ens/getEnsResolver.js 524 B
dist/esm/actions/ens/getEnsText.js 964 B
dist/esm/actions/ens/index.js 142 B
dist/esm/actions/getContract.js 1.04 kB
dist/esm/actions/index.js 604 B
dist/esm/actions/public/call.js 627 B
dist/esm/actions/public/createBlockFilter.js 175 B
dist/esm/actions/public/createContractEventFilter.js 388 B
dist/esm/actions/public/createEventFilter.js 429 B
dist/esm/actions/public/createPendingTransactionFilter.js 180 B
dist/esm/actions/public/estimateContractGas.js 377 B
dist/esm/actions/public/estimateGas.js 762 B
dist/esm/actions/public/getBalance.js 309 B
dist/esm/actions/public/getBlock.js 412 B
dist/esm/actions/public/getBlockNumber.js 348 B
dist/esm/actions/public/getBlockTransactionCount.js 333 B
dist/esm/actions/public/getBytecode.js 291 B
dist/esm/actions/public/getChainId.js 194 B
dist/esm/actions/public/getFeeHistory.js 361 B
dist/esm/actions/public/getFilterChanges.js 459 B
dist/esm/actions/public/getFilterLogs.js 433 B
dist/esm/actions/public/getGasPrice.js 207 B
dist/esm/actions/public/getLogs.js 630 B
dist/esm/actions/public/getStorageAt.js 278 B
dist/esm/actions/public/getTransaction.js 507 B
dist/esm/actions/public/getTransactionConfirmations.js 283 B
dist/esm/actions/public/getTransactionCount.js 313 B
dist/esm/actions/public/getTransactionReceipt.js 300 B
dist/esm/actions/public/index.js 430 B
dist/esm/actions/public/multicall.js 826 B
dist/esm/actions/public/readContract.js 366 B
dist/esm/actions/public/simulateContract.js 460 B
dist/esm/actions/public/uninstallFilter.js 165 B
dist/esm/actions/public/waitForTransactionReceipt.js 1.19 kB
dist/esm/actions/public/watchBlockNumber.js 965 B
dist/esm/actions/public/watchBlocks.js 1.07 kB
dist/esm/actions/public/watchContractEvent.js 962 B
dist/esm/actions/public/watchEvent.js 908 B
dist/esm/actions/public/watchPendingTransactions.js 818 B
dist/esm/actions/test/dropTransaction.js 170 B
dist/esm/actions/test/getAutomine.js 150 B
dist/esm/actions/test/getTxpoolContent.js 149 B
dist/esm/actions/test/getTxpoolStatus.js 228 B
dist/esm/actions/test/impersonateAccount.js 174 B
dist/esm/actions/test/increaseTime.js 205 B
dist/esm/actions/test/index.js 408 B
dist/esm/actions/test/inspectTxpool.js 146 B
dist/esm/actions/test/mine.js 221 B
dist/esm/actions/test/removeBlockTimestampInterval.js 162 B
dist/esm/actions/test/reset.js 198 B
dist/esm/actions/test/revert.js 156 B
dist/esm/actions/test/sendUnsignedTransaction.js 228 B
dist/esm/actions/test/setAutomine.js 163 B
dist/esm/actions/test/setBalance.js 218 B
dist/esm/actions/test/setBlockGasLimit.js 208 B
dist/esm/actions/test/setBlockTimestampInterval.js 180 B
dist/esm/actions/test/setCode.js 173 B
dist/esm/actions/test/setCoinbase.js 169 B
dist/esm/actions/test/setIntervalMining.js 168 B
dist/esm/actions/test/setLoggingEnabled.js 171 B
dist/esm/actions/test/setMinGasPrice.js 214 B
dist/esm/actions/test/setNextBlockBaseFeePerGas.js 226 B
dist/esm/actions/test/setNextBlockTimestamp.js 213 B
dist/esm/actions/test/setNonce.js 214 B
dist/esm/actions/test/setRpcUrl.js 165 B
dist/esm/actions/test/setStorageAt.js 254 B
dist/esm/actions/test/snapshot.js 140 B
dist/esm/actions/test/stopImpersonatingAccount.js 179 B
dist/esm/actions/wallet/addChain.js 353 B
dist/esm/actions/wallet/deployContract.js 238 B
dist/esm/actions/wallet/getAddresses.js 208 B
dist/esm/actions/wallet/getPermissions.js 157 B
dist/esm/actions/wallet/index.js 244 B
dist/esm/actions/wallet/requestAddresses.js 203 B
dist/esm/actions/wallet/requestPermissions.js 161 B
dist/esm/actions/wallet/sendTransaction.js 872 B
dist/esm/actions/wallet/signMessage.js 339 B
dist/esm/actions/wallet/signTypedData.js 703 B
dist/esm/actions/wallet/switchChain.js 227 B
dist/esm/actions/wallet/watchAsset.js 174 B
dist/esm/actions/wallet/writeContract.js 260 B
dist/esm/adapters/ethers.js 705 B
dist/esm/chains.js 1.15 kB
dist/esm/clients/createClient.js 311 B
dist/esm/clients/createPublicClient.js 301 B
dist/esm/clients/createTestClient.js 307 B
dist/esm/clients/createWalletClient.js 371 B
dist/esm/clients/decorators/index.js 117 B
dist/esm/clients/decorators/public.js 693 B
dist/esm/clients/decorators/test.js 604 B
dist/esm/clients/decorators/wallet.js 351 B
dist/esm/clients/index.js 173 B
dist/esm/clients/transports/createTransport.js 281 B
dist/esm/clients/transports/custom.js 326 B
dist/esm/clients/transports/fallback.js 1.37 kB
dist/esm/clients/transports/http.js 562 B
dist/esm/clients/transports/index.js 144 B
dist/esm/clients/transports/webSocket.js 835 B
dist/esm/constants/abis.js 425 B
dist/esm/constants/index.js 159 B
dist/esm/constants/solidity.js 550 B
dist/esm/constants/unit.js 127 B
dist/esm/contract.js 297 B
dist/esm/ens.js 168 B
dist/esm/errors/abi.js 1.79 kB
dist/esm/errors/account.js 361 B
dist/esm/errors/address.js 245 B
dist/esm/errors/base.js 556 B
dist/esm/errors/block.js 317 B
dist/esm/errors/chain.js 722 B
dist/esm/errors/contract.js 1.63 kB
dist/esm/errors/data.js 309 B
dist/esm/errors/encoding.js 694 B
dist/esm/errors/ens.js 565 B
dist/esm/errors/estimateGas.js 614 B
dist/esm/errors/index.js 894 B
dist/esm/errors/log.js 254 B
dist/esm/errors/node.js 1.61 kB
dist/esm/errors/request.js 997 B
dist/esm/errors/rpc.js 588 B
dist/esm/errors/transaction.js 1.72 kB
dist/esm/errors/transport.js 224 B
dist/esm/errors/utils.js 162 B
dist/esm/errors/version.js 83 B
dist/esm/ethers.js 104 B
dist/esm/index.js 1.27 kB
dist/esm/public.js 279 B
dist/esm/test.js 311 B
dist/esm/types/account.js 66 B
dist/esm/types/block.js 64 B
dist/esm/types/chain.js 64 B
dist/esm/types/contract.js 67 B
dist/esm/types/eip1193.js 245 B
dist/esm/types/ens.js 62 B
dist/esm/types/fee.js 62 B
dist/esm/types/filter.js 65 B
dist/esm/types/formatter.js 68 B
dist/esm/types/index.js 64 B
dist/esm/types/log.js 62 B
dist/esm/types/misc.js 63 B
dist/esm/types/multicall.js 68 B
dist/esm/types/rpc.js 62 B
dist/esm/types/transaction.js 70 B
dist/esm/types/transport.js 66 B
dist/esm/types/typedData.js 68 B
dist/esm/types/utils.js 64 B
dist/esm/types/window.js 65 B
dist/esm/utils/abi/decodeAbiParameters.js 2 kB
dist/esm/utils/abi/decodeDeployData.js 389 B
dist/esm/utils/abi/decodeErrorResult.js 496 B
dist/esm/utils/abi/decodeEventLog.js 977 B
dist/esm/utils/abi/decodeFunctionData.js 419 B
dist/esm/utils/abi/decodeFunctionResult.js 373 B
dist/esm/utils/abi/encodeAbiParameters.js 1.8 kB
dist/esm/utils/abi/encodeDeployData.js 389 B
dist/esm/utils/abi/encodeErrorResult.js 442 B
dist/esm/utils/abi/encodeEventTopics.js 679 B
dist/esm/utils/abi/encodeFunctionData.js 414 B
dist/esm/utils/abi/encodeFunctionResult.js 375 B
dist/esm/utils/abi/encodePacked.js 803 B
dist/esm/utils/abi/formatAbiItem.js 402 B
dist/esm/utils/abi/formatAbiItemWithArgs.js 309 B
dist/esm/utils/abi/getAbiItem.js 1.01 kB
dist/esm/utils/abi/index.js 274 B
dist/esm/utils/accounts.js 276 B
dist/esm/utils/address/getAddress.js 414 B
dist/esm/utils/address/getContractAddress.js 450 B
dist/esm/utils/address/index.js 154 B
dist/esm/utils/address/isAddress.js 144 B
dist/esm/utils/address/isAddressEqual.js 220 B
dist/esm/utils/buildRequest.js 902 B
dist/esm/utils/chain.js 310 B
dist/esm/utils/contract/extractFunctionParts.js 364 B
dist/esm/utils/contract/index.js 117 B
dist/esm/utils/data/concat.js 295 B
dist/esm/utils/data/index.js 168 B
dist/esm/utils/data/isBytes.js 206 B
dist/esm/utils/data/isHex.js 163 B
dist/esm/utils/data/pad.js 489 B
dist/esm/utils/data/size.js 243 B
dist/esm/utils/data/slice.js 491 B
dist/esm/utils/data/trim.js 334 B
dist/esm/utils/encoding/fromBytes.js 436 B
dist/esm/utils/encoding/fromHex.js 543 B
dist/esm/utils/encoding/fromRlp.js 833 B
dist/esm/utils/encoding/index.js 213 B
dist/esm/utils/encoding/toBytes.js 623 B
dist/esm/utils/encoding/toHex.js 839 B
dist/esm/utils/encoding/toRlp.js 445 B
dist/esm/utils/ens/avatar/index.js 97 B
dist/esm/utils/ens/avatar/parseAvatarRecord.js 697 B
dist/esm/utils/ens/avatar/utils.js 2.23 kB
dist/esm/utils/ens/index.js 145 B
dist/esm/utils/ens/labelhash.js 579 B
dist/esm/utils/ens/namehash.js 740 B
dist/esm/utils/ens/normalize.js 352 B
dist/esm/utils/ens/packetToBytes.js 439 B
dist/esm/utils/errors/getCallError.js 237 B
dist/esm/utils/errors/getContractError.js 482 B
dist/esm/utils/errors/getEstimateGasError.js 245 B
dist/esm/utils/errors/getNodeError.js 612 B
dist/esm/utils/errors/getTransactionError.js 243 B
dist/esm/utils/errors/index.js 164 B
dist/esm/utils/formatters/block.js 463 B
dist/esm/utils/formatters/extract.js 270 B
dist/esm/utils/formatters/feeHistory.js 206 B
dist/esm/utils/formatters/format.js 293 B
dist/esm/utils/formatters/index.js 204 B
dist/esm/utils/formatters/log.js 236 B
dist/esm/utils/formatters/transaction.js 532 B
dist/esm/utils/formatters/transactionReceipt.js 470 B
dist/esm/utils/formatters/transactionRequest.js 328 B
dist/esm/utils/hash/getEventSelector.js 132 B
dist/esm/utils/hash/getFunctionSelector.js 160 B
dist/esm/utils/hash/hashFunction.js 303 B
dist/esm/utils/hash/index.js 140 B
dist/esm/utils/hash/isHash.js 150 B
dist/esm/utils/hash/keccak256.js 249 B
dist/esm/utils/index.js 821 B
dist/esm/utils/observe.js 575 B
dist/esm/utils/poll.js 345 B
dist/esm/utils/promise/index.js 124 B
dist/esm/utils/promise/withCache.js 668 B
dist/esm/utils/promise/withRetry.js 382 B
dist/esm/utils/promise/withTimeout.js 358 B
dist/esm/utils/regex.js 322 B
dist/esm/utils/rpc.js 1.63 kB
dist/esm/utils/signature/hashMessage.js 250 B
dist/esm/utils/signature/hashTypedData.js 1.4 kB
dist/esm/utils/signature/index.js 165 B
dist/esm/utils/signature/recoverAddress.js 488 B
dist/esm/utils/signature/recoverMessageAddress.js 180 B
dist/esm/utils/signature/recoverTypedDataAddress.js 223 B
dist/esm/utils/signature/verifyMessage.js 196 B
dist/esm/utils/signature/verifyTypedData.js 243 B
dist/esm/utils/stringify.js 195 B
dist/esm/utils/transaction/assertRequest.js 437 B
dist/esm/utils/transaction/assertTransaction.js 520 B
dist/esm/utils/transaction/getSerializedTransactionType.js 297 B
dist/esm/utils/transaction/getTransactionType.js 286 B
dist/esm/utils/transaction/index.js 196 B
dist/esm/utils/transaction/parseTransaction.js 1.36 kB
dist/esm/utils/transaction/prepareRequest.js 814 B
dist/esm/utils/transaction/serializeTransaction.js 965 B
dist/esm/utils/typedData.js 729 B
dist/esm/utils/uid.js 251 B
dist/esm/utils/unit/formatEther.js 172 B
dist/esm/utils/unit/formatGwei.js 172 B
dist/esm/utils/unit/formatUnits.js 298 B
dist/esm/utils/unit/index.js 139 B
dist/esm/utils/unit/parseEther.js 171 B
dist/esm/utils/unit/parseGwei.js 172 B
dist/esm/utils/unit/parseUnits.js 446 B
dist/esm/utils/wait.js 131 B
dist/esm/wallet.js 177 B
dist/esm/window.js 75 B

compressed-size-action

@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #344 (a476c53) into main (6b0cdd7) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #344   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files         263      263           
  Lines       17268    17272    +4     
  Branches     1818     1818           
=======================================
+ Hits        17245    17249    +4     
  Misses         21       21           
  Partials        2        2           
Impacted Files Coverage Δ
src/index.ts 100.00% <100.00%> (ø)
src/types/eip1193.ts 100.00% <100.00%> (ø)
src/types/window.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@jxom jxom merged commit bb9c2a4 into main Apr 10, 2023
@jxom jxom deleted the jxom/eip1193-provider-type branch April 10, 2023 04:27
@github-actions github-actions bot mentioned this pull request Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant