import { VersionInfo } from '@start9labs/start-sdk'

export const v_0_2_53 = VersionInfo.of({
  version: '0.2.53:0',
  releaseNotes: {
    en_US: 'Fix: discount-code apply was failing with "missing field `product`". The Keysat /v1/purchase endpoint expects `product` as the body field name, not `product_slug` as the developer-facing spec implied — the SDK source confirms `product`. Swapped the field name; Apply code now actually creates the invoice with the discount applied.',
  },
  migrations: {
    up: async ({ effects }) => {},
    down: async ({ effects }) => {},
  },
})
