Socket
Socket
Sign inDemoInstall

@metamask/ppom-validator

Package Overview
Dependencies
Maintainers
12
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/ppom-validator - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

7

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## [0.8.0]
### Changed
- Create copy of providerRequestsCount to avoid returning instance variable from PPOMController ([#72](https://github.com/MetaMask/ppom-validator/pull/72))
## [0.7.0]

@@ -65,3 +69,4 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/ppom-validator/compare/v0.7.0...HEAD
[Unreleased]: https://github.com/MetaMask/ppom-validator/compare/v0.8.0...HEAD
[0.8.0]: https://github.com/MetaMask/ppom-validator/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/MetaMask/ppom-validator/compare/v0.6.0...v0.7.0

@@ -68,0 +73,0 @@ [0.6.0]: https://github.com/MetaMask/ppom-validator/compare/v0.5.0...v0.6.0

@@ -219,3 +219,8 @@ "use strict";

const result = await callback(__classPrivateFieldGet(this, _PPOMController_ppom, "f"));
return { ...result, providerRequestsCount: __classPrivateFieldGet(this, _PPOMController_providerRequestsCount, "f") };
return {
...result,
// we are destructuring the object below as this will be used outside the controller
// we want to avoid possibility of outside code changing an instance variable.
providerRequestsCount: { ...__classPrivateFieldGet(this, _PPOMController_providerRequestsCount, "f") },
};
});

@@ -222,0 +227,0 @@ }

2

package.json
{
"name": "@metamask/ppom-validator",
"version": "0.7.0",
"version": "0.8.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc