@routstr/sdk 0.3.4 → 0.3.5
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/client/index.js +37 -5
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +37 -5
- package/dist/client/index.mjs.map +1 -1
- package/dist/index.js +38 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -8
- package/dist/index.mjs.map +1 -1
- package/dist/storage/index.js +1 -3
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/index.mjs +1 -3
- package/dist/storage/index.mjs.map +1 -1
- package/dist/wallet/index.js +37 -5
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +37 -5
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/storage/index.mjs
CHANGED
|
@@ -1424,9 +1424,7 @@ var createStorageAdapterFromStore = (store) => ({
|
|
|
1424
1424
|
const distributionMap = {};
|
|
1425
1425
|
for (const entry of apiKeys) {
|
|
1426
1426
|
const sum = entry.balance || 0;
|
|
1427
|
-
|
|
1428
|
-
distributionMap[entry.baseUrl] = (distributionMap[entry.baseUrl] || 0) + sum;
|
|
1429
|
-
}
|
|
1427
|
+
distributionMap[entry.baseUrl] = (distributionMap[entry.baseUrl] || 0) + sum;
|
|
1430
1428
|
}
|
|
1431
1429
|
return Object.entries(distributionMap).map(([baseUrl, amt]) => ({ baseUrl, amount: amt })).sort((a, b) => b.amount - a.amount);
|
|
1432
1430
|
},
|