@zabaca/lattice 1.3.1 → 1.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.
Files changed (2) hide show
  1. package/dist/main.js +4 -3
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -3590,8 +3590,9 @@ class ReceiveCommand extends CommandRunner7 {
3590
3590
  `);
3591
3591
  const crocPath = await ensureCroc();
3592
3592
  const receiveCode = await new Promise((resolve4, reject) => {
3593
- const child = spawn(crocPath, ["--classic", "--yes", "--out", docsDir, code], {
3594
- stdio: "inherit"
3593
+ const child = spawn(crocPath, ["--yes", "--out", docsDir], {
3594
+ stdio: "inherit",
3595
+ env: { ...process.env, CROC_SECRET: code }
3595
3596
  });
3596
3597
  child.on("close", (code2) => {
3597
3598
  resolve4(code2 ?? 0);
@@ -3703,7 +3704,7 @@ class ShareCommand extends CommandRunner8 {
3703
3704
  \uD83D\uDCE4 Sharing ${isDir ? "directory" : "file"}: ${fullPath}
3704
3705
  `);
3705
3706
  const crocPath = await ensureCroc();
3706
- const child = spawn2(crocPath, ["--classic", "--disable-clipboard", "send", fullPath], {
3707
+ const child = spawn2(crocPath, ["--disable-clipboard", "send", fullPath], {
3707
3708
  stdio: ["inherit", "pipe", "pipe"]
3708
3709
  });
3709
3710
  let codeExtracted = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zabaca/lattice",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "Human-initiated, AI-powered knowledge graph for markdown documentation",
5
5
  "type": "module",
6
6
  "bin": {