From a6d654048b0bca776482d6a38c7051bea517a660 Mon Sep 17 00:00:00 2001 From: Damyan Mitev <damyan.mitev@vereign.com> Date: Tue, 10 Dec 2019 17:43:15 +0200 Subject: [PATCH] add senderEmail to signVCard --- javascript/src/iframe/viamapi-iframe.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/src/iframe/viamapi-iframe.js b/javascript/src/iframe/viamapi-iframe.js index be23ef7..1b40b92 100644 --- a/javascript/src/iframe/viamapi-iframe.js +++ b/javascript/src/iframe/viamapi-iframe.js @@ -1421,7 +1421,7 @@ const connection = Penpal.connectToParent({ // body: String if it is a text part (Content-Type = "text/...") or Uint8Array otherwise; filled for leaf MIME nodes // parts: array of instances of the same object; filled for container MIME nodes (Content-Type = "multipart/...") // } - signVCard: async (passportUUID, text, html, parts = null) => { + signVCard: async (passportUUID, senderEmail, text, html, parts = null) => { const authenticationPublicKey = localStorage.getItem( "authenticatedIdentity" ); @@ -1541,7 +1541,7 @@ const connection = Penpal.connectToParent({ const keys = await createOneTimePassportCertificate( makeid() + "-" + passportUUID, - null, + senderEmail, passportPrivateKey, passportCertificate ); -- GitLab