changesHref
What changed between two versions of a library.
import type { Trusted } from "#codebase/tcmts/cli/attest"; import { at } from "#codebase/tcmts/share"; export const changesHref = (w: Trusted, pkg: string, from: string, to: string): string => at( `/@${w.handle ?? w.did}/${encodeURIComponent(pkg)}/changes/${encodeURIComponent(`${from}...${to}`)}`, )