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