mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-06-23 01:31:32 +00:00
Add memdown
This commit is contained in:
4
blakejs/index.d.ts
vendored
4
blakejs/index.d.ts
vendored
@ -14,7 +14,7 @@ type BlakeJsContext = {
|
||||
outlen: number
|
||||
};
|
||||
|
||||
type blakejs = {
|
||||
interface blakejs {
|
||||
blake2b: (data: Buffer | Uint8Array | string, key?: Uint8Array | null, outlen?: number) => Uint8Array,
|
||||
blake2bFinal: (context: BlakeJsContext) => Uint8Array,
|
||||
blake2bHex: (data: Buffer | Uint8Array | string, key?: Uint8Array | null, outlen?: number) => string,
|
||||
@ -25,7 +25,7 @@ type blakejs = {
|
||||
blake2sHex: (data: Buffer | Uint8Array | string, key?: Uint8Array | null, outlen?: number) => string,
|
||||
blake2sInit: (outlen?: number, key?: Uint8Array) => BlakeJsContext,
|
||||
blake2sUpdate: (context: BlakeJsContext, data: Buffer | Uint8Array | string) => void
|
||||
};
|
||||
}
|
||||
|
||||
export = blakejs;
|
||||
}
|
||||
|
Reference in New Issue
Block a user