Skip to content

Commit

Permalink
Merge branch 'dev' into 'master'
Browse files Browse the repository at this point in the history
wallet connect v2

See merge request Trustee/trusteewallet!349
  • Loading branch information
Turtus committed Jul 19, 2023
2 parents 2c61a31 + c61c666 commit 721e0c7
Show file tree
Hide file tree
Showing 35 changed files with 2,129 additions and 715 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.51.5"
versionName "1.51.6"

missingDimensionStrategy 'react-native-camera', 'general'
multiDexEnabled true
Expand Down
6 changes: 3 additions & 3 deletions app/appstores/Stores/Send/SendActionsEnd.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @version 0.41
* @version 2.0
*/
import analytics from '@react-native-firebase/analytics'

Expand Down Expand Up @@ -175,7 +175,7 @@ export namespace SendActionsEnd {
}})
} else if (uiType === 'WALLET_CONNECT') {
Log.log('SendActionsEnd.endRedirect walletConnect will get ' + tx.transactionHash)
await walletConnectActions.approveRequestWalletConnect(walletConnectPayload, tx.transactionHash)
await walletConnectActions.approveRequest(walletConnectPayload, tx.transactionHash)
NavStore.goNext('AccountTransactionScreen', {
txData: {
transactionHash: tx.transactionHash,
Expand Down Expand Up @@ -203,7 +203,7 @@ export namespace SendActionsEnd {
const { bseOrderId } = bse
const data = { extraData, ...params, orderHash: bseOrderId, status: 'CLOSE' }
if (uiType === 'WALLET_CONNECT') {
await walletConnectActions.rejectRequestWalletConnect(walletConnectPayload)
await walletConnectActions.rejectRequest(walletConnectPayload)
}
if (typeof bseOrderId === 'undefined' || !bseOrderId) return
return ApiV3.setExchangeStatus(data)
Expand Down
580 changes: 405 additions & 175 deletions app/appstores/Stores/WalletConnect/WalletConnectService.js

Large diffs are not rendered by default.

Loading

0 comments on commit 721e0c7

Please sign in to comment.