@metamask-previews/controller-utils 8.0.4-preview.eb2135e → 9.0.1-preview-d4ae797
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [9.0.1]
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Fix `types` field in `package.json` ([#4047](https://github.com/MetaMask/core/pull/4047))
|
|
15
|
+
|
|
16
|
+
## [9.0.0]
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- **BREAKING**: Add ESM build ([#3998](https://github.com/MetaMask/core/pull/3998))
|
|
21
|
+
- It's no longer possible to import files from `./dist` directly.
|
|
22
|
+
- Add support for Linea Sepolia to various constants, types, and type guards ([#3995](https://github.com/MetaMask/core/pull/3995))
|
|
23
|
+
- Add `LINEA_SEPOLIA` to `TESTNET_TICKER_SYMBOLS` constant
|
|
24
|
+
- Add `0xe705` to `CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP` constant
|
|
25
|
+
- Add `linea-sepolia` to `BUILT_IN_NETWORKS` constant and `InfuraNetworkType`, `NetworkType`, `ChainId`, and `NetworksTicker` types
|
|
26
|
+
- Add `LineaSepolia` to `BuiltInNetworkName` enum
|
|
27
|
+
- `isNetworkType` and `isInfuraNetworkType` now return `true` when given "linea-sepolia"
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- Update `normalizeEnsName` so that it does not attempt to normalize `"."` ([#4006](https://github.com/MetaMask/core/pull/4006))
|
|
32
|
+
- Move `bn.js` from `devDependencies` to `dependencies` ([#4023](https://github.com/MetaMask/core/pull/4023))
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- **BREAKING**: Narrow argument type for `BNToHex` and `fractionBN` from `any` to `BN` to enhance type safety ([#3975](https://github.com/MetaMask/core/pull/3975))
|
|
37
|
+
- **BREAKING**: Narrow argument type for `logOrRethrowError` from `any` to `unknown` to enhance type safety ([#3975](https://github.com/MetaMask/core/pull/3975))
|
|
38
|
+
- **BREAKING**: Narrow argument type for `isNetworkType` from `any` to `string` to enhance type safety ([#3975](https://github.com/MetaMask/core/pull/3975))
|
|
39
|
+
|
|
10
40
|
## [8.0.4]
|
|
11
41
|
|
|
12
42
|
### Changed
|
|
@@ -276,7 +306,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
276
306
|
|
|
277
307
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
278
308
|
|
|
279
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@
|
|
309
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@9.0.1...HEAD
|
|
310
|
+
[9.0.1]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@9.0.0...@metamask/controller-utils@9.0.1
|
|
311
|
+
[9.0.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.4...@metamask/controller-utils@9.0.0
|
|
280
312
|
[8.0.4]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.3...@metamask/controller-utils@8.0.4
|
|
281
313
|
[8.0.3]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.2...@metamask/controller-utils@8.0.3
|
|
282
314
|
[8.0.2]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@8.0.1...@metamask/controller-utils@8.0.2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/controller-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.1-preview-d4ae797",
|
|
4
4
|
"description": "Data and convenience functions shared by multiple packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"main": "./dist/index.js",
|
|
28
|
-
"types": "./dist/index.d.ts",
|
|
28
|
+
"types": "./dist/types/index.d.ts",
|
|
29
29
|
"files": [
|
|
30
30
|
"dist/"
|
|
31
31
|
],
|