@agentvault/agentvault 0.20.11 → 0.20.12

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.
package/dist/cli.js CHANGED
@@ -67256,9 +67256,10 @@ ${messageText}`;
67256
67256
  { headers: { Authorization: `Bearer ${this._deviceJwt}` } }
67257
67257
  );
67258
67258
  if (!kpRes.ok) continue;
67259
- const kpArr = await kpRes.json();
67260
- if (kpArr.length === 0) continue;
67261
- const kpBytes = new Uint8Array(Buffer.from(kpArr[0].key_package, "hex"));
67259
+ const kpData = await kpRes.json();
67260
+ const kpHex = kpData[req.requesting_device_id];
67261
+ if (!kpHex) continue;
67262
+ const kpBytes = new Uint8Array(Buffer.from(kpHex, "hex"));
67262
67263
  const memberKp = MLSGroupManager.deserializeKeyPackage(kpBytes);
67263
67264
  const { commit, welcome } = await mlsGroup.addMembers([memberKp]);
67264
67265
  if (welcome) {
@@ -88660,7 +88661,7 @@ var init_index = __esm({
88660
88661
  init_skill_invoker();
88661
88662
  await init_skill_telemetry();
88662
88663
  await init_policy_enforcer();
88663
- VERSION = true ? "0.20.11" : "0.0.0-dev";
88664
+ VERSION = true ? "0.20.12" : "0.0.0-dev";
88664
88665
  }
88665
88666
  });
88666
88667