cafe-utility
Advanced tools
Comparing version 26.3.0 to 26.4.0
@@ -509,2 +509,6 @@ type Indexable = number | string; | ||
declare function sha3_256(bytes: Uint8Array): Uint8Array; | ||
declare function proximity(one: Uint8Array, other: Uint8Array, max: number): number; | ||
declare function commonPrefix(one: Uint8Array, other: Uint8Array): Uint8Array; | ||
declare function setBit(bytes: Uint8Array, index: number, value: 0 | 1): void; | ||
declare function getBit(bytes: Uint8Array, index: number): 0 | 1; | ||
interface Uint8ArrayIO { | ||
@@ -618,2 +622,6 @@ max: () => number; | ||
sha3_256: typeof sha3_256; | ||
proximity: typeof proximity; | ||
commonPrefix: typeof commonPrefix; | ||
setBit: typeof setBit; | ||
getBit: typeof getBit; | ||
}; | ||
@@ -620,0 +628,0 @@ export declare const Random: { |
{ | ||
"name": "cafe-utility", | ||
"version": "26.3.0", | ||
"version": "26.4.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
139786
4112