@unoverse-platform/studio 0.1.43 → 0.1.45

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/local/plugin.ts +5 -2
  2. package/package.json +1 -1
package/local/plugin.ts CHANGED
@@ -347,8 +347,11 @@ export function localStudioHost(): Plugin {
347
347
  case path === "/dev/components":
348
348
  return json(res, {
349
349
  components: c.listDefinitions("component", org).map((d) => {
350
- const def = d as { name: string; props?: unknown };
351
- return { ...def, inputs: c.inputPropKeys(def.props), states: c.listStates("component", def.name) };
350
+ const def = d as { name: string; org?: string; props?: unknown };
351
+ // Qualified ref for org components: a bare name two orgs share is an
352
+ // explicit resolver error, never a guess (UNOVERSE_COMPONENT_ORGS.md).
353
+ const ref = def.org ? `${def.org}/${def.name}` : def.name;
354
+ return { ...def, inputs: c.inputPropKeys(def.props), states: c.listStates("component", ref) };
352
355
  }),
353
356
  });
354
357
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unoverse-platform/studio",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "type": "module",
5
5
  "description": "Unoverse Studio: the local authoring app. Reads your own rx/ folder, no backend.",
6
6
  "scripts": {