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(connectors): filter mipd by connector rdns #4343

Merged
merged 10 commits into from
Oct 21, 2024
Merged

Conversation

tmm
Copy link
Member

@tmm tmm commented Oct 16, 2024

Allows connectors to specify rdns property and filters out matching EIP 6963 connectors from being created.

Related #4328

Copy link

changeset-bot bot commented Oct 16, 2024

🦋 Changeset detected

Latest commit: f490398

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

This PR includes changesets to release 4 packages
Name Type
@wagmi/connectors Major
@wagmi/core Minor
wagmi Patch
@wagmi/vue Patch

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

Copy link
Contributor

github-actions bot commented Oct 16, 2024

Size Change: 0 B

Total Size: 796 kB

ℹ️ View Unchanged
Filename Size Change
packages/cli/dist 0 B 0 B 🆕
packages/cli/dist/esm 638 B 0 B
packages/cli/dist/esm/cli.js 0 B 0 B 🆕
packages/cli/dist/esm/commands 3.31 kB 0 B
packages/cli/dist/esm/commands/generate.js 918 B 0 B
packages/cli/dist/esm/commands/init.js 160 B 0 B
packages/cli/dist/esm/config.js 643 B 0 B
packages/cli/dist/esm/errors.js 0 B 0 B 🆕
packages/cli/dist/esm/exports 147 B 0 B
packages/cli/dist/esm/exports/config.js 202 B 0 B
packages/cli/dist/esm/exports/index.js 171 B 0 B
packages/cli/dist/esm/exports/index.test-d.js 239 B 0 B
packages/cli/dist/esm/exports/plugins.js 341 B 0 B
packages/cli/dist/esm/logger.js 0 B 0 B 🆕
packages/cli/dist/esm/plugins 1.68 kB 0 B
packages/cli/dist/esm/plugins/actions.js 790 B 0 B
packages/cli/dist/esm/plugins/blockExplorer.js 869 B 0 B
packages/cli/dist/esm/plugins/etherscan.js 844 B 0 B
packages/cli/dist/esm/plugins/fetch.js 1.75 kB 0 B
packages/cli/dist/esm/plugins/foundry.js 1.72 kB 0 B
packages/cli/dist/esm/plugins/hardhat.js 1.59 kB 0 B
packages/cli/dist/esm/plugins/react.js 771 B 0 B
packages/cli/dist/esm/plugins/sourcify.js 50.5 kB 0 B
packages/cli/dist/esm/tsconfig.build.tsbuildinfo 64 B 0 B
packages/cli/dist/esm/types.js 0 B 0 B 🆕
packages/cli/dist/esm/utils 381 B 0 B
packages/cli/dist/esm/utils/findConfig.js 285 B 0 B
packages/cli/dist/esm/utils/format.js 629 B 0 B
packages/cli/dist/esm/utils/getAddressDocString.js 281 B 0 B
packages/cli/dist/esm/utils/getIsUsingTypeScript.js 979 B 0 B
packages/cli/dist/esm/utils/loadEnv.js 1.09 kB 0 B
packages/cli/dist/esm/utils/packages.js 272 B 0 B
packages/cli/dist/esm/utils/resolveConfig.js 83 B 0 B
packages/cli/dist/esm/version.js 0 B 0 B 🆕
packages/cli/dist/types 84 B 0 B
packages/cli/dist/types/cli.d.ts 0 B 0 B 🆕
packages/cli/dist/types/commands 339 B 0 B
packages/cli/dist/types/commands/generate.d.ts 238 B 0 B
packages/cli/dist/types/commands/init.d.ts 1.13 kB 0 B
packages/cli/dist/types/config.d.ts 275 B 0 B
packages/cli/dist/types/errors.d.ts 0 B 0 B 🆕
packages/cli/dist/types/exports 133 B 0 B
packages/cli/dist/types/exports/config.d.ts 164 B 0 B
packages/cli/dist/types/exports/index.d.ts 73 B 0 B
packages/cli/dist/types/exports/index.test-d.d.ts 247 B 0 B
packages/cli/dist/types/exports/plugins.d.ts 152 B 0 B
packages/cli/dist/types/logger.d.ts 0 B 0 B 🆕
packages/cli/dist/types/plugins 320 B 0 B
packages/cli/dist/types/plugins/actions.d.ts 713 B 0 B
packages/cli/dist/types/plugins/blockExplorer.d.ts 1.03 kB 0 B
packages/cli/dist/types/plugins/etherscan.d.ts 621 B 0 B
packages/cli/dist/types/plugins/fetch.d.ts 724 B 0 B
packages/cli/dist/types/plugins/foundry.d.ts 730 B 0 B
packages/cli/dist/types/plugins/hardhat.d.ts 303 B 0 B
packages/cli/dist/types/plugins/react.d.ts 1.01 kB 0 B
packages/cli/dist/types/plugins/sourcify.d.ts 203 B 0 B
packages/cli/dist/types/types.d.ts 0 B 0 B 🆕
packages/cli/dist/types/utils 224 B 0 B
packages/cli/dist/types/utils/findConfig.d.ts 111 B 0 B
packages/cli/dist/types/utils/format.d.ts 165 B 0 B
packages/cli/dist/types/utils/getAddressDocString.d.ts 118 B 0 B
packages/cli/dist/types/utils/getIsUsingTypeScript.d.ts 140 B 0 B
packages/cli/dist/types/utils/loadEnv.d.ts 229 B 0 B
packages/cli/dist/types/utils/packages.d.ts 249 B 0 B
packages/cli/dist/types/utils/resolveConfig.d.ts 93 B 0 B
packages/cli/dist/types/version.d.ts 0 B 0 B 🆕
packages/connectors/dist 2 kB 0 B
packages/connectors/dist/esm 0 B 0 B 🆕
packages/connectors/dist/esm/coinbaseWallet.js 214 B 0 B
packages/connectors/dist/esm/exports 3.5 kB 0 B
packages/connectors/dist/esm/exports/index.js 1.14 kB 0 B
packages/connectors/dist/esm/metaMask.js 53.8 kB 0 B
packages/connectors/dist/esm/safe.js 82 B 0 B
packages/connectors/dist/esm/tsconfig.build.tsbuildinfo 3.04 kB 0 B
packages/connectors/dist/esm/version.js 0 B 0 B 🆕
packages/connectors/dist/esm/walletConnect.js 834 B 0 B
packages/connectors/dist/types 0 B 0 B 🆕
packages/connectors/dist/types/coinbaseWallet.d.ts 209 B 0 B
packages/connectors/dist/types/exports 549 B 0 B
packages/connectors/dist/types/exports/index.d.ts 584 B 0 B
packages/connectors/dist/types/metaMask.d.ts 92 B 0 B
packages/connectors/dist/types/safe.d.ts 1.34 kB 0 B
packages/connectors/dist/types/version.d.ts 0 B 0 B 🆕
packages/connectors/dist/types/walletConnect.d.ts 0 B 0 B 🆕
packages/core/dist 230 B 0 B
packages/core/dist/esm 0 B 0 B 🆕
packages/core/dist/esm/actions 363 B 0 B
packages/core/dist/esm/actions/call.js 366 B 0 B
packages/core/dist/esm/actions/codegen 374 B 0 B
packages/core/dist/esm/actions/codegen/createReadContract.js 420 B 0 B
packages/core/dist/esm/actions/codegen/createSimulateContract.js 637 B 0 B
packages/core/dist/esm/actions/codegen/createWatchContractEvent.js 421 B 0 B
packages/core/dist/esm/actions/codegen/createWriteContract.js 562 B 0 B
packages/core/dist/esm/actions/connect.js 410 B 0 B
packages/core/dist/esm/actions/deployContract.js 359 B 0 B
packages/core/dist/esm/actions/disconnect.js 280 B 0 B
packages/core/dist/esm/actions/estimateFeesPerGas.js 422 B 0 B
packages/core/dist/esm/actions/estimateGas.js 1.01 kB 0 B
packages/core/dist/esm/actions/estimateMaxPriorityFeePerGas.js 290 B 0 B
packages/core/dist/esm/actions/getAccount.js 264 B 0 B
packages/core/dist/esm/actions/getBalance.js 269 B 0 B
packages/core/dist/esm/actions/getBlock.js 262 B 0 B
packages/core/dist/esm/actions/getBlockNumber.js 143 B 0 B
packages/core/dist/esm/actions/getBlockTransactionCount.js 224 B 0 B
packages/core/dist/esm/actions/getBytecode.js 161 B 0 B
packages/core/dist/esm/actions/getChainId.js 259 B 0 B
packages/core/dist/esm/actions/getChains.js 854 B 0 B
packages/core/dist/esm/actions/getClient.js 228 B 0 B
packages/core/dist/esm/actions/getConnections.js 261 B 0 B
packages/core/dist/esm/actions/getConnectorClient.js 259 B 0 B
packages/core/dist/esm/actions/getConnectors.js 257 B 0 B
packages/core/dist/esm/actions/getEnsAddress.js 261 B 0 B
packages/core/dist/esm/actions/getEnsAvatar.js 257 B 0 B
packages/core/dist/esm/actions/getEnsName.js 261 B 0 B
packages/core/dist/esm/actions/getEnsResolver.js 252 B 0 B
packages/core/dist/esm/actions/getEnsText.js 259 B 0 B
packages/core/dist/esm/actions/getFeeHistory.js 188 B 0 B
packages/core/dist/esm/actions/getGasPrice.js 263 B 0 B
packages/core/dist/esm/actions/getProof.js 903 B 0 B
packages/core/dist/esm/actions/getPublicClient.js 257 B 0 B
packages/core/dist/esm/actions/getStorageAt.js 266 B 0 B
packages/core/dist/esm/actions/getToken.js 294 B 0 B
packages/core/dist/esm/actions/getTransaction.js 267 B 0 B
packages/core/dist/esm/actions/getTransactionConfirmations.js 215 B 0 B
packages/core/dist/esm/actions/getTransactionCount.js 267 B 0 B
packages/core/dist/esm/actions/getTransactionReceipt.js 328 B 0 B
packages/core/dist/esm/actions/getWalletClient.js 260 B 0 B
packages/core/dist/esm/actions/multicall.js 747 B 0 B
packages/core/dist/esm/actions/prepareTransactionRequest.js 1.2 kB 0 B
packages/core/dist/esm/actions/readContract.js 690 B 0 B
packages/core/dist/esm/actions/readContracts.js 357 B 0 B
packages/core/dist/esm/actions/reconnect.js 361 B 0 B
packages/core/dist/esm/actions/sendTransaction.js 420 B 0 B
packages/core/dist/esm/actions/signMessage.js 341 B 0 B
packages/core/dist/esm/actions/signTypedData.js 406 B 0 B
packages/core/dist/esm/actions/simulateContract.js 266 B 0 B
packages/core/dist/esm/actions/switchAccount.js 269 B 0 B
packages/core/dist/esm/actions/switchChain.js 548 B 0 B
packages/core/dist/esm/actions/verifyMessage.js 345 B 0 B
packages/core/dist/esm/actions/verifyTypedData.js 272 B 0 B
packages/core/dist/esm/actions/waitForTransactionReceipt.js 495 B 0 B
packages/core/dist/esm/actions/watchAccount.js 487 B 0 B
packages/core/dist/esm/actions/watchAsset.js 191 B 0 B
packages/core/dist/esm/actions/watchBlockNumber.js 335 B 0 B
packages/core/dist/esm/actions/watchBlocks.js 247 B 0 B
packages/core/dist/esm/actions/watchChainId.js 250 B 0 B
packages/core/dist/esm/actions/watchChains.js 224 B 0 B
packages/core/dist/esm/actions/watchClient.js 495 B 0 B
packages/core/dist/esm/actions/watchConnections.js 495 B 0 B
packages/core/dist/esm/actions/watchConnectors.js 254 B 0 B
packages/core/dist/esm/actions/watchContractEvent.js 550 B 0 B
packages/core/dist/esm/actions/watchPendingTransactions.js 0 B 0 B 🆕
packages/core/dist/esm/actions/watchPublicClient.js 107 B 0 B
packages/core/dist/esm/actions/writeContract.js 4.92 kB 0 B
packages/core/dist/esm/connectors 1.98 kB 0 B
packages/core/dist/esm/connectors/createConnector.js 3.5 kB 0 B
packages/core/dist/esm/connectors/injected.js 349 B 0 B
packages/core/dist/esm/connectors/mock.js 478 B 0 B
packages/core/dist/esm/createConfig.js 0 B 0 B 🆕
packages/core/dist/esm/createEmitter.js 949 B 0 B
packages/core/dist/esm/createStorage.js 708 B 0 B
packages/core/dist/esm/errors 310 B 0 B
packages/core/dist/esm/errors/base.js 0 B 0 B 🆕
packages/core/dist/esm/errors/config.js 0 B 0 B 🆕
packages/core/dist/esm/errors/connector.js 258 B 0 B
packages/core/dist/esm/experimental 264 B 0 B
packages/core/dist/esm/experimental/actions 324 B 0 B
packages/core/dist/esm/experimental/actions/getCallsStatus.js 261 B 0 B
packages/core/dist/esm/experimental/actions/getCapabilities.js 322 B 0 B
packages/core/dist/esm/experimental/actions/sendCalls.js 0 B 0 B 🆕
packages/core/dist/esm/experimental/actions/showCallsStatus.js 362 B 0 B
packages/core/dist/esm/experimental/actions/writeContracts.js 365 B 0 B
packages/core/dist/esm/experimental/query 186 B 0 B
packages/core/dist/esm/experimental/query/getCallsStatus.js 193 B 0 B
packages/core/dist/esm/experimental/query/getCapabilities.js 191 B 0 B
packages/core/dist/esm/experimental/query/sendCalls.js 0 B 0 B 🆕
packages/core/dist/esm/experimental/query/showCallsStatus.js 874 B 0 B
packages/core/dist/esm/experimental/query/writeContracts.js 159 B 0 B
packages/core/dist/esm/exports 199 B 0 B
packages/core/dist/esm/exports/actions.js 292 B 0 B
packages/core/dist/esm/exports/chains.js 1.3 kB 0 B
packages/core/dist/esm/exports/codegen.js 259 B 0 B
packages/core/dist/esm/exports/experimental.js 787 B 0 B
packages/core/dist/esm/exports/index.js 664 B 0 B
packages/core/dist/esm/exports/internal.js 0 B 0 B 🆕
packages/core/dist/esm/exports/query.js 285 B 0 B
packages/core/dist/esm/hydrate.js 182 B 0 B
packages/core/dist/esm/query 192 B 0 B
packages/core/dist/esm/query/call.js 186 B 0 B
packages/core/dist/esm/query/connect.js 273 B 0 B
packages/core/dist/esm/query/deployContract.js 345 B 0 B
packages/core/dist/esm/query/disconnect.js 282 B 0 B
packages/core/dist/esm/query/estimateFeesPerGas.js 338 B 0 B
packages/core/dist/esm/query/estimateGas.js 285 B 0 B
packages/core/dist/esm/query/estimateMaxPriorityFeePerGas.js 302 B 0 B
packages/core/dist/esm/query/getBalance.js 297 B 0 B
packages/core/dist/esm/query/getBlock.js 335 B 0 B
packages/core/dist/esm/query/getBlockNumber.js 341 B 0 B
packages/core/dist/esm/query/getBlockTransactionCount.js 315 B 0 B
packages/core/dist/esm/query/getBytecode.js 314 B 0 B
packages/core/dist/esm/query/getConnectorClient.js 313 B 0 B
packages/core/dist/esm/query/getEnsAddress.js 316 B 0 B
packages/core/dist/esm/query/getEnsAvatar.js 327 B 0 B
packages/core/dist/esm/query/getEnsName.js 375 B 0 B
packages/core/dist/esm/query/getEnsResolver.js 287 B 0 B
packages/core/dist/esm/query/getEnsText.js 329 B 0 B
packages/core/dist/esm/query/getFeeHistory.js 327 B 0 B
packages/core/dist/esm/query/getGasPrice.js 311 B 0 B
packages/core/dist/esm/query/getProof.js 374 B 0 B
packages/core/dist/esm/query/getStorageAt.js 371 B 0 B
packages/core/dist/esm/query/getToken.js 346 B 0 B
packages/core/dist/esm/query/getTransaction.js 315 B 0 B
packages/core/dist/esm/query/getTransactionConfirmations.js 333 B 0 B
packages/core/dist/esm/query/getTransactionCount.js 347 B 0 B
packages/core/dist/esm/query/getTransactionReceipt.js 318 B 0 B
packages/core/dist/esm/query/getWalletClient.js 549 B 0 B
packages/core/dist/esm/query/infiniteReadContracts.js 443 B 0 B
packages/core/dist/esm/query/prepareTransactionRequest.js 184 B 0 B
packages/core/dist/esm/query/readContract.js 189 B 0 B
packages/core/dist/esm/query/readContracts.js 186 B 0 B
packages/core/dist/esm/query/reconnect.js 190 B 0 B
packages/core/dist/esm/query/sendTransaction.js 396 B 0 B
packages/core/dist/esm/query/signMessage.js 191 B 0 B
packages/core/dist/esm/query/signTypedData.js 188 B 0 B
packages/core/dist/esm/query/simulateContract.js 64 B 0 B
packages/core/dist/esm/query/switchAccount.js 994 B 0 B
packages/core/dist/esm/query/switchChain.js 358 B 0 B
packages/core/dist/esm/query/types.js 424 B 0 B
packages/core/dist/esm/query/utils.js 351 B 0 B
packages/core/dist/esm/query/verifyMessage.js 188 B 0 B
packages/core/dist/esm/query/verifyTypedData.js 190 B 0 B
packages/core/dist/esm/query/waitForTransactionReceipt.js 0 B 0 B 🆕
packages/core/dist/esm/query/watchAsset.js 766 B 0 B
packages/core/dist/esm/query/writeContract.js 141 B 0 B
packages/core/dist/esm/transports 70 kB 0 B
packages/core/dist/esm/transports/connector.js 0 B 0 B 🆕
packages/core/dist/esm/transports/fallback.js 64 B 0 B
packages/core/dist/esm/tsconfig.build.tsbuildinfo 69 B 0 B
packages/core/dist/esm/types 67 B 0 B
packages/core/dist/esm/types/chain.js 63 B 0 B
packages/core/dist/esm/types/properties.js 64 B 0 B
packages/core/dist/esm/types/register.js 0 B 0 B 🆕
packages/core/dist/esm/types/unit.js 443 B 0 B
packages/core/dist/esm/types/utils.js 535 B 0 B
packages/core/dist/esm/utils 214 B 0 B
packages/core/dist/esm/utils/cookie.js 244 B 0 B
packages/core/dist/esm/utils/deepEqual.js 437 B 0 B
packages/core/dist/esm/utils/deserialize.js 175 B 0 B
packages/core/dist/esm/utils/extractRpcUrls.js 131 B 0 B
packages/core/dist/esm/utils/getAction.js 273 B 0 B
packages/core/dist/esm/utils/getUnit.js 1 kB 0 B
packages/core/dist/esm/utils/getVersion.js 249 B 0 B
packages/core/dist/esm/utils/normalizeChainId.js 83 B 0 B
packages/core/dist/esm/utils/serialize.js 0 B 0 B 🆕
packages/core/dist/esm/utils/uid.js 0 B 0 B 🆕
packages/core/dist/esm/version.js 266 B 0 B
packages/core/dist/types 0 B 0 B 🆕
packages/core/dist/types/actions 605 B 0 B
packages/core/dist/types/actions/call.d.ts 739 B 0 B
packages/core/dist/types/actions/codegen 587 B 0 B
packages/core/dist/types/actions/codegen/createReadContract.d.ts 778 B 0 B
packages/core/dist/types/actions/codegen/createSimulateContract.d.ts 491 B 0 B
packages/core/dist/types/actions/codegen/createWatchContractEvent.d.ts 577 B 0 B
packages/core/dist/types/actions/codegen/createWriteContract.d.ts 301 B 0 B
packages/core/dist/types/actions/connect.d.ts 503 B 0 B
packages/core/dist/types/actions/deployContract.d.ts 525 B 0 B
packages/core/dist/types/actions/disconnect.d.ts 416 B 0 B
packages/core/dist/types/actions/estimateFeesPerGas.d.ts 441 B 0 B
packages/core/dist/types/actions/estimateGas.d.ts 428 B 0 B
packages/core/dist/types/actions/estimateMaxPriorityFeePerGas.d.ts 551 B 0 B
packages/core/dist/types/actions/getAccount.d.ts 367 B 0 B
packages/core/dist/types/actions/getBalance.d.ts 378 B 0 B
packages/core/dist/types/actions/getBlock.d.ts 326 B 0 B
packages/core/dist/types/actions/getBlockNumber.d.ts 226 B 0 B
packages/core/dist/types/actions/getBlockTransactionCount.d.ts 243 B 0 B
packages/core/dist/types/actions/getBytecode.d.ts 405 B 0 B
packages/core/dist/types/actions/getChainId.d.ts 216 B 0 B
packages/core/dist/types/actions/getChains.d.ts 537 B 0 B
packages/core/dist/types/actions/getClient.d.ts 200 B 0 B
packages/core/dist/types/actions/getConnections.d.ts 329 B 0 B
packages/core/dist/types/actions/getConnectorClient.d.ts 327 B 0 B
packages/core/dist/types/actions/getConnectors.d.ts 325 B 0 B
packages/core/dist/types/actions/getEnsAddress.d.ts 329 B 0 B
packages/core/dist/types/actions/getEnsAvatar.d.ts 325 B 0 B
packages/core/dist/types/actions/getEnsName.d.ts 364 B 0 B
packages/core/dist/types/actions/getEnsResolver.d.ts 353 B 0 B
packages/core/dist/types/actions/getEnsText.d.ts 321 B 0 B
packages/core/dist/types/actions/getFeeHistory.d.ts 412 B 0 B
packages/core/dist/types/actions/getGasPrice.d.ts 327 B 0 B
packages/core/dist/types/actions/getProof.d.ts 409 B 0 B
packages/core/dist/types/actions/getPublicClient.d.ts 488 B 0 B
packages/core/dist/types/actions/getStorageAt.d.ts 439 B 0 B
packages/core/dist/types/actions/getToken.d.ts 333 B 0 B
packages/core/dist/types/actions/getTransaction.d.ts 493 B 0 B
packages/core/dist/types/actions/getTransactionConfirmations.d.ts 409 B 0 B
packages/core/dist/types/actions/getTransactionCount.d.ts 358 B 0 B
packages/core/dist/types/actions/getTransactionReceipt.d.ts 637 B 0 B
packages/core/dist/types/actions/getWalletClient.d.ts 443 B 0 B
packages/core/dist/types/actions/multicall.d.ts 397 B 0 B
packages/core/dist/types/actions/prepareTransactionRequest.d.ts 336 B 0 B
packages/core/dist/types/actions/readContract.d.ts 595 B 0 B
packages/core/dist/types/actions/readContracts.d.ts 365 B 0 B
packages/core/dist/types/actions/reconnect.d.ts 487 B 0 B
packages/core/dist/types/actions/sendTransaction.d.ts 767 B 0 B
packages/core/dist/types/actions/signMessage.d.ts 387 B 0 B
packages/core/dist/types/actions/signTypedData.d.ts 544 B 0 B
packages/core/dist/types/actions/simulateContract.d.ts 329 B 0 B
packages/core/dist/types/actions/switchAccount.d.ts 419 B 0 B
packages/core/dist/types/actions/switchChain.d.ts 469 B 0 B
packages/core/dist/types/actions/verifyMessage.d.ts 281 B 0 B
packages/core/dist/types/actions/verifyTypedData.d.ts 351 B 0 B
packages/core/dist/types/actions/waitForTransactionReceipt.d.ts 495 B 0 B
packages/core/dist/types/actions/watchAccount.d.ts 581 B 0 B
packages/core/dist/types/actions/watchAsset.d.ts 280 B 0 B
packages/core/dist/types/actions/watchBlockNumber.d.ts 419 B 0 B
packages/core/dist/types/actions/watchBlocks.d.ts 321 B 0 B
packages/core/dist/types/actions/watchChainId.d.ts 264 B 0 B
packages/core/dist/types/actions/watchChains.d.ts 264 B 0 B
packages/core/dist/types/actions/watchClient.d.ts 600 B 0 B
packages/core/dist/types/actions/watchConnections.d.ts 504 B 0 B
packages/core/dist/types/actions/watchConnectors.d.ts 327 B 0 B
packages/core/dist/types/actions/watchContractEvent.d.ts 674 B 0 B
packages/core/dist/types/actions/watchPendingTransactions.d.ts 0 B 0 B 🆕
packages/core/dist/types/actions/watchPublicClient.d.ts 810 B 0 B
packages/core/dist/types/actions/writeContract.d.ts 1.44 kB 0 B
packages/core/dist/types/connectors 424 B 0 B
packages/core/dist/types/connectors/createConnector.d.ts 1.43 kB 0 B
packages/core/dist/types/connectors/injected.d.ts 451 B 0 B
packages/core/dist/types/connectors/mock.d.ts 537 B 0 B
packages/core/dist/types/createConfig.d.ts 0 B 0 B 🆕
packages/core/dist/types/createEmitter.d.ts 401 B 0 B
packages/core/dist/types/createStorage.d.ts 430 B 0 B
packages/core/dist/types/errors 263 B 0 B
packages/core/dist/types/errors/base.d.ts 0 B 0 B 🆕
packages/core/dist/types/errors/config.d.ts 0 B 0 B 🆕
packages/core/dist/types/errors/connector.d.ts 309 B 0 B
packages/core/dist/types/experimental 314 B 0 B
packages/core/dist/types/experimental/actions 519 B 0 B
packages/core/dist/types/experimental/actions/getCallsStatus.d.ts 313 B 0 B
packages/core/dist/types/experimental/actions/getCapabilities.d.ts 567 B 0 B
packages/core/dist/types/experimental/actions/sendCalls.d.ts 0 B 0 B 🆕
packages/core/dist/types/experimental/actions/showCallsStatus.d.ts 634 B 0 B
packages/core/dist/types/experimental/actions/writeContracts.d.ts 611 B 0 B
packages/core/dist/types/experimental/query 466 B 0 B
packages/core/dist/types/experimental/query/getCallsStatus.d.ts 410 B 0 B
packages/core/dist/types/experimental/query/getCapabilities.d.ts 487 B 0 B
packages/core/dist/types/experimental/query/sendCalls.d.ts 0 B 0 B 🆕
packages/core/dist/types/experimental/query/showCallsStatus.d.ts 1.42 kB 0 B
packages/core/dist/types/experimental/query/writeContracts.d.ts 81 B 0 B
packages/core/dist/types/exports 203 B 0 B
packages/core/dist/types/exports/actions.d.ts 385 B 0 B
packages/core/dist/types/exports/chains.d.ts 1.9 kB 0 B
packages/core/dist/types/exports/codegen.d.ts 305 B 0 B
packages/core/dist/types/exports/experimental.d.ts 1.27 kB 0 B
packages/core/dist/types/exports/index.d.ts 229 B 0 B
packages/core/dist/types/exports/internal.d.ts 0 B 0 B 🆕
packages/core/dist/types/exports/query.d.ts 464 B 0 B
packages/core/dist/types/hydrate.d.ts 451 B 0 B
packages/core/dist/types/query 545 B 0 B
packages/core/dist/types/query/call.d.ts 352 B 0 B
packages/core/dist/types/query/connect.d.ts 660 B 0 B
packages/core/dist/types/query/deployContract.d.ts 511 B 0 B
packages/core/dist/types/query/disconnect.d.ts 572 B 0 B
packages/core/dist/types/query/estimateFeesPerGas.d.ts 664 B 0 B
packages/core/dist/types/query/estimateGas.d.ts 599 B 0 B
packages/core/dist/types/query/estimateMaxPriorityFeePerGas.d.ts 619 B 0 B
packages/core/dist/types/query/getBalance.d.ts 526 B 0 B
packages/core/dist/types/query/getBlock.d.ts 462 B 0 B
packages/core/dist/types/query/getBlockNumber.d.ts 2.74 kB 0 B
packages/core/dist/types/query/getBlockTransactionCount.d.ts 686 B 0 B
packages/core/dist/types/query/getBytecode.d.ts 692 B 0 B
packages/core/dist/types/query/getConnectorClient.d.ts 682 B 0 B
packages/core/dist/types/query/getEnsAddress.d.ts 643 B 0 B
packages/core/dist/types/query/getEnsAvatar.d.ts 678 B 0 B
packages/core/dist/types/query/getEnsName.d.ts 681 B 0 B
packages/core/dist/types/query/getEnsResolver.d.ts 589 B 0 B
packages/core/dist/types/query/getEnsText.d.ts 468 B 0 B
packages/core/dist/types/query/getFeeHistory.d.ts 472 B 0 B
packages/core/dist/types/query/getGasPrice.d.ts 603 B 0 B
packages/core/dist/types/query/getProof.d.ts 713 B 0 B
packages/core/dist/types/query/getStorageAt.d.ts 512 B 0 B
packages/core/dist/types/query/getToken.d.ts 631 B 0 B
packages/core/dist/types/query/getTransaction.d.ts 796 B 0 B
packages/core/dist/types/query/getTransactionConfirmations.d.ts 7.75 kB 0 B
packages/core/dist/types/query/getTransactionCount.d.ts 903 B 0 B
packages/core/dist/types/query/getTransactionReceipt.d.ts 578 B 0 B
packages/core/dist/types/query/getWalletClient.d.ts 914 B 0 B
packages/core/dist/types/query/infiniteReadContracts.d.ts 863 B 0 B
packages/core/dist/types/query/prepareTransactionRequest.d.ts 353 B 0 B
packages/core/dist/types/query/readContract.d.ts 478 B 0 B
packages/core/dist/types/query/readContracts.d.ts 431 B 0 B
packages/core/dist/types/query/reconnect.d.ts 1.35 kB 0 B
packages/core/dist/types/query/sendTransaction.d.ts 668 B 0 B
packages/core/dist/types/query/signMessage.d.ts 392 B 0 B
packages/core/dist/types/query/signTypedData.d.ts 571 B 0 B
packages/core/dist/types/query/simulateContract.d.ts 539 B 0 B
packages/core/dist/types/query/switchAccount.d.ts 236 B 0 B
packages/core/dist/types/query/switchChain.d.ts 729 B 0 B
packages/core/dist/types/query/types.d.ts 550 B 0 B
packages/core/dist/types/query/utils.d.ts 935 B 0 B
packages/core/dist/types/query/verifyMessage.d.ts 448 B 0 B
packages/core/dist/types/query/verifyTypedData.d.ts 784 B 0 B
packages/core/dist/types/query/waitForTransactionReceipt.d.ts 0 B 0 B 🆕
packages/core/dist/types/query/watchAsset.d.ts 330 B 0 B
packages/core/dist/types/query/writeContract.d.ts 203 B 0 B
packages/core/dist/types/transports 0 B 0 B 🆕
packages/core/dist/types/transports/connector.d.ts 434 B 0 B
packages/core/dist/types/transports/fallback.d.ts 268 B 0 B
packages/core/dist/types/types 173 B 0 B
packages/core/dist/types/types/chain.d.ts 99 B 0 B
packages/core/dist/types/types/properties.d.ts 873 B 0 B
packages/core/dist/types/types/register.d.ts 0 B 0 B 🆕
packages/core/dist/types/types/unit.d.ts 246 B 0 B
packages/core/dist/types/types/utils.d.ts 155 B 0 B
packages/core/dist/types/utils 155 B 0 B
packages/core/dist/types/utils/cookie.d.ts 207 B 0 B
packages/core/dist/types/utils/deepEqual.d.ts 452 B 0 B
packages/core/dist/types/utils/deserialize.d.ts 134 B 0 B
packages/core/dist/types/utils/extractRpcUrls.d.ts 99 B 0 B
packages/core/dist/types/utils/getAction.d.ts 159 B 0 B
packages/core/dist/types/utils/getUnit.d.ts 375 B 0 B
packages/core/dist/types/utils/getVersion.d.ts 104 B 0 B
packages/core/dist/types/utils/normalizeChainId.d.ts 93 B 0 B
packages/core/dist/types/utils/serialize.d.ts 0 B 0 B 🆕
packages/core/dist/types/utils/uid.d.ts 2.75 kB 0 B
packages/core/dist/types/version.d.ts 269 B 0 B
packages/create-wagmi/dist 171 B 0 B
packages/create-wagmi/dist/esm 15 kB 0 B
packages/create-wagmi/dist/esm/cli.js 909 B 0 B
packages/create-wagmi/dist/esm/frameworks.js 83 B 0 B
packages/create-wagmi/dist/esm/index.test-d.js 0 B 0 B 🆕
packages/create-wagmi/dist/esm/tsconfig.build.tsbuildinfo 84 B 0 B
packages/create-wagmi/dist/esm/utils.js 213 B 0 B
packages/create-wagmi/dist/esm/version.js 73 B 0 B
packages/create-wagmi/dist/types 243 B 0 B
packages/create-wagmi/dist/types/cli.d.ts 93 B 0 B
packages/create-wagmi/dist/types/frameworks.d.ts 0 B 0 B 🆕
packages/create-wagmi/dist/types/index.test-d.d.ts 248 B 0 B
packages/create-wagmi/dist/types/utils.d.ts 0 B 0 B 🆕
packages/create-wagmi/dist/types/version.d.ts 300 B 0 B
packages/react/dist 274 B 0 B
packages/react/dist/esm 0 B 0 B 🆕
packages/react/dist/esm/context.js 0 B 0 B 🆕
packages/react/dist/esm/errors 277 B 0 B
packages/react/dist/esm/errors/base.js 330 B 0 B
packages/react/dist/esm/errors/context.js 328 B 0 B
packages/react/dist/esm/experimental 335 B 0 B
packages/react/dist/esm/experimental/hooks 332 B 0 B
packages/react/dist/esm/experimental/hooks/useCallsStatus.js 0 B 0 B 🆕
packages/react/dist/esm/experimental/hooks/useCapabilities.js 0 B 0 B 🆕
packages/react/dist/esm/experimental/hooks/useSendCalls.js 162 B 0 B
packages/react/dist/esm/experimental/hooks/useShowCallsStatus.js 166 B 0 B
packages/react/dist/esm/experimental/hooks/useWriteContracts.js 159 B 0 B
packages/react/dist/esm/exports 250 B 0 B
packages/react/dist/esm/exports/actions 163 B 0 B
packages/react/dist/esm/exports/actions.js 223 B 0 B
packages/react/dist/esm/exports/actions/experimental.js 1.15 kB 0 B
packages/react/dist/esm/exports/chains.js 204 B 0 B
packages/react/dist/esm/exports/codegen.js 0 B 0 B 🆕
packages/react/dist/esm/exports/connectors.js 0 B 0 B 🆕
packages/react/dist/esm/exports/experimental.js 380 B 0 B
packages/react/dist/esm/exports/index.js 384 B 0 B
packages/react/dist/esm/exports/query.js 386 B 0 B
packages/react/dist/esm/hooks 638 B 0 B
packages/react/dist/esm/hooks/codegen 279 B 0 B
packages/react/dist/esm/hooks/codegen/createUseReadContract.js 512 B 0 B
packages/react/dist/esm/hooks/codegen/createUseSimulateContract.js 353 B 0 B
packages/react/dist/esm/hooks/codegen/createUseWatchContractEvent.js 492 B 0 B
packages/react/dist/esm/hooks/codegen/createUseWriteContract.js 495 B 0 B
packages/react/dist/esm/hooks/useAccount.js 330 B 0 B
packages/react/dist/esm/hooks/useAccountEffect.js 354 B 0 B
packages/react/dist/esm/hooks/useBalance.js 309 B 0 B
packages/react/dist/esm/hooks/useBlock.js 272 B 0 B
packages/react/dist/esm/hooks/useBlockNumber.js 275 B 0 B
packages/react/dist/esm/hooks/useBlockTransactionCount.js 318 B 0 B
packages/react/dist/esm/hooks/useBytecode.js 260 B 0 B
packages/react/dist/esm/hooks/useCall.js 480 B 0 B
packages/react/dist/esm/hooks/useChainId.js 273 B 0 B
packages/react/dist/esm/hooks/useChains.js 750 B 0 B
packages/react/dist/esm/hooks/useClient.js 272 B 0 B
packages/react/dist/esm/hooks/useConfig.js 325 B 0 B
packages/react/dist/esm/hooks/useConnect.js 357 B 0 B
packages/react/dist/esm/hooks/useConnections.js 355 B 0 B
packages/react/dist/esm/hooks/useConnectorClient.js 353 B 0 B
packages/react/dist/esm/hooks/useConnectors.js 354 B 0 B
packages/react/dist/esm/hooks/useDeployContract.js 356 B 0 B
packages/react/dist/esm/hooks/useDisconnect.js 360 B 0 B
packages/react/dist/esm/hooks/useEnsAddress.js 325 B 0 B
packages/react/dist/esm/hooks/useEnsAvatar.js 406 B 0 B
packages/react/dist/esm/hooks/useEnsName.js 334 B 0 B
packages/react/dist/esm/hooks/useEnsResolver.js 377 B 0 B
packages/react/dist/esm/hooks/useEnsText.js 320 B 0 B
packages/react/dist/esm/hooks/useEstimateFeesPerGas.js 378 B 0 B
packages/react/dist/esm/hooks/useEstimateGas.js 362 B 0 B
packages/react/dist/esm/hooks/useEstimateMaxPriorityFeePerGas.js 365 B 0 B
packages/react/dist/esm/hooks/useFeeHistory.js 327 B 0 B
packages/react/dist/esm/hooks/useGasPrice.js 429 B 0 B
packages/react/dist/esm/hooks/useInfiniteReadContracts.js 504 B 0 B
packages/react/dist/esm/hooks/usePrepareTransactionRequest.js 328 B 0 B
packages/react/dist/esm/hooks/useProof.js 324 B 0 B
packages/react/dist/esm/hooks/usePublicClient.js 320 B 0 B
packages/react/dist/esm/hooks/useReadContract.js 326 B 0 B
packages/react/dist/esm/hooks/useReadContracts.js 453 B 0 B
packages/react/dist/esm/hooks/useReconnect.js 363 B 0 B
packages/react/dist/esm/hooks/useSendTransaction.js 362 B 0 B
packages/react/dist/esm/hooks/useSignMessage.js 339 B 0 B
packages/react/dist/esm/hooks/useSignTypedData.js 634 B 0 B
packages/react/dist/esm/hooks/useSimulateContract.js 365 B 0 B
packages/react/dist/esm/hooks/useStorageAt.js 385 B 0 B
packages/react/dist/esm/hooks/useSwitchAccount.js 386 B 0 B
packages/react/dist/esm/hooks/useSwitchChain.js 360 B 0 B
packages/react/dist/esm/hooks/useSyncExternalStoreWithTracked.js 358 B 0 B
packages/react/dist/esm/hooks/useToken.js 375 B 0 B
packages/react/dist/esm/hooks/useTransaction.js 405 B 0 B
packages/react/dist/esm/hooks/useTransactionConfirmations.js 365 B 0 B
packages/react/dist/esm/hooks/useTransactionCount.js 826 B 0 B
packages/react/dist/esm/hooks/useTransactionReceipt.js 318 B 0 B
packages/react/dist/esm/hooks/useVerifyMessage.js 533 B 0 B
packages/react/dist/esm/hooks/useVerifyTypedData.js 544 B 0 B
packages/react/dist/esm/hooks/useWaitForTransactionReceipt.js 557 B 0 B
packages/react/dist/esm/hooks/useWalletClient.js 523 B 0 B
packages/react/dist/esm/hooks/useWatchAsset.js 322 B 0 B
packages/react/dist/esm/hooks/useWatchBlockNumber.js 403 B 0 B
packages/react/dist/esm/hooks/useWatchBlocks.js 90.5 kB 0 B
packages/react/dist/esm/hooks/useWatchContractEvent.js 0 B 0 B 🆕
packages/react/dist/esm/hooks/useWatchPendingTransactions.js 69 B 0 B
packages/react/dist/esm/hooks/useWriteContract.js 0 B 0 B 🆕
packages/react/dist/esm/hydrate.js 125 B 0 B
packages/react/dist/esm/tsconfig.build.tsbuildinfo 423 B 0 B
packages/react/dist/esm/types 84 B 0 B
packages/react/dist/esm/types/properties.js 0 B 0 B 🆕
packages/react/dist/esm/utils 320 B 0 B
packages/react/dist/esm/utils/getVersion.js 0 B 0 B 🆕
packages/react/dist/esm/utils/query.js 187 B 0 B
packages/react/dist/esm/version.js 191 B 0 B
packages/react/dist/types 0 B 0 B 🆕
packages/react/dist/types/context.d.ts 0 B 0 B 🆕
packages/react/dist/types/errors 409 B 0 B
packages/react/dist/types/errors/base.d.ts 410 B 0 B
packages/react/dist/types/errors/context.d.ts 472 B 0 B
packages/react/dist/types/experimental 446 B 0 B
packages/react/dist/types/experimental/hooks 522 B 0 B
packages/react/dist/types/experimental/hooks/useCallsStatus.d.ts 0 B 0 B 🆕
packages/react/dist/types/experimental/hooks/useCapabilities.d.ts 0 B 0 B 🆕
packages/react/dist/types/experimental/hooks/useSendCalls.d.ts 89 B 0 B
packages/react/dist/types/experimental/hooks/useShowCallsStatus.d.ts 94 B 0 B
packages/react/dist/types/experimental/hooks/useWriteContracts.d.ts 81 B 0 B
packages/react/dist/types/exports 223 B 0 B
packages/react/dist/types/exports/actions 87 B 0 B
packages/react/dist/types/exports/actions.d.ts 222 B 0 B
packages/react/dist/types/exports/actions/experimental.d.ts 1.55 kB 0 B
packages/react/dist/types/exports/chains.d.ts 178 B 0 B
packages/react/dist/types/exports/codegen.d.ts 0 B 0 B 🆕
packages/react/dist/types/exports/connectors.d.ts 0 B 0 B 🆕
packages/react/dist/types/exports/experimental.d.ts 748 B 0 B
packages/react/dist/types/exports/index.d.ts 732 B 0 B
packages/react/dist/types/exports/query.d.ts 645 B 0 B
packages/react/dist/types/hooks 1.01 kB 0 B
packages/react/dist/types/hooks/codegen 281 B 0 B
packages/react/dist/types/hooks/codegen/createUseReadContract.d.ts 352 B 0 B
packages/react/dist/types/hooks/codegen/createUseSimulateContract.d.ts 406 B 0 B
packages/react/dist/types/hooks/codegen/createUseWatchContractEvent.d.ts 596 B 0 B
packages/react/dist/types/hooks/codegen/createUseWriteContract.d.ts 536 B 0 B
packages/react/dist/types/hooks/useAccount.d.ts 462 B 0 B
packages/react/dist/types/hooks/useAccountEffect.d.ts 408 B 0 B
packages/react/dist/types/hooks/useBalance.d.ts 396 B 0 B
packages/react/dist/types/hooks/useBlock.d.ts 281 B 0 B
packages/react/dist/types/hooks/useBlockNumber.d.ts 282 B 0 B
packages/react/dist/types/hooks/useBlockTransactionCount.d.ts 366 B 0 B
packages/react/dist/types/hooks/useBytecode.d.ts 262 B 0 B
packages/react/dist/types/hooks/useCall.d.ts 460 B 0 B
packages/react/dist/types/hooks/useChainId.d.ts 231 B 0 B
packages/react/dist/types/hooks/useChains.d.ts 501 B 0 B
packages/react/dist/types/hooks/useClient.d.ts 232 B 0 B
packages/react/dist/types/hooks/useConfig.d.ts 483 B 0 B
packages/react/dist/types/hooks/useConnect.d.ts 415 B 0 B
packages/react/dist/types/hooks/useConnections.d.ts 404 B 0 B
packages/react/dist/types/hooks/useConnectorClient.d.ts 402 B 0 B
packages/react/dist/types/hooks/useConnectors.d.ts 400 B 0 B
packages/react/dist/types/hooks/useDeployContract.d.ts 403 B 0 B
packages/react/dist/types/hooks/useDisconnect.d.ts 400 B 0 B
packages/react/dist/types/hooks/useEnsAddress.d.ts 471 B 0 B
packages/react/dist/types/hooks/useEnsAvatar.d.ts 437 B 0 B
packages/react/dist/types/hooks/useEnsName.d.ts 419 B 0 B
packages/react/dist/types/hooks/useEnsResolver.d.ts 446 B 0 B
packages/react/dist/types/hooks/useEnsText.d.ts 443 B 0 B
packages/react/dist/types/hooks/useEstimateFeesPerGas.d.ts 526 B 0 B
packages/react/dist/types/hooks/useEstimateGas.d.ts 524 B 0 B
packages/react/dist/types/hooks/useEstimateMaxPriorityFeePerGas.d.ts 400 B 0 B
packages/react/dist/types/hooks/useFeeHistory.d.ts 372 B 0 B
packages/react/dist/types/hooks/useGasPrice.d.ts 540 B 0 B
packages/react/dist/types/hooks/useInfiniteReadContracts.d.ts 498 B 0 B
packages/react/dist/types/hooks/usePrepareTransactionRequest.d.ts 413 B 0 B
packages/react/dist/types/hooks/useProof.d.ts 472 B 0 B
packages/react/dist/types/hooks/usePublicClient.d.ts 388 B 0 B
packages/react/dist/types/hooks/useReadContract.d.ts 392 B 0 B
packages/react/dist/types/hooks/useReadContracts.d.ts 571 B 0 B
packages/react/dist/types/hooks/useReconnect.d.ts 408 B 0 B
packages/react/dist/types/hooks/useSendTransaction.d.ts 470 B 0 B
packages/react/dist/types/hooks/useSignMessage.d.ts 479 B 0 B
packages/react/dist/types/hooks/useSignTypedData.d.ts 229 B 0 B
packages/react/dist/types/hooks/useSimulateContract.d.ts 414 B 0 B
packages/react/dist/types/hooks/useStorageAt.d.ts 453 B 0 B
packages/react/dist/types/hooks/useSwitchAccount.d.ts 449 B 0 B
packages/react/dist/types/hooks/useSwitchChain.d.ts 415 B 0 B
packages/react/dist/types/hooks/useSyncExternalStoreWithTracked.d.ts 460 B 0 B
packages/react/dist/types/hooks/useToken.d.ts 404 B 0 B
packages/react/dist/types/hooks/useTransaction.d.ts 486 B 0 B
packages/react/dist/types/hooks/useTransactionConfirmations.d.ts 462 B 0 B
packages/react/dist/types/hooks/useTransactionCount.d.ts 498 B 0 B
packages/react/dist/types/hooks/useTransactionReceipt.d.ts 389 B 0 B
packages/react/dist/types/hooks/useVerifyMessage.d.ts 380 B 0 B
packages/react/dist/types/hooks/useVerifyTypedData.d.ts 437 B 0 B
packages/react/dist/types/hooks/useWaitForTransactionReceipt.d.ts 478 B 0 B
packages/react/dist/types/hooks/useWalletClient.d.ts 383 B 0 B
packages/react/dist/types/hooks/useWatchAsset.d.ts 485 B 0 B
packages/react/dist/types/hooks/useWatchBlockNumber.d.ts 258 B 0 B
packages/react/dist/types/hooks/useWatchBlocks.d.ts 0 B 0 B 🆕
packages/react/dist/types/hooks/useWatchContractEvent.d.ts 396 B 0 B
packages/react/dist/types/hooks/useWatchPendingTransactions.d.ts 0 B 0 B 🆕
packages/react/dist/types/hooks/useWriteContract.d.ts 99 B 0 B
packages/react/dist/types/hydrate.d.ts 583 B 0 B
packages/react/dist/types/types 94 B 0 B
packages/react/dist/types/types/properties.d.ts 0 B 0 B 🆕
packages/react/dist/types/utils 409 B 0 B
packages/react/dist/types/utils/getVersion.d.ts 444 B 0 B
packages/react/dist/types/utils/query.d.ts 313 B 0 B
packages/react/dist/types/version.d.ts 13.5 kB 0 B
packages/test/dist 0 B 0 B 🆕
packages/test/dist/esm 287 B 0 B
packages/test/dist/esm/chains.js 480 B 0 B
packages/test/dist/esm/clients.js 586 B 0 B
packages/test/dist/esm/config.js 356 B 0 B
packages/test/dist/esm/constants.js 128 B 0 B
packages/test/dist/esm/exports 234 B 0 B
packages/test/dist/esm/exports/index.js 78.3 kB 0 B
packages/test/dist/esm/exports/react.js 354 B 0 B
packages/test/dist/esm/exports/vue.js 0 B 0 B 🆕
packages/test/dist/esm/globalSetup.js 3 kB 0 B
packages/test/dist/esm/regex.js 3.05 kB 0 B
packages/test/dist/esm/setup.js 2.06 kB 0 B
packages/test/dist/esm/tsconfig.build.tsbuildinfo 14 kB 0 B
packages/test/dist/esm/utils.js 0 B 0 B 🆕
packages/test/dist/types 250 B 0 B
packages/test/dist/types/chains.d.ts 430 B 0 B
packages/test/dist/types/clients.d.ts 320 B 0 B
packages/test/dist/types/config.d.ts 111 B 0 B
packages/test/dist/types/constants.d.ts 114 B 0 B
packages/test/dist/types/exports 66 B 0 B
packages/test/dist/types/exports/index.d.ts 240 B 0 B
packages/test/dist/types/exports/react.d.ts 0 B 0 B 🆕
packages/test/dist/types/exports/vue.d.ts 0 B 0 B 🆕
packages/test/dist/types/globalSetup.d.ts 338 B 0 B
packages/test/dist/types/regex.d.ts 540 B 0 B
packages/test/dist/types/setup.d.ts 420 B 0 B
packages/test/dist/types/utils.d.ts 582 B 0 B
packages/vue/dist 438 B 0 B
packages/vue/dist/esm 316 B 0 B
packages/vue/dist/esm/composables 323 B 0 B
packages/vue/dist/esm/composables/useAccount.js 400 B 0 B
packages/vue/dist/esm/composables/useAccountEffect.js 352 B 0 B
packages/vue/dist/esm/composables/useBalance.js 479 B 0 B
packages/vue/dist/esm/composables/useBlockNumber.js 314 B 0 B
packages/vue/dist/esm/composables/useBytecode.js 750 B 0 B
packages/vue/dist/esm/composables/useChainId.js 304 B 0 B
packages/vue/dist/esm/composables/useChains.js 377 B 0 B
packages/vue/dist/esm/composables/useClient.js 419 B 0 B
packages/vue/dist/esm/composables/useConfig.js 418 B 0 B
packages/vue/dist/esm/composables/useConnect.js 418 B 0 B
packages/vue/dist/esm/composables/useConnections.js 484 B 0 B
packages/vue/dist/esm/composables/useConnectorClient.js 476 B 0 B
packages/vue/dist/esm/composables/useConnectors.js 323 B 0 B
packages/vue/dist/esm/composables/useDisconnect.js 320 B 0 B
packages/vue/dist/esm/composables/useEnsAddress.js 310 B 0 B
packages/vue/dist/esm/composables/useEnsAvatar.js 316 B 0 B
packages/vue/dist/esm/composables/useEnsName.js 534 B 0 B
packages/vue/dist/esm/composables/useEstimateGas.js 381 B 0 B
packages/vue/dist/esm/composables/useReadContract.js 335 B 0 B
packages/vue/dist/esm/composables/useReconnect.js 457 B 0 B
packages/vue/dist/esm/composables/useSendTransaction.js 423 B 0 B
packages/vue/dist/esm/composables/useSignMessage.js 427 B 0 B
packages/vue/dist/esm/composables/useSignTypedData.js 421 B 0 B
packages/vue/dist/esm/composables/useSimulateContract.js 408 B 0 B
packages/vue/dist/esm/composables/useSwitchAccount.js 319 B 0 B
packages/vue/dist/esm/composables/useSwitchChain.js 0 B 0 B 🆕
packages/vue/dist/esm/composables/useTransaction.js 299 B 0 B
packages/vue/dist/esm/composables/useTransactionReceipt.js 375 B 0 B
packages/vue/dist/esm/composables/useWaitForTransactionReceipt.js 0 B 0 B 🆕
packages/vue/dist/esm/composables/useWatchBlockNumber.js 0 B 0 B 🆕
packages/vue/dist/esm/composables/useWatchContractEvent.js 162 B 0 B
packages/vue/dist/esm/composables/useWriteContract.js 166 B 0 B
packages/vue/dist/esm/errors 159 B 0 B
packages/vue/dist/esm/errors/base.js 163 B 0 B
packages/vue/dist/esm/errors/plugin.js 790 B 0 B
packages/vue/dist/esm/exports 113 B 0 B
packages/vue/dist/esm/exports/actions 193 B 0 B
packages/vue/dist/esm/exports/actions.js 0 B 0 B 🆕
packages/vue/dist/esm/exports/actions/experimental.js 579 B 0 B
packages/vue/dist/esm/exports/chains.js 0 B 0 B 🆕
packages/vue/dist/esm/exports/connectors.js 156 B 0 B
packages/vue/dist/esm/exports/index.js 286 B 0 B
packages/vue/dist/esm/exports/nuxt.js 95.2 kB 0 B
packages/vue/dist/esm/exports/query.js 0 B 0 B 🆕
packages/vue/dist/esm/nuxt 69 B 0 B
packages/vue/dist/esm/nuxt/module.js 166 B 0 B
packages/vue/dist/esm/nuxt/runtime 0 B 0 B 🆕
packages/vue/dist/esm/nuxt/runtime/composables.js 579 B 0 B
packages/vue/dist/esm/plugin.js 130 B 0 B
packages/vue/dist/esm/tsconfig.build.tsbuildinfo 758 B 0 B
packages/vue/dist/esm/types 246 B 0 B
packages/vue/dist/esm/types/properties.js 83 B 0 B
packages/vue/dist/esm/types/ref.js 0 B 0 B 🆕
packages/vue/dist/esm/utils 0 B 0 B 🆕
packages/vue/dist/esm/utils/cloneDeep.js 301 B 0 B
packages/vue/dist/esm/utils/getVersion.js 371 B 0 B
packages/vue/dist/esm/utils/query.js 430 B 0 B
packages/vue/dist/esm/utils/updateState.js 573 B 0 B
packages/vue/dist/esm/version.js 427 B 0 B
packages/vue/dist/types 300 B 0 B
packages/vue/dist/types/composables 297 B 0 B
packages/vue/dist/types/composables/useAccount.d.ts 400 B 0 B
packages/vue/dist/types/composables/useAccountEffect.d.ts 283 B 0 B
packages/vue/dist/types/composables/useBalance.d.ts 456 B 0 B
packages/vue/dist/types/composables/useBlockNumber.d.ts 246 B 0 B
packages/vue/dist/types/composables/useBytecode.d.ts 539 B 0 B
packages/vue/dist/types/composables/useChainId.d.ts 245 B 0 B
packages/vue/dist/types/composables/useChains.d.ts 426 B 0 B
packages/vue/dist/types/composables/useClient.d.ts 430 B 0 B
packages/vue/dist/types/composables/useConfig.d.ts 429 B 0 B
packages/vue/dist/types/composables/useConnect.d.ts 426 B 0 B
packages/vue/dist/types/composables/useConnections.d.ts 456 B 0 B
packages/vue/dist/types/composables/useConnectorClient.d.ts 563 B 0 B
packages/vue/dist/types/composables/useConnectors.d.ts 414 B 0 B
packages/vue/dist/types/composables/useDisconnect.d.ts 473 B 0 B
packages/vue/dist/types/composables/useEnsAddress.d.ts 391 B 0 B
packages/vue/dist/types/composables/useEnsAvatar.d.ts 394 B 0 B
packages/vue/dist/types/composables/useEnsName.d.ts 605 B 0 B
packages/vue/dist/types/composables/useEstimateGas.d.ts 483 B 0 B
packages/vue/dist/types/composables/useReadContract.d.ts 490 B 0 B
packages/vue/dist/types/composables/useReconnect.d.ts 475 B 0 B
packages/vue/dist/types/composables/useSendTransaction.d.ts 486 B 0 B
packages/vue/dist/types/composables/useSignMessage.d.ts 487 B 0 B
packages/vue/dist/types/composables/useSignTypedData.d.ts 400 B 0 B
packages/vue/dist/types/composables/useSimulateContract.d.ts 497 B 0 B
packages/vue/dist/types/composables/useSwitchAccount.d.ts 486 B 0 B
packages/vue/dist/types/composables/useSwitchChain.d.ts 0 B 0 B 🆕
packages/vue/dist/types/composables/useTransaction.d.ts 187 B 0 B
packages/vue/dist/types/composables/useTransactionReceipt.d.ts 220 B 0 B
packages/vue/dist/types/composables/useWaitForTransactionReceipt.d.ts 0 B 0 B 🆕
packages/vue/dist/types/composables/useWatchBlockNumber.d.ts 0 B 0 B 🆕
packages/vue/dist/types/composables/useWatchContractEvent.d.ts 89 B 0 B
packages/vue/dist/types/composables/useWriteContract.d.ts 94 B 0 B
packages/vue/dist/types/errors 81 B 0 B
packages/vue/dist/types/errors/base.d.ts 87 B 0 B
packages/vue/dist/types/errors/plugin.d.ts 1.03 kB 0 B
packages/vue/dist/types/exports 130 B 0 B
packages/vue/dist/types/exports/actions 162 B 0 B
packages/vue/dist/types/exports/actions.d.ts 0 B 0 B 🆕
packages/vue/dist/types/exports/actions/experimental.d.ts 147 B 0 B
packages/vue/dist/types/exports/chains.d.ts 0 B 0 B 🆕
packages/vue/dist/types/exports/connectors.d.ts 98 B 0 B
packages/vue/dist/types/exports/index.d.ts 269 B 0 B
packages/vue/dist/types/exports/nuxt.d.ts 0 B 0 B 🆕
packages/vue/dist/types/exports/query.d.ts 366 B 0 B
packages/vue/dist/types/nuxt 380 B 0 B
packages/vue/dist/types/nuxt/module.d.ts 0 B 0 B 🆕
packages/vue/dist/types/nuxt/runtime 150 B 0 B
packages/vue/dist/types/nuxt/runtime/composables.d.ts 99 B 0 B
packages/vue/dist/types/plugin.d.ts 577 B 0 B
packages/vue/dist/types/types 132 B 0 B
packages/vue/dist/types/types/properties.d.ts 93 B 0 B
packages/vue/dist/types/types/ref.d.ts 0 B 0 B 🆕
packages/vue/dist/types/utils 0 B 0 B 🆕
packages/vue/dist/types/utils/cloneDeep.d.ts 0 B 0 B 🆕
packages/vue/dist/types/utils/getVersion.d.ts 0 B 0 B 🆕
packages/vue/dist/types/utils/query.d.ts 0 B 0 B 🆕
packages/vue/dist/types/utils/updateState.d.ts 0 B 0 B 🆕
packages/vue/dist/types/version.d.ts 0 B 0 B 🆕

