@ape.swap/bonds-sdk 1.0.243 → 1.0.244

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.
@@ -100,7 +100,7 @@ var BondModal = function (_a) {
100
100
  }
101
101
  var youSpend = formatNumber(inputValue);
102
102
  var youSpendUSD = function (bond) {
103
- return formatUSDNumber((parseFloat(inputValue) * parseFloat(earnTokenPrice(bond))).toString());
103
+ return formatUSDNumber((parseFloat(inputValue) * parseFloat(bond.principalTokenPrice)).toString());
104
104
  };
105
105
  var youGet = function (bond) {
106
106
  var _a;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "1.0.243",
6
+ "version": "1.0.244",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",