@metamask/ppom-validator
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -9,2 +9,6 @@ # Changelog | ||
## [0.11.0] | ||
### Changed | ||
- Remove floating promise from constructor ([#86](https://github.com/MetaMask/ppom-validator/pull/86)) | ||
## [0.10.0] | ||
@@ -79,3 +83,4 @@ ### Changed | ||
[Unreleased]: https://github.com/MetaMask/ppom-validator/compare/v0.10.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/ppom-validator/compare/v0.11.0...HEAD | ||
[0.11.0]: https://github.com/MetaMask/ppom-validator/compare/v0.10.0...v0.11.0 | ||
[0.10.0]: https://github.com/MetaMask/ppom-validator/compare/v0.9.0...v0.10.0 | ||
@@ -82,0 +87,0 @@ [0.9.0]: https://github.com/MetaMask/ppom-validator/compare/v0.8.0...v0.9.0 |
@@ -175,6 +175,2 @@ "use strict"; | ||
__classPrivateFieldGet(this, _PPOMController_instances, "m", _PPOMController_checkScheduleFileDownloadForAllChains).call(this); | ||
// Async initialisation of PPOM as soon as controller is constructed and not when transactions are received | ||
// This helps to reduce the delay in validating transactions. | ||
// eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
__classPrivateFieldGet(this, _PPOMController_instances, "m", _PPOMController_initialisePPOM).call(this); | ||
} | ||
@@ -244,4 +240,5 @@ /** | ||
}) | ||
.catch(() => { | ||
.catch((error) => { | ||
console.error('Error in trying to initialize PPOM'); | ||
throw error; | ||
}); | ||
@@ -248,0 +245,0 @@ } |
{ | ||
"name": "@metamask/ppom-validator", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "This module has code to integrate Blockaid PPOM with MetaMask", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/MetaMask/ppom-validator#readme", |
Sorry, the diff of this file is not supported yet
134734
1136