๐Ÿ”บ @fizzwiz/prism v0.0.0-dev.3 — Tiny Adjustment

๐Ÿ”บ @fizzwiz/prism v0.0.0-dev.3 — Tiny Adjustment

This release removes the dependency on @fizzwiz/sorted to prevent circular dependencies, as the upcoming version of @fizzwiz/sorted will, in turn, rely on @fizzwiz/prism. The change keeps the library modular, lightweight, and cleanly separated from other packages.

๐Ÿงฉ What’s Changed

The Search and AsyncSearch constructors no longer create an ArrayQueue by default. You must now explicitly provide a queue instance using the fluent .via() method:

import { ArrayQueue } from "@fizzwiz/sorted";
import { Search } from "@fizzwiz/prism";

const queue = new ArrayQueue();

const search = new Search()
  .from(start)
  .through(space)
  .via(queue);

This adjustment gives you clearer control over search strategies while ensuring Prism remains almost dependency-free (it still depends on @fizzwiz/fluent) and easy to integrate in any environment.

๐Ÿ“ฆ Get It

๐Ÿ“ฆ Available on npm: @fizzwiz/prism

— @fizzwiz ✨


Comments

Popular posts from this blog

๐Ÿ“ฆ v0.0.0-dev.1 — Search & Run

๐Ÿงฎ Exploring Combinatoric Calculus with Search