Comparing version 5.8.0 to 5.9.0
@@ -104,2 +104,3 @@ /** | ||
public update(subKey: Subkey, date?: Date, config?: Config): Promise<void> | ||
public revoke(primaryKey: SecretKeyPacket, reasonForRevocation?: ReasonForRevocation, date?: Date, config?: Config): Promise<Subkey>; | ||
} | ||
@@ -231,14 +232,13 @@ | ||
export function verify<T extends MaybeStream<Data>>(options: VerifyOptions & { message: Message<T>, format: 'binary' }): Promise<VerifyMessageResult & { | ||
data: | ||
export function verify(options: VerifyOptions & { message: CleartextMessage, format?: 'utf8' }): Promise<VerifyMessageResult<string>>; | ||
export function verify<T extends MaybeStream<Data>>(options: VerifyOptions & { message: Message<T>, format: 'binary' }): Promise<VerifyMessageResult< | ||
T extends WebStream<infer X> ? WebStream<Uint8Array> : | ||
T extends NodeStream<infer X> ? NodeStream<Uint8Array> : | ||
Uint8Array | ||
}>; | ||
export function verify<T extends MaybeStream<Data>>(options: VerifyOptions & { message: Message<T> }): Promise<VerifyMessageResult & { | ||
data: | ||
>>; | ||
export function verify<T extends MaybeStream<Data>>(options: VerifyOptions & { message: Message<T> }): Promise<VerifyMessageResult< | ||
T extends WebStream<infer X> ? WebStream<string> : | ||
T extends NodeStream<infer X> ? NodeStream<string> : | ||
string | ||
}>; | ||
>>; | ||
@@ -725,4 +725,4 @@ /** Class that represents an OpenPGP message. Can be an encrypted message, signed message, compressed message or literal message | ||
interface VerifyMessageResult { | ||
data: MaybeStream<Data>; | ||
interface VerifyMessageResult<T extends MaybeStream<Data> = MaybeStream<Data>> { | ||
data: T; | ||
signatures: VerificationResult[]; | ||
@@ -729,0 +729,0 @@ } |
{ | ||
"name": "openpgp", | ||
"description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.", | ||
"version": "5.8.0", | ||
"version": "5.9.0", | ||
"license": "LGPL-3.0+", | ||
@@ -6,0 +6,0 @@ "homepage": "https://openpgpjs.org/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22002106
207853