Skip to content

Commit

Permalink
Merge branch 'feat/wallet-connect-v2' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
yasincaliskan committed Sep 18, 2024
2 parents c0ef46f + 87f0987 commit 3da5766
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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": "2.0.17",
"version": "2.0.18",
"name": "@perawallet/connect-beta",
"description": "Beta version of Pera Wallet Connect",
"main": "dist/index.js",
Expand Down
4 changes: 3 additions & 1 deletion src/PeraWalletConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ interface PeraWalletConnectOptions {
shouldShowSignTxnToast?: boolean;
chainId?: AlgorandChainIDs;
compactMode?: boolean;
debugger?: boolean;
singleAccount?: boolean;
debugger?: boolean;
}

class PeraWalletConnect {
Expand Down Expand Up @@ -475,6 +475,8 @@ class PeraWalletConnect {
try {
try {
if (walletDetails?.chainId) {
this.checkPersistedState(this.client!);

const response = await this.client!.request<any>({
topic: this.session!.topic,
request: formattedSignTxnRequest,
Expand Down

0 comments on commit 3da5766

Please sign in to comment.