From 330c80bafe64a2aa7c856a712eeda551514efe01 Mon Sep 17 00:00:00 2001 From: econdepe Date: Thu, 25 Jun 2020 11:21:42 +0200 Subject: [PATCH] getMatchingKey is async --- lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index a0bc4a0b..b99b4856 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -184,7 +184,7 @@ export function encryptMessage( export function getMatchingKey( signature: OpenPGPSignature, publicKeys: OpenPGPKey[] -): OpenPGPKey | undefined; +): Promise; interface SignOptionsPmcrypto extends Omit { data: string | Uint8Array;