Skip to content

SDK API Reference / formatVersionsFromBundle

Function: formatVersionsFromBundle()

formatVersionsFromBundle(bundle): JourneyVersionItem[]

Extract and sort version items from a JourneyBundle. Pure function — no I/O, testable without mocks.

Parameters

bundle

JourneyBundle

Returns

JourneyVersionItem[]