From eb0641d82a40694c6852d4c8d437f00386a49718 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 5 Jun 2017 10:44:53 -0400 Subject: [PATCH] update deprecated commands --- ui/js/actions/settings.js | 2 +- ui/js/actions/wallet.js | 2 +- ui/js/lbry.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/js/actions/settings.js b/ui/js/actions/settings.js index 41dccd3f2..a0742d377 100644 --- a/ui/js/actions/settings.js +++ b/ui/js/actions/settings.js @@ -19,7 +19,7 @@ export function doSetDaemonSetting(key, value) { let settings = {}; settings[key] = value; lbry.settings_set(settings).then(settings) - lbry.get_settings().then((settings) => { + lbry.settings_get().then((settings) => { dispatch({ type: types.DAEMON_SETTINGS_RECEIVED, data: { diff --git a/ui/js/actions/wallet.js b/ui/js/actions/wallet.js index 79b22d8d6..53eccfa67 100644 --- a/ui/js/actions/wallet.js +++ b/ui/js/actions/wallet.js @@ -24,7 +24,7 @@ export function doFetchTransactions() { type: types.FETCH_TRANSACTIONS_STARTED }) - lbry.call('get_transaction_history', {}, (results) => { + lbry.call('transaction_list', {}, (results) => { dispatch({ type: types.FETCH_TRANSACTIONS_COMPLETED, data: { diff --git a/ui/js/lbry.js b/ui/js/lbry.js index 7b95016ac..2b400b53f 100644 --- a/ui/js/lbry.js +++ b/ui/js/lbry.js @@ -124,7 +124,7 @@ lbry.connect = function() { } lbry.checkAddressIsMine = function(address, callback) { - lbry.call('address_is_mine', {address: address}, callback); + lbry.call('wallet_is_address_mine', {address: address}, callback); } lbry.sendToAddress = function(amount, address, callback, errorCallback) { @@ -256,7 +256,7 @@ lbry.setClientSetting = function(setting, value) { } lbry.getSessionInfo = function(callback) { - lbry.call('get_lbry_session_info', {}, callback); + lbry.call('status', {session_status: true}, callback); } lbry.reportBug = function(message, callback) { -- 2.45.2