agentskillsdk 0.1.0 → 0.1.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/package.json +1 -1
  2. package/src/lib/api.js +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentskillsdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Install agent skills from agentskills.dk",
5
5
  "type": "module",
6
6
  "bin": {
package/src/lib/api.js CHANGED
@@ -8,8 +8,7 @@ export async function fetchSkills() {
8
8
  throw new Error('Could not reach agentskills.dk. Check your internet connection.');
9
9
  }
10
10
  if (!res.ok) throw new Error(`Failed to fetch skills: ${res.status}`);
11
- const data = await res.json();
12
- return data.skills;
11
+ return res.json();
13
12
  }
14
13
 
15
14
  export async function fetchSkill(name) {