@boostyourleads/antigravity-sdk 1.0.8 → 1.0.9

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.
@@ -81,8 +81,8 @@ const AttributionDashboard = ({ apiKey: initialApiKey, onConnect, onDisconnect,
81
81
  });
82
82
  }
83
83
  catch (e) {
84
- console.error(e);
85
- setError(e.message || "Failed to load live metrics via SDK. Verify your API token.");
84
+ const errMsg = e.response?.data?.error || e.message || "Failed to load live metrics via SDK. Verify your API token.";
85
+ setError(errMsg);
86
86
  setData(null);
87
87
  }
88
88
  finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boostyourleads/antigravity-sdk",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "BoostYourLeads SDK integration for custom AI agents and Antigravity.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",