@metamask-previews/network-controller
Advanced tools
Comparing version 19.0.0-preview-e751859 to 19.0.0-preview-ece76bc
@@ -5,3 +5,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkWBGETWDRjs = require('./chunk-WBGETWDR.js'); | ||
var _chunkWT5ZBF4Xjs = require('./chunk-WT5ZBF4X.js'); | ||
@@ -25,3 +25,3 @@ | ||
exports.INFURA_BLOCKED_KEY = _chunkZKNI7MD3js.INFURA_BLOCKED_KEY; exports.NetworkClientType = _chunkKHZTS7TFjs.NetworkClientType; exports.NetworkController = _chunkWBGETWDRjs.NetworkController; exports.NetworkStatus = _chunkZKNI7MD3js.NetworkStatus; exports.defaultState = _chunkWBGETWDRjs.defaultState; exports.knownKeysOf = _chunkWBGETWDRjs.knownKeysOf; | ||
exports.INFURA_BLOCKED_KEY = _chunkZKNI7MD3js.INFURA_BLOCKED_KEY; exports.NetworkClientType = _chunkKHZTS7TFjs.NetworkClientType; exports.NetworkController = _chunkWT5ZBF4Xjs.NetworkController; exports.NetworkStatus = _chunkZKNI7MD3js.NetworkStatus; exports.defaultState = _chunkWT5ZBF4Xjs.defaultState; exports.knownKeysOf = _chunkWT5ZBF4Xjs.knownKeysOf; | ||
//# sourceMappingURL=index.js.map |
@@ -5,3 +5,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkWBGETWDRjs = require('./chunk-WBGETWDR.js'); | ||
var _chunkWT5ZBF4Xjs = require('./chunk-WT5ZBF4X.js'); | ||
require('./chunk-ZKNI7MD3.js'); | ||
@@ -17,3 +17,3 @@ require('./chunk-LLMZDA4Q.js'); | ||
exports.NetworkController = _chunkWBGETWDRjs.NetworkController; exports.defaultState = _chunkWBGETWDRjs.defaultState; exports.knownKeysOf = _chunkWBGETWDRjs.knownKeysOf; | ||
exports.NetworkController = _chunkWT5ZBF4Xjs.NetworkController; exports.defaultState = _chunkWT5ZBF4Xjs.defaultState; exports.knownKeysOf = _chunkWT5ZBF4Xjs.knownKeysOf; | ||
//# sourceMappingURL=NetworkController.js.map |
@@ -7,2 +7,3 @@ import type { ControllerGetStateAction, ControllerStateChangeEvent, RestrictedControllerMessenger } from '@metamask/base-controller'; | ||
import type { Hex } from '@metamask/utils'; | ||
import type { Logger } from 'loglevel'; | ||
import { NetworkStatus } from './constants'; | ||
@@ -197,2 +198,3 @@ import type { AutoManagedNetworkClient, ProxyWithAccessibleTarget } from './create-auto-managed-network-client'; | ||
state?: Partial<NetworkState>; | ||
log?: Logger; | ||
}; | ||
@@ -214,3 +216,3 @@ export declare const defaultState: NetworkState; | ||
#private; | ||
constructor({ messenger, state, infuraProjectId, trackMetaMetricsEvent, }: NetworkControllerOptions); | ||
constructor({ messenger, state, infuraProjectId, trackMetaMetricsEvent, log, }: NetworkControllerOptions); | ||
/** | ||
@@ -217,0 +219,0 @@ * Accesses the provider and block tracker for the currently selected network. |
{ | ||
"name": "@metamask-previews/network-controller", | ||
"version": "19.0.0-preview-e751859", | ||
"version": "19.0.0-preview-ece76bc", | ||
"description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object", | ||
@@ -57,2 +57,3 @@ "keywords": [ | ||
"immer": "^9.0.6", | ||
"loglevel": "^1.8.1", | ||
"uuid": "^8.3.2" | ||
@@ -59,0 +60,0 @@ }, |
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
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
409250
3058
15
+ Addedloglevel@^1.8.1
+ Added@types/node@22.13.9(transitive)
+ Addedloglevel@1.9.2(transitive)
- Removed@types/node@22.13.8(transitive)