Add lbry.getSizeForName()

This commit is contained in:
Alex Liebowitz 2016-12-09 04:57:13 -05:00
parent 0b58ae6e6e
commit d59c5c2a1c

View file

@ -36,6 +36,10 @@ var lighthouse = {
}
lighthouse.call('search', [query], callback, errorCallback, function() { handleSearchFailed() }, lighthouse._search_timeout);
},
getSizeForName: function(name, callback, errorCallback, connectFailedCallback, timeout) {
return lighthouse.call('get_size_for_name', [name], callback, errorCallback, connectFailedCallback, timeout);
}
};