@tonappchain/sdk 0.7.0-rc12 → 0.7.0-rc13

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.
@@ -131,10 +131,12 @@ class LiteSequencerClient {
131
131
  tacPrice: {
132
132
  spot: BigInt(raw.tacPrice.spot),
133
133
  ema: BigInt(raw.tacPrice.ema),
134
+ decimals: raw.tacPrice.decimals,
134
135
  },
135
136
  tonPrice: {
136
137
  spot: BigInt(raw.tonPrice.spot),
137
138
  ema: BigInt(raw.tonPrice.ema),
139
+ decimals: raw.tonPrice.decimals,
138
140
  },
139
141
  };
140
142
  }
@@ -95,6 +95,7 @@ export type TxFinalizerConfig = {
95
95
  export type USDPriceInfoRaw = {
96
96
  spot: string;
97
97
  ema: string;
98
+ decimals: number;
98
99
  };
99
100
  export type ConvertedCurrencyRawResult = {
100
101
  spotValue: string;
@@ -356,6 +356,7 @@ export type ConvertCurrencyParams = {
356
356
  export type USDPriceInfo = {
357
357
  spot: bigint;
358
358
  ema: bigint;
359
+ decimals: number;
359
360
  };
360
361
  export type ConvertedCurrencyResult = {
361
362
  spotValue: bigint;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonappchain/sdk",
3
- "version": "0.7.0-rc12",
3
+ "version": "0.7.0-rc13",
4
4
  "repository": "https://github.com/TacBuild/tac-sdk.git",
5
5
  "author": "TAC. <developers@tac>",
6
6
  "license": "MIT",