@agentvault/agentvault 0.20.33 → 0.20.34

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/index.js CHANGED
@@ -64060,7 +64060,7 @@ var init_channel = __esm({
64060
64060
  try {
64061
64061
  const mlsGroup = this._mlsGroups.get(`conv:${convId}`);
64062
64062
  const mlsGroupId = this._persisted?.mlsConversations?.[convId]?.mlsGroupId;
64063
- if (mlsGroup?.isInitialized && mlsGroupId && this._state === "ready" && this._ws) {
64063
+ if (mlsGroup?.isInitialized && mlsGroupId && Number(mlsGroup.epoch) > 0 && this._state === "ready" && this._ws) {
64064
64064
  const plaintextBytes = new TextEncoder().encode(plaintext);
64065
64065
  const cipherBytes = await mlsGroup.encrypt(plaintextBytes);
64066
64066
  await saveMlsState(this.config.dataDir, mlsGroupId, JSON.stringify(mlsGroup.exportState()));
@@ -95186,7 +95186,7 @@ var init_index = __esm({
95186
95186
  init_skill_invoker();
95187
95187
  await init_skill_telemetry();
95188
95188
  await init_policy_enforcer();
95189
- VERSION = true ? "0.20.33" : "0.0.0-dev";
95189
+ VERSION = true ? "0.20.34" : "0.0.0-dev";
95190
95190
  }
95191
95191
  });
95192
95192
  await init_index();