import { IVersion } from '@/Interface'; import { INSTANCE_ID_HEADER } from '@/constants'; import { get } from '@/utils'; export async function getNextVersions(endpoint: string, version: string, instanceId: string): Promise { const headers = {[INSTANCE_ID_HEADER as string] : instanceId}; return await get(endpoint, version, {}, headers); }