Add lbry.resolveName()
This commit is contained in:
parent
6ac17ae675
commit
4593e8600d
1 changed files with 4 additions and 0 deletions
|
@ -95,6 +95,10 @@ lbry.search = function(query, callback)
|
||||||
lbry.call("search_nametrie", { "search": query }, callback);
|
lbry.call("search_nametrie", { "search": query }, callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lbry.resolveName = function(name, callback, ec) {
|
||||||
|
lbry.call('resolve_name', { 'name': name }, callback);
|
||||||
|
}
|
||||||
|
|
||||||
lbry.getStream = function(name, callback) {
|
lbry.getStream = function(name, callback) {
|
||||||
lbry.call('get', { 'name': name }, callback);
|
lbry.call('get', { 'name': name }, callback);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue