@mezo-org/passport 0.4.0-dev.56 → 0.4.0-dev.57

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.
@@ -6,7 +6,7 @@ import { usePortalApiClient } from "./usePortalApiClient";
6
6
  import { priceOracleContract } from "../lib/contracts";
7
7
  import { fromFloatToBigInt } from "../utils/numbers";
8
8
  const BTC_TARGET_DIGITS = 18;
9
- const T_TARGET_DIGITS = 10;
9
+ const T_TARGET_DIGITS = 18;
10
10
  // If the oracle has not been updated in at least 60 seconds, it is stale.
11
11
  const MAX_PRICE_DELAY = 60 * ONE_SECOND_MS;
12
12
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mezo-org/passport",
3
- "version": "0.4.0-dev.56",
3
+ "version": "0.4.0-dev.57",
4
4
  "main": "dist/src/index.js",
5
5
  "license": "GPL-3.0-only",
6
6
  "scripts": {
@@ -7,7 +7,7 @@ import { priceOracleContract } from "../lib/contracts"
7
7
  import { fromFloatToBigInt } from "../utils/numbers"
8
8
 
9
9
  const BTC_TARGET_DIGITS = 18
10
- const T_TARGET_DIGITS = 10
10
+ const T_TARGET_DIGITS = 18
11
11
  // If the oracle has not been updated in at least 60 seconds, it is stale.
12
12
  const MAX_PRICE_DELAY = 60 * ONE_SECOND_MS
13
13