OpenDecree TypeScript SDK - v0.3.0-alpha.1
    Preparing search index...

    Function checkVersionCompatible

    • Check that a server version satisfies the supported version range.

      Parameters

      • serverVersion: string

        Server version string (e.g., "0.3.1").

      • Optionalrange: string

        Version range (e.g., ">=0.3.0,<1.0.0"). Defaults to SUPPORTED_SERVER_VERSION.

      Returns void

      IncompatibleServerError if the server version is outside the supported range.