@typus/typus-sdk 1.6.19 → 1.6.20

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.
@@ -496,6 +496,10 @@ function getMyBids(config, input) {
496
496
  return [4 /*yield*/, provider.devInspectTransactionBlock({ transactionBlock: transaction, sender: constants_1.SENDER })];
497
497
  case 1:
498
498
  results = (_a.sent()).results;
499
+ if (!results) {
500
+ // early return if no results
501
+ return [2 /*return*/, {}];
502
+ }
499
503
  bytes = results[results.length - 1].returnValues[0][0];
500
504
  reader = new bcs_1.BcsReader(new Uint8Array(bytes));
501
505
  result = Array.from(new Map()).reduce(function (map, _a) {
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.6.19",
5
+ "version": "1.6.20",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.9.34",