mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 18:06:46 +00:00
* fix(ci): preserve the 75-minute npm visibility deadline * test(ci): use ES2023-compatible registry deadline fixture * refactor(ci): keep the npm visibility deadline at the polling boundary --------- Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com> Co-authored-by: Kei Ito <angila-antonia-casey@dr.com>
17 lines
604 B
TypeScript
17 lines
604 B
TypeScript
import type { NpmReleaseState } from "./npm-release-state.mjs";
|
|
|
|
export function readNpmRelease(
|
|
version: string,
|
|
request?: (url: string, init: RequestInit) => Promise<Response>,
|
|
): Promise<NpmReleaseState>;
|
|
export function stableUpdateVersion(
|
|
version: string,
|
|
published: NpmReleaseState,
|
|
): string;
|
|
export function waitForNpmRelease(
|
|
version: string,
|
|
lookup?: (version: string, signal: AbortSignal) => Promise<NpmReleaseState>,
|
|
pause?: (milliseconds: number, signal: AbortSignal) => Promise<unknown>,
|
|
signal?: AbortSignal,
|
|
): Promise<Extract<NpmReleaseState, { status: "published" }>>;
|