@ai-matrx/vault 0.1.57 → 0.1.58

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/CHANGELOG.md CHANGED
@@ -1,9 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.58
4
+
5
+ UNVERIFIED: this release has no Unreleased entry and the package-input comparison could not be made (git diff 1079de42b4..bc1fc5c3ce failed (commit not in this checkout)). Whether package inputs changed is unknown; consumer action is unknown.
6
+ Check: `git diff 1079de42b4 bc1fc5c3ce -- apps/shared/vault`
7
+
3
8
  ## 0.1.57
4
9
 
5
- UNVERIFIED: this release has no Unreleased entry and the package-input comparison could not be made (the caller supplied no source comparison). Whether package inputs changed is unknown; consumer action is unknown.
6
- Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/vault`.
10
+ - Authenticator inventory refreshes now ignore stale responses: a delayed older read cannot replace newer codes or conceal a newer failure. An active OTP seed missing from a complete inventory remains unavailable instead of appearing as an empty, setup-ready code list.
11
+ - OTP setup rechecks the latest login state after confirmation. If the authenticator becomes unavailable or changes, enrollment stops and the typed key or uploaded QR stays available for retry.
12
+ - If enrollment fails after creating a login, retry reuses that login instead of creating a duplicate. An acknowledged setup key is not enrolled twice; changing it requires fresh confirmation before the new key is enrolled. QR-image retries keep the selected file.
13
+
14
+ Consumer action: none; the package's exported declarations and dependency/export metadata are unchanged.
7
15
 
8
16
  ## 0.1.56
9
17
 
package/dist/index.cjs CHANGED
@@ -9806,7 +9806,7 @@ function createHealthPort(api) {
9806
9806
  }
9807
9807
  if (event.event !== "data") continue;
9808
9808
  if (!data || typeof data !== "object" || !("type" in data) || data.type !== "vault_password_health_discovery_page") continue;
9809
- if (page || !("__kind" in data) || data.__kind !== "password_health_discovery_page" || !("references" in data) || !Array.isArray(data.references) || data.references.some((ref) => !ref || typeof ref !== "object" || ref.__kind !== "password_health_discovery_reference" || typeof ref.request_id !== "string" || !ref.request_id || typeof ref.execution_id !== "string" || !ref.execution_id) || !("continuation" in data) || data.continuation !== null && (typeof data.continuation !== "string" || !data.continuation)) throw new Error("Report unavailable");
9809
+ if (page || !("references" in data) || !Array.isArray(data.references) || data.references.some((ref) => !ref || typeof ref !== "object" || typeof ref.request_id !== "string" || !ref.request_id || typeof ref.execution_id !== "string" || !ref.execution_id) || !("continuation" in data) || data.continuation !== null && (typeof data.continuation !== "string" || !data.continuation)) throw new Error("Report unavailable");
9810
9810
  page = data;
9811
9811
  }
9812
9812
  if (signal.aborted || !ended || !page) throw new Error("Report unavailable");