diff --git a/dist/bundle.js b/dist/bundle.js index a8d4abe..cfeb439 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -2166,10 +2166,20 @@ Lbry.wallet_balance = function () { var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return daemonCallWithResult('wallet_balance', params); }; +Lbry.wallet_decrypt = function () { + return daemonCallWithResult('wallet_decrypt', {}); +}; +Lbry.wallet_encrypt = function () { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return daemonCallWithResult('wallet_encrypt', params); +}; Lbry.wallet_is_address_mine = function () { var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return daemonCallWithResult('wallet_is_address_mine', params); }; +Lbry.wallet_lock = function () { + return daemonCallWithResult('wallet_lock', {}); +}; Lbry.wallet_new_address = function () { var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return daemonCallWithResult('wallet_new_address', params); @@ -2178,19 +2188,12 @@ Lbry.wallet_send = function () { var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return daemonCallWithResult('wallet_send', params); }; -Lbry.wallet_encrypt = function () { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return daemonCallWithResult('wallet_encrypt', params); -}; -Lbry.wallet_decrypt = function () { - return daemonCallWithResult('wallet_decrypt', {}); -}; Lbry.wallet_unlock = function () { var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return daemonCallWithResult('wallet_unlock', params); }; -Lbry.wallet_lock = function () { - return daemonCallWithResult('wallet_lock', {}); +Lbry.wallet_unused_address = function () { + return daemonCallWithResult('wallet_unused_address', {}); }; // transactions diff --git a/src/lbry.js b/src/lbry.js index 2f7f340..b3fa175 100644 --- a/src/lbry.js +++ b/src/lbry.js @@ -76,14 +76,15 @@ Lbry.claim_list_by_channel = (params = {}) => daemonCallWithResult('claim_list_b // wallet Lbry.wallet_balance = (params = {}) => daemonCallWithResult('wallet_balance', params); +Lbry.wallet_decrypt = () => daemonCallWithResult('wallet_decrypt', {}); +Lbry.wallet_encrypt = (params = {}) => daemonCallWithResult('wallet_encrypt', params); Lbry.wallet_is_address_mine = (params = {}) => daemonCallWithResult('wallet_is_address_mine', params); +Lbry.wallet_lock = () => daemonCallWithResult('wallet_lock', {}); Lbry.wallet_new_address = (params = {}) => daemonCallWithResult('wallet_new_address', params); Lbry.wallet_send = (params = {}) => daemonCallWithResult('wallet_send', params); -Lbry.wallet_encrypt = (params = {}) => daemonCallWithResult('wallet_encrypt', params); -Lbry.wallet_decrypt = () => daemonCallWithResult('wallet_decrypt', {}); Lbry.wallet_unlock = (params = {}) => daemonCallWithResult('wallet_unlock', params); -Lbry.wallet_lock = () => daemonCallWithResult('wallet_lock', {}); +Lbry.wallet_unused_address = () => daemonCallWithResult('wallet_unused_address', {}); // transactions Lbry.transaction_list = (params = {}) => daemonCallWithResult('transaction_list', params);