Add lbry.publish()
This commit is contained in:
parent
1aac7576ae
commit
d9c6787fac
1 changed files with 5 additions and 0 deletions
|
@ -151,6 +151,11 @@ lbry.revealFile = function(path, callback) {
|
|||
lbry.call('reveal', { path: path }, callback);
|
||||
}
|
||||
|
||||
lbry.publish = function(params, callback) {
|
||||
// Use ES6 named arguments instead of directly passing param dict?
|
||||
lbry.call('publish', params, callback);
|
||||
}
|
||||
|
||||
lbry.getVersionInfo = function(callback) {
|
||||
lbry.call('version', {}, callback);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue