From 80ffaa3b48cb203ea9d470fd05ff0e52d2f945a2 Mon Sep 17 00:00:00 2001 From: Max Risuhin Date: Mon, 20 Aug 2018 15:06:57 +0300 Subject: [PATCH] [#5558] Update status-go git tag and rctstatus.h methods titles Signed-off-by: Max Risuhin Signed-off-by: Andrey Shovkoplyas --- modules/react-native-status/desktop/CMakeLists.txt | 2 +- modules/react-native-status/desktop/rctstatus.h | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/react-native-status/desktop/CMakeLists.txt b/modules/react-native-status/desktop/CMakeLists.txt index 7a33754a27..ce5545c3f9 100755 --- a/modules/react-native-status/desktop/CMakeLists.txt +++ b/modules/react-native-status/desktop/CMakeLists.txt @@ -37,7 +37,7 @@ ExternalProject_Add(StatusGo_ep PREFIX ${StatusGo_PREFIX} SOURCE_DIR ${StatusGo_SOURCE_DIR} GIT_REPOSITORY https://github.com/status-im/status-go.git - GIT_TAG tags-v0.11.0^0-g4afd9e6c-302 + GIT_TAG v0.11.0 BUILD_BYPRODUCTS ${StatusGo_STATIC_LIB} CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${CONFIGURE_SCRIPT} ${GO_ROOT_PATH} ${StatusGo_ROOT} ${StatusGo_SOURCE_DIR} BUILD_COMMAND "" diff --git a/modules/react-native-status/desktop/rctstatus.h b/modules/react-native-status/desktop/rctstatus.h index b70e54a3eb..46f9fc3dc7 100644 --- a/modules/react-native-status/desktop/rctstatus.h +++ b/modules/react-native-status/desktop/rctstatus.h @@ -33,16 +33,14 @@ public: QVariantMap constantsToExport() override; Q_INVOKABLE void startNode(QString configString); - Q_INVOKABLE void shouldMoveToInternalStorage(double callbackId); - Q_INVOKABLE void moveToInternalStorage(double callbackId); Q_INVOKABLE void stopNode(); Q_INVOKABLE void createAccount(QString password, double callbackId); Q_INVOKABLE void notifyUsers(QString token, QString payloadJSON, QString tokensJSON, double callbackId); Q_INVOKABLE void addPeer(QString enode, double callbackId); Q_INVOKABLE void recoverAccount(QString passphrase, QString password, double callbackId); Q_INVOKABLE void login(QString address, QString password, double callbackId); - Q_INVOKABLE void approveSignRequests(QString hashes, QString password, double callbackId); - Q_INVOKABLE void discardSignRequest(QString id); + Q_INVOKABLE void sendTransaction(QString txArgsJSON, QString password, double callbackId); + Q_INVOKABLE void signMessage(QString rpcParams, double callbackId); Q_INVOKABLE void setAdjustResize(); Q_INVOKABLE void setAdjustPan(); @@ -50,8 +48,8 @@ public: Q_INVOKABLE void clearCookies(); Q_INVOKABLE void clearStorageAPIs(); - Q_INVOKABLE void sendWeb3Request(QString payload, double callbackId); - Q_INVOKABLE void sendWeb3PrivateRequest(QString payload, double callbackId); + Q_INVOKABLE void callRPC(QString payload, double callbackId); + Q_INVOKABLE void callPrivateRPC(QString payload, double callbackId); Q_INVOKABLE void closeApplication(); Q_INVOKABLE void getDeviceUUID(double callbackId);