compressed-size-action

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

Attention: Patch coverage is 29.26829% with 29 lines in your changes missing coverage. Please review.

Project coverage is 70.37%. Comparing base (a853dce) to head (f490398).
Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
packages/core/src/hydrate.ts 0.00% 18 Missing ⚠️
packages/core/src/createConfig.ts 52.17% 11 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (a853dce) and HEAD (f490398). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (a853dce) HEAD (f490398)
3 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4343       +/-   ##
===========================================
- Coverage   93.51%   70.37%   -23.14%     
===========================================
  Files         278      259       -19     
  Lines        7091     6606      -485     
  Branches      807      545      -262     
===========================================
- Hits         6631     4649     -1982     
- Misses        448     1934     +1486     
- Partials       12       23       +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

vercel bot commented Oct 16, 2024

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

Name Status Preview Comments Updated (UTC)
wagmi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 21, 2024 5:43pm

@tmm
Copy link
Member Author

tmm commented Oct 16, 2024

Open thoughts:

  • Could imagine someone setting an invalid RDNS to filter out another connector. We can make sure this doesn't happen for built-in connectors, but someone could easily do downstream (e.g. Connector A sets rdns to 'com.connector.b' so their connector overrides Connector B).
  • Maybe there is an approach that inverts control to make this easier for folks, where we don't need to change core code? Lots of devs use higher-level "Connect Wallet" libraries so maybe less of an issue for us to solve.
  • Want to avoid hardcoding values (e.g. 'com.example.wallet') if possible. It's annoying and error prone.

