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

@metamask/rpc-methods

Package Overview
Dependencies
Maintainers
9
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/rpc-methods - npm Package Compare versions

Comparing version 0.34.1-flask.1 to 0.35.0-flask.1

dist/cjs/index.js

17

CHANGELOG.md

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

## [0.35.0-flask.1]
### Added
- Add `snap_manageAccounts` RPC method ([#1290](https://github.com/MetaMask/snaps/pull/1290))
### Changed
- **BREAKING:** Build packages as both CJS and ESM ([#1519](https://github.com/MetaMask/snaps/pull/1519), ([#1532](https://github.com/MetaMask/snaps/pull/1532)))
- This is breaking in the sense that imports to `dist/` will now require you to import either `dist/cjs` or `dist/esm`.
- **BREAKING:** Disallow deriving Ethereum keys ([#1217](https://github.com/MetaMask/snaps/pull/1217))
- Coin type `60` is now blocked for derivation.
- Add `sideEffects: false` ([#1486](https://github.com/MetaMask/snaps/pull/1486))
### Fixed
- Fix BIP-32 path validation ([#1506](https://github.com/MetaMask/snaps/pull/1506))
## [0.34.1-flask.1]

@@ -338,3 +352,4 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/snaps/compare/v0.34.1-flask.1...HEAD
[Unreleased]: https://github.com/MetaMask/snaps/compare/v0.35.0-flask.1...HEAD
[0.35.0-flask.1]: https://github.com/MetaMask/snaps/compare/v0.34.1-flask.1...v0.35.0-flask.1
[0.34.1-flask.1]: https://github.com/MetaMask/snaps/compare/v0.34.0-flask.1...v0.34.1-flask.1

@@ -341,0 +356,0 @@ [0.34.0-flask.1]: https://github.com/MetaMask/snaps/compare/v0.33.1-flask.1...v0.34.0-flask.1

63

package.json
{
"name": "@metamask/rpc-methods",
"version": "0.34.1-flask.1",
"version": "0.35.0-flask.1",
"description": "MetaMask Snap RPC method implementations.",

@@ -9,6 +9,38 @@ "repository": {

},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./dist/cjs/*": {
"require": "./dist/cjs/*.js",
"types": "./dist/types/*.d.ts"
},
"./dist/esm/*": {
"import": "./dist/esm/*.js",
"types": "./dist/types/*.d.ts"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/types/*"
],
"./dist/cjs/*": [
"./dist/types/*"
],
"./dist/esm/*": [
"./dist/types/*"
]
}
},
"files": [
"dist/"
"dist/cjs/**",
"dist/esm/**",
"dist/types/**"
],

@@ -24,3 +56,7 @@ "scripts": {

"lint:changelog": "yarn auto-changelog validate",
"build": "tsc --project tsconfig.build.json",
"build": "yarn build:source && yarn build:types",
"build:source": "yarn build:esm && yarn build:cjs",
"build:types": "tsc --project tsconfig.build.json",
"build:esm": "swc src --out-dir dist/esm --config-file ../../.swcrc.build.json --config module.type=es6",
"build:cjs": "swc src --out-dir dist/cjs --config-file ../../.swcrc.build.json --config module.type=commonjs",
"build:clean": "yarn clean && yarn build",

@@ -33,9 +69,9 @@ "clean": "rimraf '*.tsbuildinfo' 'dist/*'",

"dependencies": {
"@metamask/key-tree": "^7.0.0",
"@metamask/key-tree": "^7.1.1",
"@metamask/permission-controller": "^4.0.0",
"@metamask/snaps-ui": "^0.34.1-flask.1",
"@metamask/snaps-utils": "^0.34.1-flask.1",
"@metamask/snaps-ui": "^0.35.0-flask.1",
"@metamask/snaps-utils": "^0.35.0-flask.1",
"@metamask/types": "^1.1.0",
"@metamask/utils": "^6.0.0",
"@noble/hashes": "^1.1.3",
"@metamask/utils": "^6.0.1",
"@noble/hashes": "^1.3.1",
"eth-rpc-errors": "^4.0.3",

@@ -48,3 +84,3 @@ "nanoid": "^3.1.31",

"@metamask/auto-changelog": "^3.1.0",
"@metamask/browser-passworder": "^4.0.2",
"@metamask/browser-passworder": "^4.1.0",
"@metamask/eslint-config": "^11.0.0",

@@ -54,5 +90,6 @@ "@metamask/eslint-config-jest": "^11.0.0",

"@metamask/eslint-config-typescript": "^11.0.0",
"@swc/core": "^1.3.61",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.66",
"@swc/jest": "^0.2.26",
"@types/node": "^17.0.36",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.42.1",

@@ -59,0 +96,0 @@ "@typescript-eslint/parser": "^5.42.1",

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