archicore 0.3.2 → 0.3.3

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.
@@ -554,7 +554,7 @@ async function handleIndexCommand() {
554
554
  });
555
555
  if (response.ok) {
556
556
  const data = await response.json();
557
- state.projectId = data.id || data.project?.id ?? null;
557
+ state.projectId = data.id || (data.project && data.project.id) || null;
558
558
  registerSpinner.succeed('Project registered');
559
559
  }
560
560
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archicore",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "AI Software Architect - code analysis, impact prediction, semantic search",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",