update dist

This commit is contained in:
woodser 2023-04-26 11:43:48 -04:00
parent b845e6c103
commit a5518819db
10 changed files with 18100 additions and 24278 deletions

View file

@ -4,7 +4,6 @@ import { PaymentAccountForm, PaymentAccountFormField } from "../protobuf/pb_pb";
*/
export default class HavenoUtils {
static logLevel: number;
static centinerosToAUMultiplier: number;
static months: string[];
static lastLogTimeMs: number;
/**
@ -42,13 +41,6 @@ export default class HavenoUtils {
* @param {String} signal - the kill signal, e.g. SIGTERM, SIGKILL, SIGINT (default)
*/
static kill(process: any, signal?: string): Promise<void>;
/**
* Convert centineros to atomic units.
*
* @param {number} centineros - denominates an amount of XMR in centineros
* @return {BigInt} the amount denominated in atomic units
*/
static centinerosToAtomicUnits(centineros: number): bigint;
/**
* Stringify a payment account form.
*
@ -79,4 +71,12 @@ export default class HavenoUtils {
* @param {number} durationMs - the duration to wait for in milliseconds
*/
static waitFor(durationMs: number): Promise<unknown>;
/**
* Divide one bigint by another.
*
* @param {bigint} a dividend
* @param {bigint} b divisor
* @returns {number} the result
*/
static divideBI(a: bigint, b: bigint): number;
}