@glowlabs-org/utils 0.2.133 → 0.2.134

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var farmsRouter = require('./farms-router-Dxx681nB.js');
3
+ var farmsRouter = require('./farms-router-YNZCAbcx.js');
4
4
  var viem = require('viem');
5
5
  require('ethers');
6
6
 
@@ -3558,11 +3558,20 @@ function WalletsRouter(baseUrl) {
3558
3558
  throw new Error(parseApiError$1(error));
3559
3559
  }
3560
3560
  };
3561
+ const fetchMigrationAmount = async (wallet) => {
3562
+ try {
3563
+ return await request(`/control/migration-amount/${encodeURIComponent(wallet)}`);
3564
+ }
3565
+ catch (error) {
3566
+ throw new Error(parseApiError$1(error));
3567
+ }
3568
+ };
3561
3569
  return {
3562
3570
  fetchAllWallets,
3563
3571
  fetchWalletByAddress,
3564
3572
  fetchWalletMintedEvents,
3565
3573
  fetchWalletStakeEvents,
3574
+ fetchMigrationAmount,
3566
3575
  };
3567
3576
  }
3568
3577
 
@@ -3710,4 +3719,4 @@ exports.regionMetadata = regionMetadata;
3710
3719
  exports.usStates = usStates;
3711
3720
  exports.useForwarder = useForwarder;
3712
3721
  exports.useOffchainFractions = useOffchainFractions;
3713
- //# sourceMappingURL=farms-router-Dxx681nB.js.map
3722
+ //# sourceMappingURL=farms-router-YNZCAbcx.js.map