diff --git a/dist/bundle.js b/dist/bundle.js index 297ffc4..3b60adc 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -2347,6 +2347,16 @@ Lbry.utxo_release = function () { return daemonCallWithResult('utxo_release', params); }; +// sync +Lbry.sync_hash = function () { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return daemonCallWithResult('sync_hash', params); +}; +Lbry.sync_apply = function () { + var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return daemonCallWithResult('sync_apply', params); +}; + Lbry.connectPromise = null; Lbry.connect = function () { if (Lbry.connectPromise === null) { diff --git a/src/lbry.js b/src/lbry.js index 765ac27..3554362 100644 --- a/src/lbry.js +++ b/src/lbry.js @@ -93,6 +93,10 @@ Lbry.claim_tip = (params = {}) => daemonCallWithResult('claim_tip', params); Lbry.transaction_list = (params = {}) => daemonCallWithResult('transaction_list', params); Lbry.utxo_release = (params = {}) => daemonCallWithResult('utxo_release', params); +// sync +Lbry.sync_hash = (params = {}) => daemonCallWithResult('sync_hash', params); +Lbry.sync_apply = (params = {}) => daemonCallWithResult('sync_apply', params); + Lbry.connectPromise = null; Lbry.connect = () => { if (Lbry.connectPromise === null) {