Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/lib

Index

Functions

addressToString

  • addressToString(address: Address | string): string

asyncSetImmediate

  • asyncSetImmediate(): Promise<unknown>

caseInsensitiveEqual

  • caseInsensitiveEqual(left: string, right: string): boolean

sleep

  • sleep(ms: number): Promise<unknown>

validateExpiration

  • validateExpiration(expiration: number): void

validateSecret

  • validateSecret(secret: string): void

validateSecretAndHash

  • validateSecretAndHash(secret: string, secretHash: string): void

validateSecretHash

  • validateSecretHash(secretHash: string): void

validateValue

Generated using TypeDoc