Skip to content

Commit

Permalink
Merge pull request #130 from perawallet/next-release
Browse files Browse the repository at this point in the history
v1.2.3
  • Loading branch information
mucahit authored Apr 12, 2023
2 parents 615e8fa + 7ab1cde commit 097b959
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.2",
"version": "1.2.3",
"name": "@perawallet/connect",
"description": "JavaScript SDK for integrating Pera Wallet to web applications.",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions src/PeraWalletConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,12 @@ class PeraWalletConnect {
try {
const walletDetails = getWalletDetailsFromStorage();

if (!walletDetails) {
resolve([]);

return;
}

// ================================================= //
// Pera Wallet Web flow
if (walletDetails?.type === "pera-wallet-web") {
Expand Down

0 comments on commit 097b959

Please sign in to comment.