Skip to content

refactor: migrate from @epilot/pricing-client to @epilot/sdk/pricing - #292

Merged
josecarneiro merged 2 commits into
mainfrom
claude/migrate-pricing-client-to-sdk
Aug 26, 2026
Merged

refactor: migrate from @epilot/pricing-client to @epilot/sdk/pricing#292
josecarneiro merged 2 commits into
mainfrom
claude/migrate-pricing-client-to-sdk

Conversation

@josecarneiro

@josecarneiro josecarneiro commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace the @epilot/pricing-client peer/dev dependency with @epilot/sdk (^2.18.31) and import all types from the tree-shakeable @epilot/sdk/pricing entrypoint. Usage in this package was types-only (no runtime client calls), and the SDK's pricing types are generated from the same OpenAPI spec — no behavior change.
  • Define the legacy PriceTierEnhanced type locally in src/shared/types.ts: it was removed from the OpenAPI spec and only survived in the standalone client as a backwards-compat export, so the SDK doesn't carry it.
  • Add a minor changeset. Note for consumers: the peer dependency changes from @epilot/pricing-client to @epilot/sdk.

Test plan

  • pnpm typecheck clean
  • pnpm test — 635 tests pass (31 files)
  • pnpm lint — 0 errors (277 pre-existing warnings)
  • pnpm build succeeds

🤖 Generated with Claude Code

https://claude.ai/code/session_014ydZRYfnvFAgKVAXoJHkX5

Replace the standalone @epilot/pricing-client peer/dev dependency with
@epilot/sdk and import all types from the tree-shakeable
@epilot/sdk/pricing entrypoint (usage was types-only, generated from
the same OpenAPI spec).

The legacy PriceTierEnhanced type is not part of the spec anymore and
is not exported by the SDK, so it is now defined in this package.

Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_014ydZRYfnvFAgKVAXoJHkX5
@changeset-bot

changeset-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f0ed940

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@epilot/pricing Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@josecarneiro
josecarneiro merged commit 99bc437 into main Aug 26, 2026
3 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.

2 participants