Skip to content

Commit d82c88b

Browse files
authored
chore: export missing constant NETWORKS_BYPASSING_VALIDATION (#6627)
## Explanation <!-- Thanks for your contribution! Take a moment to answer these questions so that reviewers have the information they need to properly understand your changes: * What is the current state of things and why does it need to change? * What is the solution your changes offer and how does it work? * Are there any changes whose purpose might not obvious to those unfamiliar with the domain? * If your primary goal was to update one package but you found you had to update another one along the way, why did you do so? * If you had to upgrade a dependency, why did you do so? --> ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs), highlighting breaking changes as necessary - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
1 parent 0c25595 commit d82c88b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

packages/controller-utils/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+
### Added
11+
12+
- Export `NETWORKS_BYPASSING_VALIDATION` constant globally . ([#6627](https://github.com/MetaMask/core/pull/6627))
13+
1014
## [11.13.0]
1115

1216
### Added

packages/controller-utils/src/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ describe('@metamask/controller-utils', () => {
4949
"HOURS",
5050
"DAY",
5151
"DAYS",
52+
"NETWORKS_BYPASSING_VALIDATION",
5253
"BNToHex",
5354
"convertHexToDecimal",
5455
"fetchWithErrorHandling",

packages/controller-utils/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export {
5151
HOURS,
5252
DAY,
5353
DAYS,
54+
NETWORKS_BYPASSING_VALIDATION,
5455
} from './constants';
5556
export type { NonEmptyArray } from './util';
5657
export {

0 commit comments

Comments
 (0)