@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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/queries/vescaQuery.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3227,7 +3227,7 @@ var getVeScas = async (query, ownerAddress) => {
|
|
|
3227
3227
|
}
|
|
3228
3228
|
});
|
|
3229
3229
|
await Promise.allSettled(tasks);
|
|
3230
|
-
return veScas.filter(Boolean).sort((a, b) =>
|
|
3230
|
+
return veScas.filter(Boolean).sort((a, b) => b.currentVeScaBalance - a.currentVeScaBalance);
|
|
3231
3231
|
};
|
|
3232
3232
|
var getVeSca = async (query, veScaKeyId, ownerAddress) => {
|
|
3233
3233
|
const tableId = query.address.get(`vesca.tableId`);
|