Skip to content

Commit

Permalink
Bump @metamask/snaps-cli to 0.30.0 (MetaMask#36)
Browse files Browse the repository at this point in the history
* Update CLI

* Fix type

* Update shasum
  • Loading branch information
FrederikBolding authored Apr 13, 2023
1 parent 2567b5e commit d9d4628
Show file tree
Hide file tree
Showing 4 changed files with 938 additions and 55 deletions.
6 changes: 3 additions & 3 deletions packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@metamask/eslint-config-jest": "^10.0.0",
"@metamask/eslint-config-nodejs": "^10.0.0",
"@metamask/eslint-config-typescript": "^10.0.0",
"@metamask/snaps-cli": "^0.27.1",
"@metamask/snaps-types": "^0.27.1",
"@metamask/snaps-ui": "^0.27.1",
"@metamask/snaps-cli": "^0.30.0",
"@metamask/snaps-types": "^0.30.0",
"@metamask/snaps-ui": "^0.30.0",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"eslint": "^8.21.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/template-snap-monorepo.git"
},
"source": {
"shasum": "IgmLa9j7q8fAStRzmp9l/r1to0jAA9TxWRQjf3ghA+Y=",
"shasum": "0xq+5/F+SizTm2jaVed+X7BAVTySwa8Zi3OMuCAsZ3s=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const onRpcRequest: OnRpcRequestHandler = ({ origin, request }) => {
return snap.request({
method: 'snap_dialog',
params: {
type: 'Confirmation',
type: 'confirmation',
content: panel([
text(`Hello, **${origin}**!`),
text('This custom confirmation is just for display purposes.'),
Expand Down
Loading

0 comments on commit d9d4628

Please sign in to comment.