Merge pull request #196 from lbryio/update-deprecated-commands
update deprecated commands
This commit is contained in:
commit
49b706a87c
3 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ export function doSetDaemonSetting(key, value) {
|
||||||
let settings = {};
|
let settings = {};
|
||||||
settings[key] = value;
|
settings[key] = value;
|
||||||
lbry.settings_set(settings).then(settings)
|
lbry.settings_set(settings).then(settings)
|
||||||
lbry.get_settings().then((settings) => {
|
lbry.settings_get().then((settings) => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: types.DAEMON_SETTINGS_RECEIVED,
|
type: types.DAEMON_SETTINGS_RECEIVED,
|
||||||
data: {
|
data: {
|
||||||
|
|
|
@ -24,7 +24,7 @@ export function doFetchTransactions() {
|
||||||
type: types.FETCH_TRANSACTIONS_STARTED
|
type: types.FETCH_TRANSACTIONS_STARTED
|
||||||
})
|
})
|
||||||
|
|
||||||
lbry.call('get_transaction_history', {}, (results) => {
|
lbry.call('transaction_list', {}, (results) => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: types.FETCH_TRANSACTIONS_COMPLETED,
|
type: types.FETCH_TRANSACTIONS_COMPLETED,
|
||||||
data: {
|
data: {
|
||||||
|
|
|
@ -124,7 +124,7 @@ lbry.connect = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
lbry.checkAddressIsMine = function(address, callback) {
|
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) {
|
lbry.sendToAddress = function(amount, address, callback, errorCallback) {
|
||||||
|
@ -256,7 +256,7 @@ lbry.setClientSetting = function(setting, value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
lbry.getSessionInfo = function(callback) {
|
lbry.getSessionInfo = function(callback) {
|
||||||
lbry.call('get_lbry_session_info', {}, callback);
|
lbry.call('status', {session_status: true}, callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
lbry.reportBug = function(message, callback) {
|
lbry.reportBug = function(message, callback) {
|
||||||
|
|
Loading…
Reference in a new issue