update deprecated commands #196

Merged
jackrobison merged 1 commit from update-deprecated-commands into master 2017-06-05 16:50:07 +02:00
3 changed files with 4 additions and 4 deletions

View file

@ -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: {

View file

@ -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: {

View file

@ -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) {