api2cli 0.3.6 → 0.3.7

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2420,7 +2420,7 @@ Examples:
2420
2420
  process.exit(1);
2421
2421
  }
2422
2422
  const data = await res.json();
2423
- const githubUrl = data.githubRepo || data.skill?.githubRepo;
2423
+ const githubUrl = data.data?.githubRepo || data.githubRepo;
2424
2424
  if (!githubUrl) {
2425
2425
  console.error(`${import_picocolors3.default.red("\u2717")} No GitHub repo found for ${source}.`);
2426
2426
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api2cli",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Turn any REST API into a standardized, agent-ready CLI",
5
5
  "type": "module",
6
6
  "bin": {