@abretonc7s
Copy link
Collaborator

Open thoughts:

  • Could imagine someone setting an invalid RDNS to filter out another connector. We can make sure this doesn't happen for built-in connectors, but someone could easily do downstream (e.g. Connector A sets rdns to 'com.connector.b' so their connector overrides Connector B).
  • Maybe there is an approach that inverts control to make this easier for folks, where we don't need to change core code? Lots of devs use higher-level "Connect Wallet" libraries so maybe less of an issue for us to solve.
  • Want to avoid hardcoding values (e.g. 'com.example.wallet') if possible. It's annoying and error prone.

I totally get the concern about setting an invalid rdns. To reduce that risk, we can limit the use of rdns to default built-in connectors... A simple validation check could ensure that only valid or registered rdns values are used, which would prevent any issues with third-party connectors while keeping things stable for the built-ins.

As for hardcoded values, the rdns for well-known connectors like MetaMask and Coinbase is stable and specific to those connectors, so it’s not really arbitrary or prone to errors. For third-party connectors, developers could handle these identifiers however they want. Wagmi could also expose the mechanism used for the default connectors so developers have the option to extend it if needed, without messing with the core code.

@BjornGunnarsson
Copy link
Collaborator

hey @tmm, thanks for drafting this up.

To clarify, we are specifically addressing scenarios where developers are integrating the MetaMask SDK[it's opt-in], aiming to offer a more feature-rich experience, including mobile wallet support.
Our goal is to resolve the pain point for users who wish to use the mobile wallet, which is not compatible with the injected provider.

The core package is focused on supporting the most widely used and popular connectors, including MetaMask. As such, hardcoding the reverse DNS (RDNS) for these specific connectors is a logical approach. This would not disrupt downstream libraries but would instead enhance the core functionality by not adding extra filtering logic there where you have already made a decision on the wagmi/connector level.

@tmm tmm marked this pull request as ready for review October 21, 2024 16:56
@@ -257,7 +263,7 @@ export function metaMask(parameters: MetaMaskParameters = {}) {
parameters.dappMetadata ??
(typeof window !== 'undefined'
? { url: window.location.origin }
: { name: 'wagmi' }),
: { name: 'wagmi', url: 'https://wagmi.sh' }),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error spamming SSR (e.g. Next.js) without a URL set

@tmm tmm merged commit f43e074 into main Oct 21, 2024
7 of 10 checks passed
@tmm tmm deleted the tmm/6963-rdns-filter branch October 21, 2024 17:38
EdouardBougon added a commit to EdouardBougon/carbon-app that referenced this pull request Oct 22, 2024
Wagmi, with its latest version, has directly implemented connector deduplication.
If a custom provider (MetaMask or Coinbase Wallet) is added to the configuration, it will automatically replace the equivalent EIP-6963 connector if detected. Therefore, there is no longer a need to detect and filter them beforehand.

Link: wevm/wagmi#4343
EdouardBougon added a commit to EdouardBougon/carbon-app that referenced this pull request Oct 23, 2024
Wagmi, with its latest version, has directly implemented connector deduplication.
If a custom provider (MetaMask or Coinbase Wallet) is added to the configuration, it will automatically replace the equivalent EIP-6963 connector if detected. Therefore, there is no longer a need to detect and filter them beforehand.

Link: wevm/wagmi#4343
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.

3 participants