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

Update snap #31

Merged
merged 2 commits into from
Mar 30, 2022
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 snap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h1>Hello, Snaps!</h1>
</body>

<script>
const snapId = `local:${window.location.href}`;
const snapId = `npm:[email protected]`;

const connectButton = document.querySelector('button.connect')
const sendButton = document.querySelector('button.sendHello')
Expand Down
21 changes: 18 additions & 3 deletions snap/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"name": "cabal-snap",
"version": "1.0.0",
"description": "",
"name": "cabal-xyz-snap",
"version": "1.0.1",
"description": "Metamask snap fo cabal.xyz",
"repository": {
"type": "git",
"url": "[email protected]:0xPARC/cabal.git"
},
"main": "src/index.js",
"files": [
"dist/",
"snap.manifest.json"
],
"scripts": {
"build:clean": "yarn clean && yarn build",
"build": "mm-snap build",
Expand Down Expand Up @@ -30,5 +38,12 @@
"circomlibjs": "github:lsankar4033/circomlibjs#lsankar4033/cabal-new",
"ethers": "5.6.2",
"snarkjs": "github:veronicaz41/snarkjs#vzheng/cabal-new"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=12.11.0"
}
}
14 changes: 9 additions & 5 deletions snap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"version": "1.0.0",
"description": "Cabal Snap",
"proposedName": "cabal-snap",
"version": "1.0.1",
"description": "Snap for cabal.xyz",
"proposedName": "cabal-xyz-snap",
"repository": {
"type": "git",
"url": "[email protected]:0xPARC/cabal.git"
},
"source": {
"shasum": "0GKLE3joDCpl4GH17/Dj0/HrP6ch0AQ+ENMljaSNFJM=",
"shasum": "XXZBisAZRJiowzXUOF2KR4QHKhnxhvkfhXl0OkJ5wlI=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
"packageName": "cabal-snap",
"packageName": "cabal-xyz-snap",
"registry": "https://registry.npmjs.org"
}
}
Expand Down