Socket
Socket
Sign inDemoInstall

@metamask/keyring-api

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/keyring-api - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

13

CHANGELOG.md

@@ -10,2 +10,12 @@ # Changelog

## [6.2.1]
### Changed
- Bump @metamask/key-tree from 9.1.0 to 9.1.1 ([#310](https://github.com/MetaMask/keyring-api/pull/310)).
### Fixed
- Use internal `object` function instead of the upstream one ([#316](https://github.com/MetaMask/keyring-api/pull/316)).
## [6.2.0]

@@ -294,3 +304,4 @@

[Unreleased]: https://github.com/MetaMask/keyring-api/compare/v6.2.0...HEAD
[Unreleased]: https://github.com/MetaMask/keyring-api/compare/v6.2.1...HEAD
[6.2.1]: https://github.com/MetaMask/keyring-api/compare/v6.2.0...v6.2.1
[6.2.0]: https://github.com/MetaMask/keyring-api/compare/v6.1.1...v6.2.0

@@ -297,0 +308,0 @@ [6.1.1]: https://github.com/MetaMask/keyring-api/compare/v6.1.0...v6.1.1

8

dist/internal/events.d.ts

@@ -23,4 +23,4 @@ export declare const AccountCreatedEventStruct: import("superstruct").Struct<{

};
accountNameSuggestion: string | import("../superstruct").ExactOptionalTag;
displayConfirmation: boolean | import("../superstruct").ExactOptionalTag;
accountNameSuggestion?: string;
displayConfirmation?: boolean;
};

@@ -49,4 +49,4 @@ }, {

};
accountNameSuggestion: string | import("../superstruct").ExactOptionalTag;
displayConfirmation: boolean | import("../superstruct").ExactOptionalTag;
accountNameSuggestion?: string;
displayConfirmation?: boolean;
}, {

@@ -53,0 +53,0 @@ /**

@@ -10,5 +10,5 @@ "use strict";

const utils_2 = require("../utils");
exports.AccountCreatedEventStruct = (0, superstruct_1.object)({
exports.AccountCreatedEventStruct = (0, superstruct_2.object)({
method: (0, superstruct_1.literal)(`${events_1.KeyringEvent.AccountCreated}`),
params: (0, superstruct_1.object)({
params: (0, superstruct_2.object)({
/**

@@ -33,5 +33,5 @@ * New account object.

});
exports.AccountUpdatedEventStruct = (0, superstruct_1.object)({
exports.AccountUpdatedEventStruct = (0, superstruct_2.object)({
method: (0, superstruct_1.literal)(`${events_1.KeyringEvent.AccountUpdated}`),
params: (0, superstruct_1.object)({
params: (0, superstruct_2.object)({
/**

@@ -43,5 +43,5 @@ * Updated account object.

});
exports.AccountDeletedEventStruct = (0, superstruct_1.object)({
exports.AccountDeletedEventStruct = (0, superstruct_2.object)({
method: (0, superstruct_1.literal)(`${events_1.KeyringEvent.AccountDeleted}`),
params: (0, superstruct_1.object)({
params: (0, superstruct_2.object)({
/**

@@ -53,5 +53,5 @@ * Deleted account ID.

});
exports.RequestApprovedEventStruct = (0, superstruct_1.object)({
exports.RequestApprovedEventStruct = (0, superstruct_2.object)({
method: (0, superstruct_1.literal)(`${events_1.KeyringEvent.RequestApproved}`),
params: (0, superstruct_1.object)({
params: (0, superstruct_2.object)({
/**

@@ -67,5 +67,5 @@ * Request ID.

});
exports.RequestRejectedEventStruct = (0, superstruct_1.object)({
exports.RequestRejectedEventStruct = (0, superstruct_2.object)({
method: (0, superstruct_1.literal)(`${events_1.KeyringEvent.RequestRejected}`),
params: (0, superstruct_1.object)({
params: (0, superstruct_2.object)({
/**

@@ -72,0 +72,0 @@ * Request ID.

{
"name": "@metamask/keyring-api",
"version": "6.2.0",
"version": "6.2.1",
"description": "MetaMask Keyring API",

@@ -32,3 +32,3 @@ "keywords": [

"lint:eslint": "eslint . --cache --ext js,ts",
"lint:fix": "yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies && yarn lint:changelog",
"lint:fix": "yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies && yarn lint:changelog --fix",
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",

@@ -43,27 +43,27 @@ "prepack": "./scripts/prepack.sh",

"@metamask/snaps-sdk": "^4.2.0",
"@metamask/utils": "^8.3.0",
"@types/uuid": "^9.0.1",
"@metamask/utils": "^8.4.0",
"@types/uuid": "^9.0.8",
"bech32": "^2.0.0",
"superstruct": "^1.0.3",
"uuid": "^9.0.0"
"uuid": "^9.0.1"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.4",
"@lavamoat/preinstall-always-fail": "^1.0.0",
"@metamask/auto-changelog": "^3.1.0",
"@metamask/eslint-config": "^12.1.0",
"@lavamoat/preinstall-always-fail": "^2.0.0",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/eslint-config": "^12.2.0",
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@metamask/providers": "^16.0.0",
"@types/jest": "^28.1.6",
"@types/node": "^16",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"depcheck": "^1.4.3",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"@metamask/providers": "^16.1.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"depcheck": "^1.4.7",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsdoc": "^39.9.1",
"eslint-plugin-n": "^15.7.0",

@@ -73,10 +73,10 @@ "eslint-plugin-prettier": "^4.2.1",

"jest": "^28.1.3",
"jest-it-up": "^2.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.3.0",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.7",
"ts-node": "^10.7.0",
"tsd": "^0.29.0",
"typedoc": "^0.23.15",
"jest-it-up": "^3.1.0",
"prettier": "^2.8.8",
"prettier-plugin-packagejson": "^2.5.0",
"rimraf": "^5.0.7",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.2",
"tsd": "^0.31.0",
"typedoc": "^0.25.13",
"typescript": "~4.8.4"

@@ -83,0 +83,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