chore: generate fixed types

This commit is contained in:
Irakli Gozalishvili
2020-11-30 13:59:28 -08:00
parent 4e25c6e51c
commit 7ccaf27e24
12 changed files with 120 additions and 95 deletions

View File

@ -1,5 +1,4 @@
export var rpc: any;
export var td: any;
export var RPC: any;
export var Message: any;
export var SubOpts: any;
declare const rpcProto: any;
declare const topicDescriptorProto: any;
export const RPC: any;
export { rpcProto as rpc, topicDescriptorProto as td };

View File

@ -13,7 +13,7 @@ export function messagePublicKey(message: any): Promise<any>;
* @param {Message} message
* @returns {Promise<Message>}
*/
export function signMessage(peerId: import("peer-id"), message: any): Promise<any>;
export function signMessage(peerId: PeerId, message: any): Promise<any>;
export const SignPrefix: any;
/**
* Verifies the signature of the given message
@ -21,3 +21,4 @@ export const SignPrefix: any;
* @returns {Promise<Boolean>}
*/
export function verifySignature(message: any): Promise<boolean>;
import PeerId = require("peer-id");