@metamask/polling-controller
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -9,2 +9,9 @@ # Changelog | ||
## [3.0.0] | ||
### Added | ||
- `BlockTrackerPollingController`, `BlockTrackerPollingControllerV1` and `BlockTrackerPollingControllerOnly` have been added and can be used by subclasses to poll with a blockTracker using the same API as the `StaticIntervalPollingController` versions - the only exception is the requirement to implement the abstract method `_getNetworkClientById` on subclasses. | ||
### Changed | ||
- **BREAKING:** `PollingController`, `PollingControllerV1` and `PollingControllerOnly` are all removed and replaced by `StaticIntervalPollingController`, `StaticIntervalPollingControllerV1` and `StaticIntervalPollingControllerOnly` ([#3636](https://github.com/MetaMask/core/pull/3636)) | ||
## [2.0.0] | ||
@@ -50,3 +57,4 @@ ### Changed | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@2.0.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@3.0.0...HEAD | ||
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@2.0.0...@metamask/polling-controller@3.0.0 | ||
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@1.0.2...@metamask/polling-controller@2.0.0 | ||
@@ -53,0 +61,0 @@ [1.0.2]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@1.0.1...@metamask/polling-controller@1.0.2 |
@@ -1,2 +0,4 @@ | ||
export { PollingController, PollingControllerV1, PollingControllerOnly, } from './PollingController'; | ||
export { BlockTrackerPollingControllerOnly, BlockTrackerPollingController, BlockTrackerPollingControllerV1, } from './BlockTrackerPollingController'; | ||
export { StaticIntervalPollingControllerOnly, StaticIntervalPollingController, StaticIntervalPollingControllerV1, } from './StaticIntervalPollingController'; | ||
export type { IPollingController } from './AbstractPollingController'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PollingControllerOnly = exports.PollingControllerV1 = exports.PollingController = void 0; | ||
var PollingController_1 = require("./PollingController"); | ||
Object.defineProperty(exports, "PollingController", { enumerable: true, get: function () { return PollingController_1.PollingController; } }); | ||
Object.defineProperty(exports, "PollingControllerV1", { enumerable: true, get: function () { return PollingController_1.PollingControllerV1; } }); | ||
Object.defineProperty(exports, "PollingControllerOnly", { enumerable: true, get: function () { return PollingController_1.PollingControllerOnly; } }); | ||
exports.StaticIntervalPollingControllerV1 = exports.StaticIntervalPollingController = exports.StaticIntervalPollingControllerOnly = exports.BlockTrackerPollingControllerV1 = exports.BlockTrackerPollingController = exports.BlockTrackerPollingControllerOnly = void 0; | ||
var BlockTrackerPollingController_1 = require("./BlockTrackerPollingController"); | ||
Object.defineProperty(exports, "BlockTrackerPollingControllerOnly", { enumerable: true, get: function () { return BlockTrackerPollingController_1.BlockTrackerPollingControllerOnly; } }); | ||
Object.defineProperty(exports, "BlockTrackerPollingController", { enumerable: true, get: function () { return BlockTrackerPollingController_1.BlockTrackerPollingController; } }); | ||
Object.defineProperty(exports, "BlockTrackerPollingControllerV1", { enumerable: true, get: function () { return BlockTrackerPollingController_1.BlockTrackerPollingControllerV1; } }); | ||
var StaticIntervalPollingController_1 = require("./StaticIntervalPollingController"); | ||
Object.defineProperty(exports, "StaticIntervalPollingControllerOnly", { enumerable: true, get: function () { return StaticIntervalPollingController_1.StaticIntervalPollingControllerOnly; } }); | ||
Object.defineProperty(exports, "StaticIntervalPollingController", { enumerable: true, get: function () { return StaticIntervalPollingController_1.StaticIntervalPollingController; } }); | ||
Object.defineProperty(exports, "StaticIntervalPollingControllerV1", { enumerable: true, get: function () { return StaticIntervalPollingController_1.StaticIntervalPollingControllerV1; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@metamask/polling-controller", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Polling Controller is the base for controllers that polling by networkClientId", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"@metamask/base-controller": "^4.0.0", | ||
"@metamask/controller-utils": "^6.0.0", | ||
"@metamask/controller-utils": "^7.0.0", | ||
"@metamask/network-controller": "^17.0.0", | ||
@@ -37,0 +37,0 @@ "@metamask/utils": "^8.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50846
20
373
1
+ Added@metamask/controller-utils@7.0.0(transitive)
- Removed@metamask/controller-utils@6.1.0(transitive)