@metamask-previews/logging-controller
Advanced tools
Comparing version 2.0.3-preview.eb2135e to 3.0.1-preview-07ab424
@@ -10,2 +10,21 @@ # Changelog | ||
## [3.0.1] | ||
### Fixed | ||
- Fix `types` field in `package.json` ([#4047](https://github.com/MetaMask/core/pull/4047)) | ||
## [3.0.0] | ||
### Added | ||
- **BREAKING**: Add ESM build ([#3998](https://github.com/MetaMask/core/pull/3998)) | ||
- It's no longer possible to import files from `./dist` directly. | ||
### Changed | ||
- **BREAKING:** Bump `@metamask/base-controller` to `^5.0.0` ([#4039](https://github.com/MetaMask/core/pull/4039)) | ||
- This version has a number of breaking changes. See the changelog for more. | ||
- Bump `@metamask/controller-utils` to `^9.0.0` ([#4039](https://github.com/MetaMask/core/pull/4039)) | ||
## [2.0.3] | ||
@@ -72,3 +91,5 @@ | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@2.0.3...HEAD | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@3.0.1...HEAD | ||
[3.0.1]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@3.0.0...@metamask/logging-controller@3.0.1 | ||
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@2.0.3...@metamask/logging-controller@3.0.0 | ||
[2.0.3]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@2.0.2...@metamask/logging-controller@2.0.3 | ||
@@ -75,0 +96,0 @@ [2.0.2]: https://github.com/MetaMask/core/compare/@metamask/logging-controller@2.0.1...@metamask/logging-controller@2.0.2 |
@@ -9,3 +9,3 @@ import type { RestrictedControllerMessenger } from '@metamask/base-controller'; | ||
*/ | ||
export declare type LogEntry = { | ||
export type LogEntry = { | ||
id: string; | ||
@@ -20,3 +20,3 @@ timestamp: number; | ||
*/ | ||
export declare type LoggingControllerState = { | ||
export type LoggingControllerState = { | ||
logs: { | ||
@@ -30,3 +30,3 @@ [id: string]: LogEntry; | ||
*/ | ||
export declare type AddLog = { | ||
export type AddLog = { | ||
type: `${typeof name}:add`; | ||
@@ -39,4 +39,4 @@ handler: LoggingController['add']; | ||
*/ | ||
export declare type LoggingControllerActions = AddLog; | ||
export declare type LoggingControllerMessenger = RestrictedControllerMessenger<typeof name, LoggingControllerActions, never, never, never>; | ||
export type LoggingControllerActions = AddLog; | ||
export type LoggingControllerMessenger = RestrictedControllerMessenger<typeof name, LoggingControllerActions, never, never, never>; | ||
/** | ||
@@ -43,0 +43,0 @@ * Controller that manages a list of logs for signature requests. |
@@ -26,3 +26,3 @@ import type { LogType } from './LogType'; | ||
*/ | ||
export declare type EthSignLog = { | ||
export type EthSignLog = { | ||
type: LogType.EthSignLog; | ||
@@ -29,0 +29,0 @@ data: { |
import type { LogType } from './LogType'; | ||
export declare type GenericLog = { | ||
export type GenericLog = { | ||
type: LogType.GenericLog; | ||
@@ -4,0 +4,0 @@ data: any; |
@@ -6,3 +6,3 @@ import type { EthSignLog } from './EthSignLog'; | ||
*/ | ||
export declare type Log = EthSignLog | GenericLog; | ||
export type Log = EthSignLog | GenericLog; | ||
/** | ||
@@ -9,0 +9,0 @@ * Export all other types from these files for usage by clients |
{ | ||
"name": "@metamask-previews/logging-controller", | ||
"version": "2.0.3-preview.eb2135e", | ||
"version": "3.0.1-preview-07ab424", | ||
"description": "Manages logging data to assist users and support staff", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"types": "./dist/types/index.d.ts", | ||
"files": [ | ||
@@ -45,4 +45,4 @@ "dist/" | ||
"dependencies": { | ||
"@metamask/base-controller": "^4.1.1", | ||
"@metamask/controller-utils": "^8.0.4", | ||
"@metamask/base-controller": "^5.0.1", | ||
"@metamask/controller-utils": "^9.0.2", | ||
"uuid": "^8.3.2" | ||
@@ -58,3 +58,3 @@ }, | ||
"typedoc-plugin-missing-exports": "^2.0.0", | ||
"typescript": "~4.8.4" | ||
"typescript": "~4.9.5" | ||
}, | ||
@@ -61,0 +61,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
85785
0
+ Added@metamask/base-controller@5.0.2(transitive)
+ Added@metamask/controller-utils@9.1.0(transitive)
+ Added@spruceid/siwe-parser@2.1.0(transitive)
+ Added@types/bn.js@5.1.6(transitive)
+ Added@types/node@22.13.1(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addedvalid-url@1.0.9(transitive)
- Removed@metamask/base-controller@4.1.1(transitive)
- Removed@metamask/controller-utils@8.0.4(transitive)
- Removed@spruceid/siwe-parser@1.1.3(transitive)