@glowlabs-org/utils 0.2.151 → 0.2.152

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-DWSaZD1T.js');
3
+ var farmsRouter = require('./farms-router-DwbBMkUd.js');
4
4
  var viem = require('viem');
5
5
  require('ethers');
6
6
 
@@ -3822,6 +3822,14 @@ function RegionRouter(baseUrl) {
3822
3822
  throw new Error(parseApiError$3(error));
3823
3823
  }
3824
3824
  };
3825
+ const fetchRecentActivity = async () => {
3826
+ try {
3827
+ return await request(`/regions/active/recent-activity`);
3828
+ }
3829
+ catch (error) {
3830
+ throw new Error(parseApiError$3(error));
3831
+ }
3832
+ };
3825
3833
  const applyInstallerCertification = async (payload) => {
3826
3834
  try {
3827
3835
  return await request(`/regions/installers/apply`, {
@@ -3882,6 +3890,7 @@ function RegionRouter(baseUrl) {
3882
3890
  fetchRegionByIdOrSlug,
3883
3891
  fetchRegionSolarFarms,
3884
3892
  fetchActiveSummary,
3893
+ fetchRecentActivity,
3885
3894
  getRegionByCode,
3886
3895
  applyInstallerCertification,
3887
3896
  // Cached data & flags
@@ -4291,4 +4300,4 @@ exports.useForwarder = useForwarder;
4291
4300
  exports.useOffchainFractions = useOffchainFractions;
4292
4301
  exports.waitForEthersTransactionWithRetry = waitForEthersTransactionWithRetry;
4293
4302
  exports.waitForViemTransactionWithRetry = waitForViemTransactionWithRetry;
4294
- //# sourceMappingURL=farms-router-DWSaZD1T.js.map
4303
+ //# sourceMappingURL=farms-router-DwbBMkUd.js.map