Is your feature request related to a problem? Please describe.
I want to be able to use the link in an iframe or popup instead of redirecting the complete webapp.
Describe the solution you'd like
Allowing WalletConnection to have methods that return the redirect URI instead of ultimately returning the web page.
Describe alternatives you've considered
Embedding the whole near-api-js connect into its own code space and running that into a popup.
Is your feature request related to a problem? Please describe. I want to be able to use the link in an iframe or popup instead of redirecting the complete webapp.
Describe the solution you'd like Allowing WalletConnection to have methods that return the redirect URI instead of ultimately returning the web page.
Describe alternatives you've considered Embedding the whole near-api-js connect into its own code space and running that into a popup.
Additional context https://github.com/near/near-api-js/blob/37ca2222e7afda3b77929d695b9d84bba21b418e/packages/near-api-js/src/wallet-account.ts#L199