Skip to content

Commit a061231

Browse files
authored
fix: export enum values (#541)
* fix: export enum values * update jest thresholds * update changelog * fix pr number
1 parent 0c22251 commit a061231

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Export `SmartTransactionMinedTx`, `SmartTransactionCancellationReason`, `SmartTransactionStatuses`, and `ClientId` enums values instead of types only ([#541](https://github.com/MetaMask/smart-transactions-controller/pull/541))
13+
1014
## [19.2.0]
1115

1216
### Added

jest.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ module.exports = {
77
coverageThreshold: {
88
global: {
99
branches: 74.65,
10-
functions: 91.5,
11-
lines: 92.52,
12-
statements: 92.51,
10+
functions: 88.18,
11+
lines: 92.33,
12+
statements: 91.89,
1313
},
1414
},
1515
moduleFileExtensions: ['js', 'json', 'jsx', 'ts', 'tsx', 'node'],

src/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ export type {
99
SmartTransactionsControllerSmartTransactionConfirmationDoneEvent,
1010
SmartTransactionsControllerEvents,
1111
} from './SmartTransactionsController';
12-
export type {
13-
Fee,
14-
Fees,
15-
IndividualTxFees,
16-
FeatureFlags,
12+
export {
13+
type Fee,
14+
type Fees,
15+
type IndividualTxFees,
16+
type FeatureFlags,
17+
type SmartTransaction,
1718
SmartTransactionMinedTx,
18-
SmartTransaction,
1919
SmartTransactionCancellationReason,
2020
SmartTransactionStatuses,
2121
ClientId,

0 commit comments

Comments
 (0)