Skip to content

v0.4.1

Choose a tag to compare

@Hill-waffo Hill-waffo released this 15 Apr 13:35

Changed

  • RefundTicket.versionData is now structured — tightened from Record<string, unknown> | null to a new RefundTicketVersionData | null type matching the GraphQL RefundTicketVersionData shape: { reason: string; requestedAmount: RequestedAmount | null }. Aligns with waffo-pancake-graphql-service v2026.04.15.1 where versionData was promoted from a JSON-string to a structured object.

Added

  • RefundTicketVersionData — exported type. Reuses the existing RequestedAmount for the nested amount field.

Compatibility note

If your code accessed versionData["custom_key"] via the loose record type, switch to reading versionData.reason / versionData.requestedAmount?.amount directly. No runtime shape change — the value was already a structured object on the wire.