Open sirpy opened 9 months ago
For wallet connect it is possible to check the returned supported methods, maybe it is possible to verify for other wallets in some other way https://github.com/Uniswap/widgets/blob/e66edb659a299bdee046afd3e49b294b8948e642/src/hooks/usePermit.ts#L138
maybe also allow the dev embedding the widget to force usage of approve
anyone?
with a wallet that doesnt support it, swapping works fine on app.uniswap.org but doesnt work with the widget
For wallet connect it is possible to check the returned supported methods, maybe it is possible to verify for other wallets in some other way https://github.com/Uniswap/widgets/blob/e66edb659a299bdee046afd3e49b294b8948e642/src/hooks/usePermit.ts#L138
maybe also allow the dev embedding the widget to force usage of approve