Skip to content

Commit 0bd4045

Browse files
chore: Bump Snaps packages (#510)
Bump Snaps packages to latest, this is primarily to support new manifest values and add new derivation paths.
1 parent dab9ff1 commit 0bd4045

File tree

3 files changed

+227
-164
lines changed

3 files changed

+227
-164
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
"@lingui/react": "^4.4.2",
6363
"@metamask/logo": "^3.1.1",
6464
"@metamask/providers": "^17.1.2",
65-
"@metamask/snaps-controllers": "^9.7.0",
66-
"@metamask/snaps-sdk": "^6.5.0",
67-
"@metamask/snaps-utils": "^8.1.1",
68-
"@metamask/utils": "^9.2.1",
65+
"@metamask/snaps-controllers": "^9.17.0",
66+
"@metamask/snaps-sdk": "^6.15.0",
67+
"@metamask/snaps-utils": "^8.8.0",
68+
"@metamask/utils": "^11.0.1",
6969
"@reduxjs/toolkit": "^1.9.6",
7070
"framer-motion": "^10.16.2",
7171
"gatsby": "^5.13.3",

src/features/snap/permissions.test.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,11 @@ describe('SNAP_PERMISSIONS', () => {
466466
curve: 'secp256k1',
467467
},
468468
{
469-
path: ['m', `44'`, `123456'`],
469+
path: ['m', `44'`, `123456789'`],
470470
curve: 'secp256k1',
471471
},
472472
{
473-
path: ['m', `44'`, `123456'`],
473+
path: ['m', `44'`, `123456789'`],
474474
curve: 'ed25519',
475475
},
476476
]),
@@ -513,7 +513,7 @@ describe('SNAP_PERMISSIONS', () => {
513513
"id": "9PM7um",
514514
"message": "Manage accounts (Unknown network \\"m/{purpose}/{coinType}\\")",
515515
"values": Object {
516-
"coinType": "123456'",
516+
"coinType": "123456789'",
517517
"purpose": "44'",
518518
},
519519
},
@@ -535,7 +535,7 @@ describe('SNAP_PERMISSIONS', () => {
535535
"id": "9PM7um",
536536
"message": "Manage accounts (Unknown network \\"m/{purpose}/{coinType}\\")",
537537
"values": Object {
538-
"coinType": "123456'",
538+
"coinType": "123456789'",
539539
"purpose": "44'",
540540
},
541541
},
@@ -554,7 +554,7 @@ describe('SNAP_PERMISSIONS', () => {
554554
coinType: 1,
555555
},
556556
{
557-
coinType: 123456,
557+
coinType: 123456789,
558558
},
559559
]),
560560
).toMatchInlineSnapshot(`
@@ -596,7 +596,7 @@ describe('SNAP_PERMISSIONS', () => {
596596
"id": "qL6Mq4",
597597
"message": "Manage accounts (Unknown network \\"m/44'/{coinType}'\\")",
598598
"values": Object {
599-
"coinType": 123456,
599+
"coinType": 123456789,
600600
},
601601
},
602602
"weight": 1,
@@ -615,11 +615,11 @@ describe('SNAP_PERMISSIONS', () => {
615615
curve: 'secp256k1',
616616
},
617617
{
618-
path: ['m', `44'`, `123456'`],
618+
path: ['m', `44'`, `123456789'`],
619619
curve: 'secp256k1',
620620
},
621621
{
622-
path: ['m', `44'`, `123456'`],
622+
path: ['m', `44'`, `123456789'`],
623623
curve: 'ed25519',
624624
},
625625
]),
@@ -662,7 +662,7 @@ describe('SNAP_PERMISSIONS', () => {
662662
"id": "erEYfR",
663663
"message": "View your public key (Unknown network \\"m/{purpose}/{coinType}\\")",
664664
"values": Object {
665-
"coinType": "123456'",
665+
"coinType": "123456789'",
666666
"purpose": "44'",
667667
},
668668
},
@@ -684,7 +684,7 @@ describe('SNAP_PERMISSIONS', () => {
684684
"id": "erEYfR",
685685
"message": "View your public key (Unknown network \\"m/{purpose}/{coinType}\\")",
686686
"values": Object {
687-
"coinType": "123456'",
687+
"coinType": "123456789'",
688688
"purpose": "44'",
689689
},
690690
},

0 commit comments

Comments
 (0)