Add lbry.publish()

This commit is contained in:
Alex Liebowitz 2016-05-23 11:05:25 -04:00
parent 1aac7576ae
commit d9c6787fac

View file

@ -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);
};