@metamask/rpc-methods
Advanced tools
Comparing version 0.34.1-flask.1 to 0.35.0-flask.1
@@ -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 |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
455323
126
4414
29
1
+ Added@metamask/providers@11.1.2(transitive)
+ Added@metamask/snaps-ui@0.35.0-flask.1(transitive)
+ Added@metamask/snaps-utils@0.35.0-flask.1(transitive)
+ Addedelectron-to-chromium@1.5.60(transitive)
+ Addedwebextension-polyfill@0.10.0(transitive)
- Removed@metamask/providers@10.2.1(transitive)
- Removed@metamask/snaps-ui@0.34.1-flask.1(transitive)
- Removed@metamask/snaps-utils@0.34.1-flask.1(transitive)
- Removed@types/chrome@0.0.136(transitive)
- Removed@types/filesystem@0.0.36(transitive)
- Removed@types/filewriter@0.0.33(transitive)
- Removed@types/har-format@1.2.16(transitive)
- Removedelectron-to-chromium@1.5.59(transitive)
- Removedfast-deep-equal@2.0.1(transitive)
- Removedwebextension-polyfill@0.12.00.7.0(transitive)
- Removedwebextension-polyfill-ts@0.25.0(transitive)
Updated@metamask/key-tree@^7.1.1
Updated@metamask/utils@^6.0.1
Updated@noble/hashes@^1.3.1