UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

15 lines (14 loc) 656 B
/** * Check for a minimum SDK version and prompt the user to upgrade if necessary. * We distinguish between 4 cases here: * * 1. Users didn't install any SDK yet * -> We tell them to install an SDK and then continue with the wizard * 2. Users installed an SDK in the range >=7.47.0 * -> All good, no need to do anything! * 3. Users installed an SDK in the range >=7.0.0 <= 7.46.0 * -> We ask if they want to auto-update to the latest version * 4. Users installed an SDK in the range <7.x * -> We tell users to manually upgrade (migrate between majors) */ export declare function ensureMinimumSdkVersionIsInstalled(): Promise<void>;