Merge branch 'unifiedMetadata' into staging

This commit is contained in:
yflory
2019-08-19 15:27:59 +02:00
8 changed files with 136 additions and 77 deletions

View File

@@ -764,6 +764,10 @@ define([
postMessage("GIVE_PAD_ACCESS", data, cb);
};
common.getPadMetadata = function (data, cb) {
postMessage('GET_PAD_METADATA', data, cb);
};
common.changePadPassword = function (Crypt, href, newPassword, edPublic, cb) {
if (!href) { return void cb({ error: 'EINVAL_HREF' }); }
var parsed = Hash.parsePadUrl(href);