@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.js
CHANGED
|
@@ -1426,9 +1426,7 @@ var createStorageAdapterFromStore = (store) => ({
|
|
|
1426
1426
|
const distributionMap = {};
|
|
1427
1427
|
for (const entry of apiKeys) {
|
|
1428
1428
|
const sum = entry.balance || 0;
|
|
1429
|
-
|
|
1430
|
-
distributionMap[entry.baseUrl] = (distributionMap[entry.baseUrl] || 0) + sum;
|
|
1431
|
-
}
|
|
1429
|
+
distributionMap[entry.baseUrl] = (distributionMap[entry.baseUrl] || 0) + sum;
|
|
1432
1430
|
}
|
|
1433
1431
|
return Object.entries(distributionMap).map(([baseUrl, amt]) => ({ baseUrl, amount: amt })).sort((a, b) => b.amount - a.amount);
|
|
1434
1432
|
},
|