Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: moneydevkit/api-contract
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.14
Choose a base ref
...
head repository: moneydevkit/api-contract
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.15
Choose a head ref
  • 6 commits
  • 11 files changed
  • 1 contributor

Commits on Jan 14, 2026

  1. feat(products): change prices array to single price object

    Align with Polar model: one product = one price. METERED prices
    are filtered at API level, so SDK consumers only see the base price.
    
    - ProductSchema.price is now singular (nullable)
    - CheckoutProductSchema.price is now singular (nullable)
    - Added currency field to price objects
    NatElkins committed Jan 14, 2026
    Configuration menu
    Copy the full SHA
    ab97940 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    362fd1c View commit details
    Browse the repository at this point in the history
  3. feat(mdk-403): add CurrencySchema as single source of truth

    Create shared CurrencySchema (z.enum(["USD", "SAT"])) in schemas/currency.ts
    and use it throughout the API contract for type safety and validation.
    
    - Add src/schemas/currency.ts with CurrencySchema and Currency type
    - Update checkout.ts, products.ts, invoice.ts to use CurrencySchema
    - Export CurrencySchema from index.ts
    NatElkins committed Jan 14, 2026
    Configuration menu
    Copy the full SHA
    1d35aed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    133223e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #8 from moneydevkit/mdk-403

    feat(products): simplify to single price per product (Polar model)
    NatElkins authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    471daed View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    be92ba9 View commit details
    Browse the repository at this point in the history
Loading