@wtflabs/x402 0.0.1-beta.2 → 0.0.1-beta.3

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.
@@ -1719,11 +1719,7 @@ async function signPermit(walletClient, { owner, spender, value, deadline }, { a
1719
1719
  abi: erc20PermitABI,
1720
1720
  functionName: "name"
1721
1721
  }),
1722
- walletClient.readContract({
1723
- address: tokenAddress,
1724
- abi: erc20PermitABI,
1725
- functionName: "version"
1726
- })
1722
+ getVersion(walletClient, tokenAddress)
1727
1723
  ]);
1728
1724
  } else {
1729
1725
  throw new Error("Local account signing for permit requires a connected client");