Skip to content

Commit 51ab913

Browse files
feat: Automatically add platformVersion to manifest (#2938)
In #2803 we added support for `platformVersion` in the manifest to indicate what version of the platform the Snap was implemented for. We chose to not automatically add this version to the manifest before releasing the initial changes. Since those changes have now been released we can enable automatically adding the field to the manifest. Closes #2854
1 parent c7a6906 commit 51ab913

File tree

35 files changed

+78
-37
lines changed

35 files changed

+78
-37
lines changed

packages/examples/packages/bip32/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "dWCQ3BjoAmv1KlzbrNPRa4QlB3qSHQKL6ONaV0mo7b0=",
10+
"shasum": "BXI9661L/fYaiBpXRSdqkP8BMOngNdoo9FwYTbrY7+s=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -43,5 +43,6 @@
4343
}
4444
]
4545
},
46+
"platformVersion": "6.13.0",
4647
"manifestVersion": "0.1"
4748
}

packages/examples/packages/bip44/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "dqWYaxXKggEChwefUCTvipvNzQ+0KbaT6x8vRDW0miw=",
10+
"shasum": "k9draXonmeZgsn647IkJLhYHrc75/Krpn7tA4F+8wGM=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -31,5 +31,6 @@
3131
}
3232
]
3333
},
34+
"platformVersion": "6.13.0",
3435
"manifestVersion": "0.1"
3536
}

packages/examples/packages/browserify-plugin/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "DYLBW3jdovQYu6jwACo/3xlujGXb0YxJ19UEpUKX1qE=",
10+
"shasum": "SquG9JvLanG/gJwBw5H1AZBlsthmv21Ci4Vn+sMemjM=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -21,5 +21,6 @@
2121
"dapps": true
2222
}
2323
},
24+
"platformVersion": "6.13.0",
2425
"manifestVersion": "0.1"
2526
}

packages/examples/packages/browserify/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "dFTqb94KtIZ44IaoMYhGunl9c9Of9j67TNYobl+CwYg=",
10+
"shasum": "pCp96i558WHqHIUZyZGUFcxAfOQ0afBHJ59nJB5ma78=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -21,5 +21,6 @@
2121
"dapps": true
2222
}
2323
},
24+
"platformVersion": "6.13.0",
2425
"manifestVersion": "0.1"
2526
}

packages/examples/packages/client-status/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "2apoRqY/ywA9P7gcTYwLsbxYFp8Tb7aNmT2bADL/13o=",
10+
"shasum": "+KdGrdkNoCdZlzq7KulSaWDD1OU4Vu+LpHiCgmYXnHg=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -22,5 +22,6 @@
2222
"snaps": false
2323
}
2424
},
25+
"platformVersion": "6.13.0",
2526
"manifestVersion": "0.1"
2627
}

packages/examples/packages/cronjobs/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "8bB9qcVDzKQyefr78Cm03aTbojKKg5jQ4nkzZUccKhs=",
10+
"shasum": "z06MC0KYtySDOdGTKH+afyyu3GWBu4LnKc4FVvfq1Oo=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -29,5 +29,6 @@
2929
},
3030
"snap_dialog": {}
3131
},
32+
"platformVersion": "6.13.0",
3233
"manifestVersion": "0.1"
3334
}

packages/examples/packages/dialogs/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "uZhYG9+3b1yA/94e0QhCJycqrPA96cBQyP+2plF0SEg=",
10+
"shasum": "YsyK0ottmZX+MXbSvusMiJ44lQoHoP7y0sq+GrPlRK0=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -22,5 +22,6 @@
2222
},
2323
"snap_dialog": {}
2424
},
25+
"platformVersion": "6.13.0",
2526
"manifestVersion": "0.1"
2627
}

packages/examples/packages/errors/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "nBAHoKcN5GNzCeKU2UdH+/8auyBBq6z3NxRbcTSuKj4=",
10+
"shasum": "YKH6iL1qdRaQSvIDIf2jnhVb30U7z6LoZp3sJ3vgBBg=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -21,5 +21,6 @@
2121
"dapps": true
2222
}
2323
},
24+
"platformVersion": "6.13.0",
2425
"manifestVersion": "0.1"
2526
}

packages/examples/packages/ethereum-provider/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "cFhK3nsekRxmXeas/P58bEzMVeLhbtp+ZeCDQ5LTtSs=",
10+
"shasum": "HYGsbZCa1cbaJLBU9dcQziEhKS1KD/sesQgTxZVI9lc=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -22,5 +22,6 @@
2222
},
2323
"endowment:ethereum-provider": {}
2424
},
25+
"platformVersion": "6.13.0",
2526
"manifestVersion": "0.1"
2627
}

packages/examples/packages/ethers-js/snap.manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "uVLwzYliwDATW6CiqATb1FyPgyagNs+3ini7QA+0okc=",
10+
"shasum": "H18HO5WDT/09sJKQ+JxTuqYi5Krx3LkE2G+JlQMeBVY=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",
@@ -23,5 +23,6 @@
2323
"snap_dialog": {},
2424
"snap_getEntropy": {}
2525
},
26+
"platformVersion": "6.13.0",
2627
"manifestVersion": "0.1"
2728
}

0 commit comments

Comments
 (0)