Releases: perawallet/connect
Releases · perawallet/connect
1.3.5
What's Changed
New
- Added the
isPeraDiscoverBrowser
flag to enable auto-connection in the Pera Discover Browser. This flag checks if the app is opened in the Pera Discover Browser and returns aboolean
.
Before
<button onClick={handleClickConnectWallet}>Connect wallet</button>
function handleClickConnectWallet() {
openWalletOptions();
// Display wallet options
}
After
<button onClick={handleClickConnectWallet}>Connect wallet</button>
async function handleClickConnectWallet() {
if (peraWallet.isPeraDiscoverBrowser) {
const accounts = await peraWallet.connect();
// Handle connection success
} else {
openWalletOptions();
// Display wallet options
}
}
1.3.4
What's Changed
- Remove screen size conditions to handle QR code/deep-link button depending on the device by @yasincaliskan in #159
Full Changelog: 1.3.3...1.3.4
1.3.3
- Converted arbitrary data to base64 to communicate better with mobile wallet
What's Changed
- v1.3.3 by @yasincaliskan in #155
Full Changelog: 1.3.2...1.3.3
1.3.2
- Removed the embedded web wallet temporarily
- Made dynamic wallet options
Full Changelog: 1.3.1...1.3.2
1.3.1
- Compact mode is added for widgets, small screens or containers.
What's Changed
- feat: Implement compact mode by @yasincaliskan in #144
Full Changelog: 1.2.4...1.3.1
1.2.4
- Arbitrary data signing flow has been added
- Package version number has been added to the modal header
What's Changed
- chore(deep-link): Use
perawallet-wc://
deep link by @yasincaliskan in #141 - CNNCT-93 - feat: Arbitrary Data Sign by @mucahit in #128
- feat(header): add version number to header by @yigiterdev in #132
Full Changelog: 1.2.3...1.2.4
1.2.3
1.2.2
1.2.1
Fixes
- Revert version
1.2.0
signers
field changes