@ape.swap/bonds-sdk 1.0.390 → 1.0.392

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.
@@ -190,8 +190,8 @@ var Bonds = function (_a) {
190
190
  bValue = remainingPercentage(b);
191
191
  }
192
192
  else if (sortConfig.key === 'terms') {
193
- aValue = remainingPercentage(a);
194
- bValue = remainingPercentage(b);
193
+ aValue = vestingTime(a.vestingTerm).days;
194
+ bValue = vestingTime(b.vestingTerm).days;
195
195
  }
196
196
  else {
197
197
  aValue = a[sortConfig.key];
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.390",
6
+ "version": "1.0.392",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",