Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @metamask/key-tree from 7.1.1 to 9.0.0 #1608

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/examples/packages/bip32/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "8/e4XLtpw6JyNSByBEODuAsAkRpNWF6fO4LcjIHd+VA=",
"shasum": "9oyXJQYxK1RaRyRDAvJ2nV+ZGfFWtweLBAy/kluCmvY=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/bip44/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "ge3XEC3r81MdsiuzdNA+0VAmR7h94sgmFIRzmGBn3+A=",
"shasum": "1JZxM86AHcMcFpmvWGhXgRGVoSw4u3d7nTUpW2nJB3s=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/dialogs/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "ylKypC0JdgEbmwGOGTTWUHlptHkBjlqaeaZxFv71FQI=",
"shasum": "EBpGpLHqwekPKnT/7brYzPnWYolP7SFgp5MQuxaEQts=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "DpvaaockuUhYLZKN6+/aeQl8O9ow6ZY36dSIEJINiPk=",
"shasum": "EsG8omRcuaqk42KBQXHUpYvdM0dON20ymZHEm6O0HwE=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "RimObqCFdTd3nmm2suNd+dnYMUWGqWtbpO2/UOLYG74=",
"shasum": "tasfNamISGnzEvbTFmUYa5GzhE+IzqtHhxyPw3qPsI8=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { SLIP10Node } from '@metamask/key-tree';
import { secp256k1 } from '@metamask/key-tree';
import { createBip39KeyFromSeed } from '@metamask/key-tree/dist/derivers/bip39';
import { secp256k1, createBip39KeyFromSeed } from '@metamask/key-tree';
import { assertIsHexString, bytesToHex, hexToBytes } from '@metamask/utils';
import { Mutex } from 'async-mutex';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "nlX8lHgZgk0Ckn+HBdsIDSA1NtdoRMJgI8MfKP0SJ4s=",
"shasum": "yzU9PoGq3mrdtQttXYD1jW1bbRvjLxdhqpDRxiB+l3Y=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "1WJsiirj81xtQ2kJBO+1KfKy5in7Oq+KwxX+RcbSwU8=",
"shasum": "xgbi+zAopMrSKtQOo/mW4WjuMv7nEgDcBxNgdgIiAjw=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc-methods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"lint:ci": "yarn lint"
},
"dependencies": {
"@metamask/key-tree": "^7.1.1",
"@metamask/key-tree": "^9.0.0",
"@metamask/permission-controller": "^4.0.0",
"@metamask/snaps-ui": "workspace:^",
"@metamask/snaps-utils": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-simulator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@metamask/base-controller": "^3.0.0",
"@metamask/browser-passworder": "^4.1.0",
"@metamask/eth-json-rpc-middleware": "^11.0.0",
"@metamask/key-tree": "^7.1.1",
"@metamask/key-tree": "^9.0.0",
"@metamask/permission-controller": "^4.0.0",
"@metamask/rpc-errors": "^5.1.1",
"@metamask/rpc-methods": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ControllerMessenger } from '@metamask/base-controller';
import { encrypt, decrypt } from '@metamask/browser-passworder';
import { createFetchMiddleware } from '@metamask/eth-json-rpc-middleware';
import { mnemonicPhraseToBytes } from '@metamask/key-tree/dist/utils';
import { mnemonicPhraseToBytes } from '@metamask/key-tree';
import type { GenericPermissionController } from '@metamask/permission-controller';
import {
PermissionController,
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@babel/core": "^7.20.12",
"@babel/types": "^7.18.7",
"@metamask/base-controller": "^3.0.0",
"@metamask/key-tree": "^7.1.1",
"@metamask/key-tree": "^9.0.0",
"@metamask/permission-controller": "^4.0.0",
"@metamask/providers": "^11.0.0",
"@metamask/snaps-registry": "^1.2.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-utils/src/test-utils/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// TODO: Import from root.
import { mnemonicPhraseToBytes } from '@metamask/key-tree/dist/utils';
import { mnemonicPhraseToBytes } from '@metamask/key-tree';
import type { SemVerVersion } from '@metamask/utils';

export const TEST_SECRET_RECOVERY_PHRASE =
Expand Down
20 changes: 17 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4408,6 +4408,20 @@ __metadata:
languageName: node
linkType: hard

"@metamask/key-tree@npm:^9.0.0":
version: 9.0.0
resolution: "@metamask/key-tree@npm:9.0.0"
dependencies:
"@metamask/scure-bip39": ^2.1.0
"@metamask/utils": ^6.0.1
"@noble/ed25519": ^1.6.0
"@noble/hashes": ^1.0.0
"@noble/secp256k1": ^1.5.5
"@scure/base": ^1.0.0
checksum: 5c81f07351ca59b37570d52edcc80d60424630b2a8403ed7149c3343c264878ac5d3fc0584a61635ea7ddda4a789295ded1247846606dc529d8e2fd42f6fc61a
languageName: node
linkType: hard

"@metamask/manage-state-example-snap@workspace:packages/examples/packages/manage-state":
version: 0.0.0-use.local
resolution: "@metamask/manage-state-example-snap@workspace:packages/examples/packages/manage-state"
Expand Down Expand Up @@ -4641,7 +4655,7 @@ __metadata:
"@metamask/eslint-config-jest": ^12.1.0
"@metamask/eslint-config-nodejs": ^12.1.0
"@metamask/eslint-config-typescript": ^12.1.0
"@metamask/key-tree": ^7.1.1
"@metamask/key-tree": ^9.0.0
"@metamask/permission-controller": ^4.0.0
"@metamask/snaps-ui": "workspace:^"
"@metamask/snaps-utils": "workspace:^"
Expand Down Expand Up @@ -5103,7 +5117,7 @@ __metadata:
"@metamask/eslint-config-nodejs": ^12.1.0
"@metamask/eslint-config-typescript": ^12.1.0
"@metamask/eth-json-rpc-middleware": ^11.0.0
"@metamask/key-tree": ^7.1.1
"@metamask/key-tree": ^9.0.0
"@metamask/permission-controller": ^4.0.0
"@metamask/rpc-errors": ^5.1.1
"@metamask/rpc-methods": "workspace:^"
Expand Down Expand Up @@ -5280,7 +5294,7 @@ __metadata:
"@metamask/eslint-config-jest": ^12.1.0
"@metamask/eslint-config-nodejs": ^12.1.0
"@metamask/eslint-config-typescript": ^12.1.0
"@metamask/key-tree": ^7.1.1
"@metamask/key-tree": ^9.0.0
"@metamask/permission-controller": ^4.0.0
"@metamask/post-message-stream": ^6.1.2
"@metamask/providers": ^11.0.0
Expand Down
Loading