@pioneer-platform/helpers 4.0.4 → 4.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,9 +11,10 @@ type SKBigIntParams = InitialisationValueType | {
11
11
  value: number | string;
12
12
  };
13
13
  type AllowedNumberTypes = 'bigint' | 'number' | 'string';
14
+ export declare const toMultiplier: (decimal: number) => bigint;
14
15
  export declare function formatBigIntToSafeValue({ value, bigIntDecimal, decimal, }: {
15
16
  value: bigint;
16
- bigIntDecimal?: number;
17
+ bigIntDecimal?: bigint;
17
18
  decimal?: number;
18
19
  }): string;
19
20
  export declare class BigIntArithmetics {
@@ -21,11 +22,6 @@ export declare class BigIntArithmetics {
21
22
  private bigIntValue;
22
23
  private decimal?;
23
24
  static fromBigInt(value: bigint, decimal?: number): BigIntArithmetics;
24
- static shiftDecimals({ value, from, to, }: {
25
- value: InstanceType<typeof SwapKitNumber>;
26
- from: number;
27
- to: number;
28
- }): BigIntArithmetics;
29
25
  constructor(params: SKBigIntParams);
30
26
  set(value: SKBigIntParams): this;
31
27
  add(...args: InitialisationValueType[]): this;