decharge-scout 4.3.0 → 4.3.1

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -267,7 +267,7 @@ async function runQueryCycle(wallet, agentName, location, options) {
267
267
 
268
268
  // Fetch weather data and generate smart pricing simulation
269
269
  const weatherSpinner = ora('Fetching real-time weather forecast...').start();
270
- let weatherData, energyData, countryCode;
270
+ let weatherData, energyData, countryCode, insights;
271
271
 
272
272
  try {
273
273
  // Get real weather forecast from Open-Meteo (FREE!)
@@ -281,7 +281,7 @@ async function runQueryCycle(wallet, agentName, location, options) {
281
281
  pricingSpinner.succeed(chalk.green(`āœ“ Generated ${energyData.length} hours of smart pricing data`));
282
282
 
283
283
  // Show pricing insights
284
- const insights = getPricingInsights(energyData, countryCode);
284
+ insights = getPricingInsights(energyData, countryCode);
285
285
  console.log(chalk.blue(`\nšŸ’” Smart Simulation Insights:`));
286
286
  console.log(chalk.gray(` Region: ${insights.region}`));
287
287
  console.log(chalk.gray(` Price range: $${insights.minPrice}-$${insights.maxPrice}/kWh (${insights.priceRange}% variation)`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decharge-scout",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Global Energy Scout - Weather-powered intelligent energy price forecasting with Solana integration",
5
5
  "main": "index.js",
6
6
  "type": "module",