From now on you don't need to use dynamic imports to get work @perawallet/connect on your SSR applications. Importing it directly will work without any issues.
import {PeraWalletConnect} from "@perawallet/connect";
Sign guidance on desktop
Desktop users will be guided to their mobile devices when they try to sign a transaction with a simple & animated toast message. It can be disabled completely or can be closed conditionally, see the example below.
import {PeraWalletConnect, closePeraWalletSignTxnToast} from "@perawallet/connect";
// This will disable the sign guidance toast completely.
new PeraWalletConnect({shouldShowSignTxnToast: false});
// This will close the toast immediately
closePeraWalletSignTxnToast();
Changelog
0.1.6
Better Server Side Rendering support is here!
From now on you don't need to use dynamic imports to get work
@perawallet/connect
on your SSR applications. Importing it directly will work without any issues.Sign guidance on desktop
Desktop users will be guided to their mobile devices when they try to sign a transaction with a simple & animated toast message. It can be disabled completely or can be closed conditionally, see the example below.