Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/snaps-registry

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/snaps-registry - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

dist/verify.d.ts

8

CHANGELOG.md

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

## [1.2.0]
### Added
- Sign the registry and publish signature alongside the registry ([#18](https://github.com/MetaMask/snaps-registry/pull/18))
- This includes a function for checking the validity of the signature for a given public key
## [1.1.1]

@@ -22,5 +27,6 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/snaps-registry/compare/v1.1.1...HEAD
[Unreleased]: https://github.com/MetaMask/snaps-registry/compare/v1.2.0...HEAD
[1.2.0]: https://github.com/MetaMask/snaps-registry/compare/v1.1.1...v1.2.0
[1.1.1]: https://github.com/MetaMask/snaps-registry/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/MetaMask/snaps-registry/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/MetaMask/snaps-registry/releases/tag/v1.0.0

@@ -106,1 +106,2 @@ import { Infer } from 'superstruct';

export declare type SnapsRegistryDatabase = Infer<typeof SnapsRegistryDatabaseStruct>;
export * from './verify';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -32,2 +46,3 @@ exports.SnapsRegistryDatabaseStruct = exports.BlockedSnapStruct = exports.BlockReasonStruct = exports.VerifiedSnapStruct = void 0;

});
__exportStar(require("./verify"), exports);
//# sourceMappingURL=index.js.map

14

package.json
{
"name": "@metamask/snaps-registry",
"version": "1.1.1",
"version": "1.2.0",
"description": "A registry containing metadata about verified and blocked Snaps.",

@@ -12,3 +12,4 @@ "repository": {

"files": [
"dist/"
"dist/",
"secp256k1-key.pub"
],

@@ -18,2 +19,3 @@ "scripts": {

"build:clean": "rimraf dist && yarn build",
"create-key": "ts-node scripts/create-key.ts",
"lint": "yarn lint:eslint && yarn lint:misc --check",

@@ -24,7 +26,10 @@ "lint:eslint": "eslint . --cache --ext js,ts",

"prepack": "./scripts/prepack.sh",
"sign": "ts-node scripts/sign-registry.ts",
"test": "jest && jest-it-up",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"verify": "ts-node scripts/verify-registry.ts"
},
"dependencies": {
"@metamask/utils": "^5.0.0",
"@noble/secp256k1": "^1.7.1",
"superstruct": "^1.0.3"

@@ -39,2 +44,4 @@ },

"@metamask/eslint-config-typescript": "^11.1.0",
"@noble/curves": "^0.9.0",
"@noble/hashes": "^1.3.0",
"@types/jest": "^28.1.6",

@@ -44,2 +51,3 @@ "@types/node": "^17.0.23",

"@typescript-eslint/parser": "^5.43.0",
"dotenv": "^16.0.3",
"eslint": "^8.27.0",

@@ -46,0 +54,0 @@ "eslint-config-prettier": "^8.5.0",

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