@clonegod/ttd-sui-common 1.0.66 → 1.0.67

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.
@@ -290,8 +290,8 @@ class AbstractSuiDexTradePlus extends dist_1.AbastrcatTrade {
290
290
  });
291
291
  }
292
292
  compareBigIntBalance(a, b) {
293
- const balanceA = BigInt(a.balance);
294
- const balanceB = BigInt(b.balance);
293
+ const balanceA = BigInt((a === null || a === void 0 ? void 0 : a.balance) || '0');
294
+ const balanceB = BigInt((b === null || b === void 0 ? void 0 : b.balance) || '0');
295
295
  if (balanceA > balanceB)
296
296
  return -1;
297
297
  if (balanceA < balanceB)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sui-common",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "Sui common library",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",