@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 +10 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +10 -2
package/dist/index.js
CHANGED
|
@@ -9273,7 +9273,7 @@ function createHealthPort(api) {
|
|
|
9273
9273
|
}
|
|
9274
9274
|
if (event.event !== "data") continue;
|
|
9275
9275
|
if (!data || typeof data !== "object" || !("type" in data) || data.type !== "vault_password_health_discovery_page") continue;
|
|
9276
|
-
if (page || !("
|
|
9276
|
+
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");
|
|
9277
9277
|
page = data;
|
|
9278
9278
|
}
|
|
9279
9279
|
if (signal.aborted || !ended || !page) throw new Error("Report unavailable");
|