Skip to content

Commit

Permalink
fix: changed auth request rejection code
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciosantise committed Sep 2, 2024
1 parent fd4c33b commit 63021e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wallets/rn_cli_wallet/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ android {
applicationId "com.walletconnect.web3wallet.rnsample"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36
versionCode 37
versionName "1.0"
resValue "string", "build_config_package", "com.walletconnect.web3wallet.rnsample"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ export default function SessionAuthenticateModal() {
setIsLoadingReject(true);
await web3wallet.rejectSessionAuthenticate({
id: authRequest.id,
reason: getSdkError('USER_REJECTED'),
reason: {
code: 12001,
message: 'User rejected auth request',
},
});
} catch (e) {
console.log((e as Error).message, 'error');
Expand Down

0 comments on commit 63021e4

Please sign in to comment.