Skip to Content
The AKIN Travel developer platform is in beta — APIs may change. Get started →
Changelog2026-10-25

2026-10-25 — The web and React Native SDKs read loyalty data the same way

Fixed — useAkinLoyalty() in @akin-travel/partner-sdk (#2305)

The web SDK now turns loyalty data into the same values as the React Native SDK. One implementation in @akin-travel/sdk-core serves both, and a conformance test runs both against one fixture on every change (#2305 ).

  • Tier progress ignores ghost requirements. A ghost requirement is evaluated on the server but hidden from members. The web SDK did not request the ghost flag, so a ghost points requirement could set the next-tier threshold, and tierProgress.pointsToNextTier and progressPercentage showed the wrong numbers. The web SDK now skips ghost requirements, as React Native does.

  • tierProgress.nextTier is null at the top tier. It was undefined. The type was always MemberTier | null.

  • Absent transaction and tier-history fields are undefined. A field the API returns as null (for example bookingId, reason or the nights* / stays* / spend* metrics) was passed through as null. It is now absent, as the LoyaltyTransaction and MemberTierHistory types declare. A withheld pointsAtChange stays undefined, not 0.

  • Code that checks these fields with === null must check for undefined (or use == null).

Fixed — <akin-tier-progress> in @akin-travel/sdk-embed

  • When the member record has no AKIN points, the element now measures progress with the spendable balance, as the web and React Native SDKs do. It used 0.

Added — shared loyalty transforms in @akin-travel/sdk-core

  • calculateTierProgress, deriveMemberTierProgress, deriveLoyaltyBalances, toTransaction, toHistory, extractTransactions, extractStats and splitStays are exported from @akin-travel/sdk-core. Use them if you build your own loyalty UI on the core package.
Last updated on