Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

chore(deps): update @metamask/keyring-api to version 6.0.0 #275

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@ethereumjs/tx": "^4.2.0",
"@metamask/eth-sig-util": "^7.0.1",
"@metamask/keyring-api": "^5.1.0",
"@metamask/keyring-api": "^6.0.0",
"@metamask/snaps-controllers": "^7.0.1",
"@metamask/snaps-sdk": "^4.0.1",
"@metamask/snaps-utils": "^7.0.3",
Expand Down
2 changes: 2 additions & 0 deletions src/SnapKeyring.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,7 @@ describe('SnapKeyring', () => {
...a,
metadata: {
name: '',
importTime: 0,
snap: snapMetadata,
keyring: {
type: 'Snap Keyring',
Expand Down Expand Up @@ -1202,6 +1203,7 @@ describe('SnapKeyring', () => {
...accounts[0],
metadata: {
name: '',
importTime: 0,
snap: { id: snapId, name: 'snap-name', enabled: true },
keyring: { type: 'Snap Keyring' },
},
Expand Down
1 change: 1 addition & 0 deletions src/SnapKeyring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ export class SnapKeyring extends EventEmitter {
address: account.address.toLowerCase(),
metadata: {
name: '',
importTime: 0,
ccharly marked this conversation as resolved.
Show resolved Hide resolved
keyring: {
type: this.type,
},
Expand Down
26 changes: 6 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ __metadata:
"@metamask/eslint-config-nodejs": ^12.1.0
"@metamask/eslint-config-typescript": ^12.1.0
"@metamask/eth-sig-util": ^7.0.1
"@metamask/keyring-api": ^5.1.0
"@metamask/keyring-api": ^6.0.0
"@metamask/snaps-controllers": ^7.0.1
"@metamask/snaps-sdk": ^4.0.1
"@metamask/snaps-utils": ^7.0.3
Expand Down Expand Up @@ -1167,18 +1167,18 @@ __metadata:
languageName: node
linkType: hard

"@metamask/keyring-api@npm:^5.1.0":
version: 5.1.0
resolution: "@metamask/keyring-api@npm:5.1.0"
"@metamask/keyring-api@npm:^6.0.0":
version: 6.0.0
resolution: "@metamask/keyring-api@npm:6.0.0"
dependencies:
"@metamask/snaps-sdk": ^3.1.1
"@metamask/snaps-sdk": ^4.0.0
"@metamask/utils": ^8.3.0
"@types/uuid": ^9.0.1
superstruct: ^1.0.3
uuid: ^9.0.0
peerDependencies:
"@metamask/providers": ">=15 <17"
checksum: 37cc4d35116285762be7167f294a31add9a978eca7652af014355ce691c9b90cfeb52ab8732ebc59d413aeb7ac87e785e4a2a49fd44d3c1563f3796e4ac1bb8f
checksum: d3d6d5d27945783ef74e8e1b9626d122a07df58a2a62e12c68ff0bda2894c6c0a16d6add40908159fb92dee0b98425c63fc494c9b86ae0d0a0be7dc74389997a
languageName: node
linkType: hard

Expand Down Expand Up @@ -1362,20 +1362,6 @@ __metadata:
languageName: node
linkType: hard

"@metamask/snaps-sdk@npm:^3.1.1":
version: 3.2.0
resolution: "@metamask/snaps-sdk@npm:3.2.0"
dependencies:
"@metamask/key-tree": ^9.0.0
"@metamask/providers": ^16.0.0
"@metamask/rpc-errors": ^6.2.1
"@metamask/utils": ^8.3.0
fast-xml-parser: ^4.3.4
superstruct: ^1.0.3
checksum: a95f10403b50be7b6b35b49eef3724eabb8ef0763db6434e6c77a6d56fb18deab928764dee2738ee6428e77ea582b3dd71e5cbdb19dfb37389dc4c6d34294891
languageName: node
linkType: hard

"@metamask/snaps-sdk@npm:^4.0.0, @metamask/snaps-sdk@npm:^4.0.1":
version: 4.0.1
resolution: "@metamask/snaps-sdk@npm:4.0.1"
Expand Down
Loading