mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-12 00:10:59 -04:00
update dist
This commit is contained in:
parent
b845e6c103
commit
a5518819db
10 changed files with 18100 additions and 24278 deletions
16
dist/utils/HavenoUtils.d.ts
vendored
16
dist/utils/HavenoUtils.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue