Remove nostr-wasm, add event validation sampling
This commit is contained in:
@@ -127,7 +127,7 @@ export const mergeRight = <T extends Record<string, any>>(a: T, b: T) => ({...a,
|
||||
|
||||
export const between = ([low, high]: [number, number], n: number) => n > low && n < high
|
||||
|
||||
export const randomInt = (min = 0, max = 9) => min + Math.round(Math.random()) * (max - min)
|
||||
export const randomInt = (min = 0, max = 9) => min + Math.round(Math.random() * (max - min))
|
||||
|
||||
export const randomId = (): string => Math.random().toString().slice(2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user