Skip to content

Commit

Permalink
chore: implement custom snap UI with JSX (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
SinanovicEdis authored Oct 18, 2024
1 parent 7f9eb73 commit 1e8c6a9
Show file tree
Hide file tree
Showing 14 changed files with 5,723 additions and 2,436 deletions.
5 changes: 5 additions & 0 deletions .changeset/serious-swans-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blockchain-lab-um/masca": minor
---

Replace old UI with jsx UI
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.13.1
v20.18.0
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"email": "[email protected]",
"url": "https://blockchain-lab.um.si"
},
"workspaces": ["packages/*", "apps/**/*", "libs/**/*"],

"scripts": {
"build": "pnpm nx run-many --target=build",
"build:docker": "./scripts/build-docker.sh",
Expand Down Expand Up @@ -61,13 +61,13 @@
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"packageManager": "pnpm@9.1.1",
"packageManager": "pnpm@9.12.2",
"engines": {
"node": ">=20.13.1"
"node": ">=20.18.0"
},
"volta": {
"node": "20.13.1",
"pnpm": "9.1.0"
"node": "20.18.0",
"pnpm": "9.12.2"
},
"pnpm": {
"patchedDependencies": {
Expand All @@ -79,8 +79,8 @@
"@changesets/[email protected]": "patches/@[email protected]",
"[email protected]": "patches/[email protected]",
"@iden3/[email protected]": "patches/@[email protected]",
"@metamask/[email protected]": "patches/@[email protected].patch",
"[email protected]": "patches/[email protected].patch"
"[email protected]": "patches/[email protected].patch",
"@metamask/snaps-sdk": "patches/@metamask__snaps-sdk.patch"
},
"allowNonAppliedPatches": false
}
Expand Down
12 changes: 7 additions & 5 deletions packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
"@iden3/js-jwz": "1.5.0",
"@iden3/js-merkletree": "1.2.0",
"@metamask/key-tree": "^9.0.0",
"@metamask/providers": "16.1.0",
"@metamask/snaps-sdk": "4.1.0",
"@metamask/utils": "^8.4.0",
"@metamask/providers": "17.1.2",
"@metamask/snaps-sdk": "6.9.0",
"@metamask/utils": "9.3.0",
"@veramo/core": "6.0.0",
"@veramo/credential-eip712": "6.0.0",
"@veramo/credential-ld": "6.0.0",
Expand Down Expand Up @@ -101,8 +101,8 @@
},
"devDependencies": {
"@ceramicnetwork/streamid": "2.17.0",
"@metamask/snaps-cli": "6.2.0",
"@metamask/snaps-utils": "7.3.0",
"@metamask/snaps-cli": "6.5.0",
"@metamask/snaps-utils": "8.4.1",
"@types/elliptic": "^6.4.18",
"@types/jsonpath": "^0.2.4",
"@types/lodash.clonedeep": "^4.5.9",
Expand All @@ -113,6 +113,8 @@
"jest-extended": "^4.0.2",
"jose": "^5.2.2",
"node-stdlib-browser": "^1.2.0",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.4",
"vite": "^5.2.11",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "1.6.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 @@ -26,7 +26,7 @@
"./files/circuits/credentialAtomicQuerySigV2/circuit_final.zkey",
"./files/circuits/credentialAtomicQuerySigV2/verification_key.json"
],
"shasum": "W/3/IgwF+9oYC1RNuqVojHgTxgG7YO/thPaKnWbBZ2I="
"shasum": "nb6d1TmK0UaDb4uoutgzRlNYcftbFe/mdawtXk4UeLM="
},
"initialPermissions": {
"endowment:ethereum-provider": {},
Expand Down
Loading

0 comments on commit 1e8c6a9

Please sign in to comment.