Skip to content

Commit 6cf9f77

Browse files
authored
feat: export MetaMetrics helpers and constants (#539)
* feat: export MetaMetrics helpers and constants * update jest threshold
1 parent e5f077d commit 6cf9f77

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
### Added
11+
12+
- Add missing constants and helpers exports ([#538](https://github.com/MetaMask/smart-transactions-controller/pull/538))
13+
- `MetaMetricsEventCategory`
14+
- `MetaMetricsEventName`
15+
- `getSmartTransactionMetricsProperties`
16+
- `getSmartTransactionMetricsSensitiveProperties`
17+
1018
## [19.1.0]
1119

1220
### Added

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
coverageThreshold: {
88
global: {
99
branches: 74.65,
10-
functions: 92.5,
10+
functions: 91.5,
1111
lines: 92.52,
1212
statements: 92.51,
1313
},

src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ export type {
2020
SmartTransactionStatuses,
2121
ClientId,
2222
} from './types';
23+
export { MetaMetricsEventName, MetaMetricsEventCategory } from './constants';
24+
export {
25+
getSmartTransactionMetricsProperties,
26+
getSmartTransactionMetricsSensitiveProperties,
27+
} from './utils';

0 commit comments

Comments
 (0)