diff --git a/CHANGELOG.md b/CHANGELOG.md index 07aab0b..259137e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Export `SmartTransactionMinedTx`, `SmartTransactionCancellationReason`, `SmartTransactionStatuses`, and `ClientId` enums values instead of types only ([#541](https://github.com/MetaMask/smart-transactions-controller/pull/541)) + ## [19.2.0] ### Added diff --git a/jest.config.js b/jest.config.js index 8c3ebb8..a1f4e7e 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,9 +7,9 @@ module.exports = { coverageThreshold: { global: { branches: 74.65, - functions: 91.5, - lines: 92.52, - statements: 92.51, + functions: 88.18, + lines: 92.33, + statements: 91.89, }, }, moduleFileExtensions: ['js', 'json', 'jsx', 'ts', 'tsx', 'node'], diff --git a/src/index.ts b/src/index.ts index 8a70f9a..800c6c0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,13 +9,13 @@ export type { SmartTransactionsControllerSmartTransactionConfirmationDoneEvent, SmartTransactionsControllerEvents, } from './SmartTransactionsController'; -export type { - Fee, - Fees, - IndividualTxFees, - FeatureFlags, +export { + type Fee, + type Fees, + type IndividualTxFees, + type FeatureFlags, + type SmartTransaction, SmartTransactionMinedTx, - SmartTransaction, SmartTransactionCancellationReason, SmartTransactionStatuses, ClientId,