@typus/typus-sdk 1.2.46 → 1.2.48

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.
@@ -26,6 +26,7 @@ export interface StrategyV2 {
26
26
  accumulated_profit: string;
27
27
  remaining_balance: string | undefined;
28
28
  gain_to_harvest: string | undefined;
29
+ accumulated_cost: string | undefined;
29
30
  my_bids: {
30
31
  [key: string]: BidShare;
31
32
  };
@@ -209,6 +209,7 @@ function getUserStrategies(provider, packageId, registry, strategyPool, user
209
209
  strategy.my_bids = my_bids;
210
210
  strategy.remaining_balance = strategy.u64_padding.at(0);
211
211
  strategy.gain_to_harvest = strategy.u64_padding.at(1);
212
+ strategy.accumulated_cost = strategy.u64_padding.at(2);
212
213
  if (Number(strategy.bid_times) >= Number(strategy.max_times)) {
213
214
  strategy.status = "finished";
214
215
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typus/typus-sdk",
3
3
  "author": "Typus",
4
4
  "description": "typus sdk",
5
- "version": "1.2.46",
5
+ "version": "1.2.48",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.7.3",
8
8
  "@mysten/kiosk": "0.7.12",