@metamask-previews/logging-controller
Advanced tools
Comparing version 3.0.1-preview-a3500873 to 3.0.1-preview-a8ffe8e
@@ -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": "3.0.1-preview-a3500873", | ||
"version": "3.0.1-preview-a8ffe8e", | ||
"description": "Manages logging data to assist users and support staff", | ||
@@ -45,3 +45,3 @@ "keywords": [ | ||
"@metamask/base-controller": "^5.0.1", | ||
"@metamask/controller-utils": "^9.0.1", | ||
"@metamask/controller-utils": "^9.0.2", | ||
"uuid": "^8.3.2" | ||
@@ -57,3 +57,3 @@ }, | ||
"typedoc-plugin-missing-exports": "^2.0.0", | ||
"typescript": "~4.8.4" | ||
"typescript": "~4.9.5" | ||
}, | ||
@@ -60,0 +60,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
85785