update deprecated commands
This commit is contained in:
parent
659473bbbb
commit
eb0641d82a
3 changed files with 4 additions and 4 deletions
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue