@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
18 lines (17 loc) • 761 B
TypeScript
/**
* Proxy auto-update version checker.
*
* Queries the npm registry for the latest published version of
* `@juspay/neurolink` and compares it against the currently running version.
* Designed to be non-blocking and failure-tolerant — any error (network,
* timeout, parse) returns an explicit failed check without inventing a release.
*/
import type { UpdateCheckResult } from "../types/index.js";
/**
* Query npm for the latest version of `@juspay/neurolink` and compare it
* against {@link currentVersion}.
*
* Failure retains the legacy version fallback but marks it unverified. Callers
* must not persist it as a successful registry observation.
*/
export declare function checkForUpdate(currentVersion: string): Promise<UpdateCheckResult>;