@strkfarm/sdk 1.0.27 → 1.0.28

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.
@@ -3894,7 +3894,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
3894
3894
  const netYield = await this.netAPYGivenPools(pools);
3895
3895
  const baseFlow = {
3896
3896
  title: "Your Deposit",
3897
- subItems: [{ key: `Net yield`, value: `${(netYield * 100).toFixed(2)}%` }],
3897
+ subItems: [{ key: `Net yield`, value: `${(netYield * 100).toFixed(2)}%` }, { key: `Performance Fee`, value: `${(this.metadata.additionalInfo.feeBps / 100).toFixed(2)}%` }],
3898
3898
  linkedFlows: [],
3899
3899
  style: { backgroundColor: "#6e53dc" /* Purple */.valueOf() }
3900
3900
  };
package/dist/index.js CHANGED
@@ -3982,7 +3982,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
3982
3982
  const netYield = await this.netAPYGivenPools(pools);
3983
3983
  const baseFlow = {
3984
3984
  title: "Your Deposit",
3985
- subItems: [{ key: `Net yield`, value: `${(netYield * 100).toFixed(2)}%` }],
3985
+ subItems: [{ key: `Net yield`, value: `${(netYield * 100).toFixed(2)}%` }, { key: `Performance Fee`, value: `${(this.metadata.additionalInfo.feeBps / 100).toFixed(2)}%` }],
3986
3986
  linkedFlows: [],
3987
3987
  style: { backgroundColor: "#6e53dc" /* Purple */.valueOf() }
3988
3988
  };
package/dist/index.mjs CHANGED
@@ -3914,7 +3914,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
3914
3914
  const netYield = await this.netAPYGivenPools(pools);
3915
3915
  const baseFlow = {
3916
3916
  title: "Your Deposit",
3917
- subItems: [{ key: `Net yield`, value: `${(netYield * 100).toFixed(2)}%` }],
3917
+ subItems: [{ key: `Net yield`, value: `${(netYield * 100).toFixed(2)}%` }, { key: `Performance Fee`, value: `${(this.metadata.additionalInfo.feeBps / 100).toFixed(2)}%` }],
3918
3918
  linkedFlows: [],
3919
3919
  style: { backgroundColor: "#6e53dc" /* Purple */.valueOf() }
3920
3920
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "STRKFarm TS SDK (Meant for our internal use, but feel free to use it)",
5
5
  "typings": "dist/index.d.ts",
6
6
  "types": "dist/index.d.ts",
@@ -476,7 +476,7 @@ export class VesuRebalance extends BaseStrategy<SingleTokenInfo, SingleActionAmo
476
476
 
477
477
  const baseFlow: IInvestmentFlow = {
478
478
  title: "Your Deposit",
479
- subItems: [{key: `Net yield`, value: `${(netYield * 100).toFixed(2)}%`}],
479
+ subItems: [{key: `Net yield`, value: `${(netYield * 100).toFixed(2)}%`}, {key: `Performance Fee`, value: `${(this.metadata.additionalInfo.feeBps / 100).toFixed(2)}%`}],
480
480
  linkedFlows: [],
481
481
  style: {backgroundColor: FlowChartColors.Purple.valueOf()},
482
482
  };