@scallop-io/sui-scallop-sdk 0.46.2 → 0.46.3

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.
package/dist/index.js CHANGED
@@ -3300,7 +3300,7 @@ var getVeScas = async (query, ownerAddress) => {
3300
3300
  }
3301
3301
  });
3302
3302
  await Promise.allSettled(tasks);
3303
- return veScas.filter(Boolean).sort((a, b) => a.currentVeScaBalance - b.currentVeScaBalance);
3303
+ return veScas.filter(Boolean).sort((a, b) => b.currentVeScaBalance - a.currentVeScaBalance);
3304
3304
  };
3305
3305
  var getVeSca = async (query, veScaKeyId, ownerAddress) => {
3306
3306
  const tableId = query.address.get(`vesca.tableId`);