@typus/typus-sdk 1.3.26-tails-staking → 1.3.27-tails-staking

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.
@@ -180,7 +180,8 @@ function parseTxHistory(datas, originPackage, vaults) {
180
180
  break;
181
181
  case "DailySignUpEvent":
182
182
  Action = "Check In";
183
- Tails = "".concat(event.parsedJson.tails);
183
+ Tails = event.parsedJson.tails.map(function (num) { return "#".concat(num); }).join(" ");
184
+ Exp = event.parsedJson.log[0];
184
185
  break;
185
186
  case "TransferTailsEvent":
186
187
  Action = "Transfer";
@@ -192,14 +193,14 @@ function parseTxHistory(datas, originPackage, vaults) {
192
193
  Action = "Train Tail";
193
194
  Tails = "#".concat(event.parsedJson.log[0]);
194
195
  Exp = event.parsedJson.log[1];
195
- break;
196
196
  }
197
+ break;
197
198
  case "LevelUpEvent":
198
199
  if (event.parsedJson.log) {
199
200
  Action = "Level Up to Level ".concat(event.parsedJson.log[1]);
200
201
  Tails = "#".concat(event.parsedJson.log[0]);
201
- break;
202
202
  }
203
+ break;
203
204
  // old version events
204
205
  case "StakeNftEvent":
205
206
  Action = "Stake";
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.3.26-tails-staking",
5
+ "version": "1.3.27-tails-staking",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.8.10",