@equationalapplications/core-llm-wiki 4.17.0 → 4.17.1

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/testing.js CHANGED
@@ -800,8 +800,6 @@ After running the migration SQL, restart your application.`
800
800
  function normalizeTitleKey(title) {
801
801
  return title.trim().toLowerCase().replace(/\s+/g, " ");
802
802
  }
803
-
804
- // src/utils/ids.ts
805
803
  function generateId(prefix = "") {
806
804
  if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
807
805
  return prefix + crypto.randomUUID().replace(/-/g, "").substring(0, 24);
@@ -812,7 +810,7 @@ function generateId(prefix = "") {
812
810
  return prefix + Array.from(bytes).map((b) => b.toString(16).padStart(2, "0")).join("").substring(0, 24);
813
811
  }
814
812
  throw new Error(
815
- "generateId: no cryptographically secure random source available (crypto.randomUUID and crypto.getRandomValues are both missing)."
813
+ "generateId: no cryptographically secure random source available (crypto.randomUUID and crypto.getRandomValues are both missing, and no configureRandomSource() injection was provided)."
816
814
  );
817
815
  }
818
816