@ape.swap/bonds-sdk 4.5.4-test.0 → 4.5.4-test.2

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.
@@ -39,6 +39,6 @@ export declare const getBonusColor: (premiumString: string) => string;
39
39
  * @param userPoints - User's tier points
40
40
  * @returns The principal token amount needed, or '0' if calculation cannot be performed
41
41
  */
42
- export declare const getPrincipalAmount: (bond?: BondsData, targetPayoutAmount?: number | string, userPoints?: string | null) => string;
42
+ export declare const getPrincipalAmount: (bond?: BondsData, targetPayoutAmount?: number | string, userPoints?: string | null) => BigNumber;
43
43
  export declare const getRemainingTokensString: (bond: BondsData, allowLowValueBonds?: boolean) => string;
44
44
  export declare const remainingPercentage: (bond: BondsData) => number;
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": "4.5.4-test.0",
6
+ "version": "4.5.4-test.2",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",