@aurigami/sdk 1.1.6 → 1.1.7

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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.6",
2
+ "version": "1.1.7",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -177,7 +177,7 @@ export class MoneyMarketRead extends BlockchainEntityRead {
177
177
  depositApy: depositAPY!,
178
178
  depositPlyApy: depositPlyApy.toNumber(),
179
179
  borrowApy: borrowAPY!,
180
- borrowPlyApy: borrowPlyApy.toNumber(),
180
+ borrowPlyApy: borrowPlyApy.toNumber() * -1,
181
181
  collateralRatio: collateralRatio!,
182
182
  depositPlyPerWeek: new TokenAmount(
183
183
  PLYToken,
@@ -188,7 +188,7 @@ export class MoneyMarketRead extends BlockchainEntityRead {
188
188
  rewardSpeeds!.plyRewardBorrowSpeed.mul(ONE_DAY).mul(7).toString()
189
189
  ),
190
190
  depositNEARApy: depositNEARApy.toNumber(),
191
- borrowNEARApy: borrowNEARApy.toNumber(),
191
+ borrowNEARApy: borrowNEARApy.toNumber() * -1,
192
192
  depositMETAApy: depositMETAApy.toNumber()
193
193
  };
194
194
  }