@typus/typus-sdk 1.2.71 → 1.2.72

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.
@@ -585,8 +585,20 @@ function parseVaultInfo(vaults, Index, action) {
585
585
  optionType = "Capped Put";
586
586
  break;
587
587
  case "6":
588
- optionType = "Call Selling";
589
- break;
588
+ switch (action) {
589
+ case "DepositEvent":
590
+ case "WithdrawEvent":
591
+ case "UnsubscribeEvent":
592
+ case "ClaimEvent":
593
+ case "CompoundEvent":
594
+ case "HarvestEvent":
595
+ case "RedeemEvent":
596
+ optionType = "Call Selling";
597
+ break;
598
+ default:
599
+ optionType = "Capped Call";
600
+ break;
601
+ }
590
602
  default:
591
603
  optionType = "";
592
604
  break;
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.71",
5
+ "version": "1.2.72",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.7.12",