@typus/typus-sdk 1.4.35 → 1.4.36

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.
@@ -20,7 +20,7 @@
20
20
  "ORACLE": "0x978f65df8570a075298598a9965c18de9087f9e888eb3430fe20334f5c554cfd",
21
21
  "TYPUS": "0x83a1e6784a74929c8b9ccbca224bc9378fa1ebec04baa552d96025fabc39834c",
22
22
  "PERP": "",
23
- "SAFU": "0xb15bc336ee46700745208a70c1a1fe061e07a75875071ce22fcbde3fc7f3e0b4"
23
+ "SAFU": "0x332171ebd301a3e76c5be547046f14bb229f1200aadf5038b5a6ede411cb8a16"
24
24
  },
25
25
  "VERSION": {
26
26
  "TYPUS": "0xd2882b992e986250b3304b59530700bc3850939f9a77e9e9dfa9cf1656f84b3d",
@@ -178,7 +178,7 @@ function parseTxHistory(datas, originPackage, vaults) {
178
178
  functionType = (_d = new RegExp("^([^::]+)::([^::]+)::([^<]+)").exec(event.type)) === null || _d === void 0 ? void 0 : _d.slice(1, 4);
179
179
  action = functionType[2];
180
180
  Tails = undefined;
181
- Index = event.parsedJson.index || event.parsedJson.vaultIndex;
181
+ Index = event.parsedJson.index || event.parsedJson.vault_index;
182
182
  if (Index) {
183
183
  _a = __read(parseVaultInfo(vaults, Index, action, event.parsedJson.log), 6), Period = _a[0], Vault = _a[1], RiskLevel = _a[2], d_token = _a[3], b_token = _a[4], o_token = _a[5];
184
184
  }
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.4.35",
5
+ "version": "1.4.36",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.8.10",