chore(deps-dev): bump flow-bin from 0.98.1 to 0.99.1
This commit is contained in:
10
web3.js/flow-typed/superstruct.js
vendored
10
web3.js/flow-typed/superstruct.js
vendored
@ -1,5 +1,13 @@
|
||||
declare module 'superstruct' {
|
||||
declare type StructFunc = {
|
||||
(any): any,
|
||||
union(schema: any): any;
|
||||
list(schema: any): any;
|
||||
literal(schema: any): any;
|
||||
|
||||
};
|
||||
|
||||
declare module.exports: {
|
||||
struct(schema: any): any;
|
||||
struct: StructFunc;
|
||||
}
|
||||
}
|
||||
|
8
web3.js/flow-typed/tweetnacl.js
vendored
8
web3.js/flow-typed/tweetnacl.js
vendored
@ -4,9 +4,15 @@ declare module "tweetnacl" {
|
||||
secretKey: Buffer;
|
||||
};
|
||||
|
||||
declare type KeypairFunc = {
|
||||
(): KeyPair,
|
||||
fromSecretKey(secretKey: Buffer): KeyPair,
|
||||
fromSeed(seed: Uint8Array): KeyPair,
|
||||
|
||||
};
|
||||
declare module.exports: {
|
||||
sign: {
|
||||
keyPair(): KeyPair;
|
||||
keyPair: KeypairFunc;
|
||||
detached(text: Buffer, secretKey: Buffer): Buffer;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user