Skip to content

Commit 3aa0f48

Browse files
fix: Export PricingPreview types (#195)
1 parent ffc491c commit 3aa0f48

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ adding additional type guards.
2929
- Support `retained_fee` field on totals objects to show the fees retained by Paddle for the adjustment.
3030
- `ApiError` will now have `retryAfter` property set for [too_many_requests](https://developer.paddle.com/errors/shared/too_many_requests) errors
3131

32+
### Fixed
33+
34+
- `PricingPreview`, `PricingPreviewDiscounts`, `PricingPreviewDetails`, `PricingPreviewLineItem` types are now exported
35+
3236
### Changed
3337

3438
- `CustomData` type definition is now `Record<string, any>`

src/entities/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export * from './discount-group/index.js';
1919
export * from './events/index.js';
2020
export * from './payment-method/index.js';
2121
export * from './payout/index.js';
22+
export * from './pricing-preview/index.js';
2223
export * from './event-types/index.js';
2324
export * from './notification-settings/index.js';
2425
export * from './notifications/index.js';

0 commit comments

Comments
 (0)