-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from ShubhamParkhi/dev
feat: New Apis for Snap
- Loading branch information
Showing
11 changed files
with
2,784 additions
and
604 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v16 | ||
v20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ | |
"node": ">=16.0.0" | ||
}, | ||
"volta": { | ||
"node": "16.20.0", | ||
"node": "20.11.0", | ||
"yarn": "3.3.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@kleros/scout-snap", | ||
"version": "1.3.1", | ||
"version": "1.3.3", | ||
"description": "A Metamask Snap that retrieves contract metadata from the Kleros Curate registries", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -31,16 +31,17 @@ | |
"serve": "mm-snap serve", | ||
"start": "mm-snap watch" | ||
}, | ||
"dependencies": { | ||
"@metamask/snaps-sdk": "^3.1.1" | ||
}, | ||
"devDependencies": { | ||
"@lavamoat/allow-scripts": "^2.5.1", | ||
"@metamask/auto-changelog": "^3.4.4", | ||
"@metamask/eslint-config": "^11.1.0", | ||
"@metamask/eslint-config-jest": "^11.1.0", | ||
"@metamask/eslint-config-nodejs": "^11.1.0", | ||
"@metamask/eslint-config-typescript": "^11.1.0", | ||
"@metamask/snaps-cli": "^0.32.2", | ||
"@metamask/snaps-types": "^0.32.2", | ||
"@metamask/snaps-ui": "^0.32.2", | ||
"@metamask/snaps-cli": "^6.0.2", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"eslint": "^8.57.0", | ||
|
@@ -55,16 +56,16 @@ | |
"rimraf": "^3.0.2", | ||
"typescript": "^4.9.5" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=16.0.0" | ||
}, | ||
"volta": { | ||
"node": "16.20.0", | ||
"node": "20.11.0", | ||
"yarn": "3.3.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,26 @@ | ||
module.exports = { | ||
cliOptions: { | ||
src: './src/index.ts', | ||
bundler: 'webpack', | ||
input: 'src/index.ts', | ||
output: { | ||
filename: 'bundle.js', | ||
path: 'dist', | ||
}, | ||
server: { | ||
port: 8080, | ||
}, | ||
manifest: { | ||
path: 'snap.manifest.json', | ||
}, | ||
features: { | ||
images: true, | ||
}, | ||
environment: { | ||
SNAP_ENV: process.env.SNAP_ENV, | ||
Check failure on line 18 in packages/snap/snap.config.js GitHub Actions / Lint (16.x)
|
||
PUBLIC_KEY: process.env.PUBLIC_KEY, | ||
Check failure on line 19 in packages/snap/snap.config.js GitHub Actions / Lint (16.x)
|
||
}, | ||
polyfills: { | ||
buffer: true, | ||
crypto: true, | ||
path: true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.