mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-12-01 09:59:56 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
1 parent
ef74383349
commit
19c8d69bd8
1499 files changed
+53633
-89
No files matched your search
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import type { HexString } from '@pezkuwi/util/types';
|
||||
export type { HexString } from '@pezkuwi/util/types';
|
||||
interface DualHash {
|
||||
256: (u8a: Uint8Array) => Uint8Array;
|
||||
512: (u8a: Uint8Array) => Uint8Array;
|
||||
}
|
||||
/** @internal */
|
||||
export declare function createAsHex<T extends (...args: never[]) => Uint8Array>(fn: T): (...args: Parameters<T>) => HexString;
|
||||
/** @internal */
|
||||
export declare function createBitHasher(bitLength: 256 | 512, fn: (data: string | Uint8Array, bitLength: 256 | 512, onlyJs?: boolean) => Uint8Array): (data: string | Uint8Array, onlyJs?: boolean) => Uint8Array;
|
||||
/** @internal */
|
||||
export declare function createDualHasher(wa: DualHash, js: DualHash): (value: string | Uint8Array, bitLength?: 256 | 512, onlyJs?: boolean) => Uint8Array;
|
||||
Reference in new issue
Block a user