@ape.swap/bonds-sdk 1.0.602 → 1.0.603

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.
@@ -74,7 +74,7 @@ var BondModal = function (_a) {
74
74
  switch (_a.label) {
75
75
  case 0:
76
76
  billAddress = bondData[0].billAddress;
77
- decimals = 18;
77
+ decimals = tokenDecimals !== null && tokenDecimals !== void 0 ? tokenDecimals : 18;
78
78
  _a.label = 1;
79
79
  case 1:
80
80
  _a.trys.push([1, 3, , 4]);
@@ -115,7 +115,7 @@ var BondModal = function (_a) {
115
115
  switch (_a.label) {
116
116
  case 0:
117
117
  tokenAddress = bondData[0].principalToken;
118
- decimals = 18;
118
+ decimals = tokenDecimals !== null && tokenDecimals !== void 0 ? tokenDecimals : 18;
119
119
  _a.label = 1;
120
120
  case 1:
121
121
  _a.trys.push([1, 3, , 4]);
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.602",
6
+ "version": "1.0.603",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",