bfi-cli 0.1.18 → 0.1.19

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/cli.mjs +1 -1
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -4410,7 +4410,7 @@ async function installFromSkillHub(parsed, options, spinner) {
4410
4410
  let slug;
4411
4411
  if (restParts.length === 0) {
4412
4412
  spinner.start(`正在 SkillHub 搜索 "${rawRef}"...`);
4413
- const hits = ((await api.searchSkills(rawRef)).data || []).slice(0, 20);
4413
+ const hits = ((await api.searchSkills(rawRef)).results || []).slice(0, 20);
4414
4414
  if (hits.length === 0) {
4415
4415
  spinner.stop(import_picocolors.default.red("无结果"));
4416
4416
  outro(import_picocolors.default.red(`No skills found on SkillHub for "${rawRef}".`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bfi-cli",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "用友大业财BFI统一命令行工具,支持技能,技能包,元数据,UI元数据等",
5
5
  "type": "module",
6
6
  "bin": {