@types/isomorphic-git__openpgp-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

Installation

npm install --save @types/isomorphic-git__openpgp-plugin

Summary

This package contains type definitions for @isomorphic-git/openpgp-plugin (https://github.com/isomorphic-git/openpgp-plugin#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/isomorphic-git__openpgp-plugin.

export interface SignOptions {
    payload: string;
    secretKey: string;
}

export interface VerifyOptions {
    payload: string;
    publicKey: string;
    signature: string;
}

export const pgp: {
    sign(options: SignOptions): Promise<{
        signature: string;
    }>;

    verify(options: VerifyOptions): Promise<{
        valid: string[];
        invalid: string[];
    }>;
};

Additional Details

  • Last updated: Wed, 08 May 2024 23:36:01 GMT
  • Dependencies: none

Credits

These definitions were written by Kyle Hensel.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/isomorphic-git__openpgp-plugin

Weekly Downloads

1

Version

0.0.0

License

MIT

Unpacked Size

3.48 kB

Total Files

5

Last publish

Collaborators

  • types