enclave-link 0.2.6 → 0.2.7

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.
@@ -11858,7 +11858,7 @@ function openVault({
11858
11858
  const item = toItem(entry.content);
11859
11859
  const previous = before[entry.id];
11860
11860
  const existing = await store.get(previous?.name ?? target.name) ?? {};
11861
- const proton = new Set(previous?.fields ?? (saved ? Object.keys(existing) : []));
11861
+ const proton = new Set(previous ? previous.fields : saved ? Object.keys(existing) : []);
11862
11862
  const added = Object.entries(existing).filter(([field]) => !proton.has(field) && !(field in item));
11863
11863
  imported.set(target.name, { ...Object.fromEntries(added), ...item });
11864
11864
  target.fields = Object.keys(item);
package/dist/enclave.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  signRequest,
4
4
  vault
5
- } from "./chunk-RVHMWDDN.js";
5
+ } from "./chunk-KET6VDXZ.js";
6
6
  import "./chunk-7QIF4PCL.js";
7
7
 
8
8
  // src/cli.ts
@@ -72,7 +72,7 @@ try {
72
72
  } else if (command === "rm" && name) {
73
73
  await vault.remove(name);
74
74
  } else if (command === "mcp") {
75
- const { serve } = await import("./mcp-LCCRAF42.js");
75
+ const { serve } = await import("./mcp-EL433IFY.js");
76
76
  await serve(vault);
77
77
  } else {
78
78
  console.error(usage);
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  Store,
3
3
  openVault,
4
4
  vault
5
- } from "./chunk-RVHMWDDN.js";
5
+ } from "./chunk-KET6VDXZ.js";
6
6
  import "./chunk-7QIF4PCL.js";
7
7
  export {
8
8
  Store,
@@ -16914,7 +16914,7 @@ var StdioServerTransport = class {
16914
16914
  // package.json
16915
16915
  var package_default = {
16916
16916
  name: "enclave-link",
16917
- version: "0.2.6",
16917
+ version: "0.2.7",
16918
16918
  description: "Your agent asks for a password by one-time link, not in chat, and uses it without seeing it.",
16919
16919
  license: "MIT",
16920
16920
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enclave-link",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Your agent asks for a password by one-time link, not in chat, and uses it without seeing it.",
5
5
  "license": "MIT",
6
6
  "bin": {