Skip to content

Commit

Permalink
chore: update snaps libs (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 authored Apr 22, 2024
1 parent d5601e5 commit 3f6d73e
Show file tree
Hide file tree
Showing 8 changed files with 1,037 additions and 259 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-pens-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blockchain-lab-um/masca": minor
---

Update snaps libraries
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"@ceramicnetwork/[email protected]": "patches/@[email protected]",
"@metamask/[email protected]": "patches/@[email protected]",
"@changesets/[email protected]": "patches/@[email protected]",
"@iden3/[email protected]": "patches/@[email protected]",
"@iden3/[email protected]": "patches/@[email protected]",
Expand All @@ -85,7 +84,8 @@
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"@iden3/[email protected]": "patches/@[email protected]"
"@iden3/[email protected]": "patches/@[email protected]",
"@metamask/[email protected]": "patches/@[email protected]"
},
"allowNonAppliedPatches": false
}
Expand Down
5 changes: 3 additions & 2 deletions packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@iden3/js-merkletree": "1.1.2",
"@metamask/key-tree": "^9.0.0",
"@metamask/providers": "14.0.2",
"@metamask/snaps-sdk": "1.2.0",
"@metamask/snaps-sdk": "3.2.0",
"@metamask/utils": "^8.2.1",
"@veramo/core": "5.6.1-next.57",
"@veramo/credential-eip712": "5.6.1-next.57",
Expand Down Expand Up @@ -101,7 +101,8 @@
},
"devDependencies": {
"@ceramicnetwork/streamid": "2.17.0",
"@metamask/snaps-cli": "3.0.3",
"@metamask/snaps-cli": "6.1.0",
"@metamask/snaps-utils": "7.0.4",
"@types/elliptic": "^6.4.18",
"@types/jsonpath": "^0.2.4",
"@types/lodash.clonedeep": "^4.5.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/post-process.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('node:fs');
const pathUtils = require('node:path');

const { postProcessBundle } = require('@metamask/snaps-utils');
const { postProcessBundle } = require('@metamask/snaps-utils/node');

console.log('Post-processing bundle');

Expand Down
8 changes: 4 additions & 4 deletions packages/snap/snap.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
cliOptions: {
src: 'dist/snap.js',
port: 8081,
transpilationMode: 'localOnly',
input: './src/index.ts',
output: {
path: 'dist',
filename: 'snap.js',
},
};
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": "lOw1jx4zXBYIWfueSGAiWQzu9ZfZrIbEg8EjNMZuG5o="
"shasum": "kqzTcg3I/aUg/O0tRt8kBvQHnP6f/GeTJNCJK6q2fDk="
},
"initialPermissions": {
"endowment:ethereum-provider": {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 649aa62a91fdb0429db1d9553a3e80824576c53a..0000000000000000000000000000000000000000
index f1f9cfdc963b8c7fdb664dfcc23168d5b6d3d965..0000000000000000000000000000000000000000
diff --git a/dist/types/types/global.d.ts b/dist/types/types/global.d.ts
index c3bd544a4c06ee552f753a913f6d39ca6f8575c1..a5e4d5f4650e52f6ce9d2ca97a3ca65475b27c08 100644
--- a/dist/types/types/global.d.ts
Expand Down
Loading

0 comments on commit 3f6d73e

Please sign in to comment.