Skip to content

Conversation

@npslaney
Copy link
Contributor

@npslaney npslaney commented Jan 28, 2026

feat: export CheckoutStatus, CheckoutType, PriceAmountType types and schemas

  • Export CheckoutStatusSchema, CheckoutTypeSchema from contracts/checkout.ts
  • Export PriceAmountTypeSchema from schemas/product-price-input.ts
  • Use McpCustomerSchema for embedded customer in order/checkout contracts
  • Fix mcpContract.customer to only include MCP routes (exclude getSdk)
  • Bump version to 0.1.20

Addresses PR #498 feedback about type re-definitions

npslaney and others added 2 commits January 28, 2026 12:42
…schemas

- Export CheckoutStatusSchema, CheckoutTypeSchema from contracts/checkout.ts
- Export PriceAmountTypeSchema from schemas/product-price-input.ts
- Use McpCustomerSchema for embedded customer in order/checkout contracts
- Fix mcpContract.customer to only include MCP routes (exclude getSdk)
- Remove customer/subscription from sdkContract (not yet implemented)
- Bump version to 0.1.20

Addresses PR #498 feedback about type re-definitions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename McpCustomerSchema to CustomerSchema (pure customer data)
- Create CustomerWithSubscriptionsSchema for SDK endpoint (customer + full subscriptions)
- Remove CustomerSubscriptionSchema (now uses full SubscriptionSchema instead)
- Update all imports and exports across contracts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Addresses PR review feedback - schema is used more broadly now.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@npslaney npslaney merged commit dacc647 into main Jan 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants