Skip to content

Commit

Permalink
add audit report link
Browse files Browse the repository at this point in the history
bump snap version

missing files
  • Loading branch information
Nick-1979 committed Feb 27, 2024
1 parent ca53085 commit f5de99c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ Afterward, you can access user interfaces as follows:

Note: This Metamask snap operates autonomously and does not rely on other extensions within the Polkadot ecosystem for its functionality.

## Polkagate Snap Security Audit Report

https://sayfer.io/audits/metamask-snap-audit-report-for-polkagate-snap/

---

For more detailed help, please refer to the [wiki](https://github.com/PolkaGate/snap/wiki).
Expand Down
3 changes: 2 additions & 1 deletion packages/dapp/src/util/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ const SNAP_VERSION = '>=0.1.14';
const LOCAL_SNAP_ID = 'local:http://localhost:8080';
const NPM_SNAP_ID = 'npm:@polkagate/snap';

export const DEFAULT_SNAP_ORIGIN = process.env.NODE_ENV === 'development' ? LOCAL_SNAP_ID : NPM_SNAP_ID;
export const DEFAULT_SNAP_ORIGIN = process.env.POLKAGATE_NODE_ENV === 'development' ? LOCAL_SNAP_ID : NPM_SNAP_ID;

console.log('process.env.POLKAGATE_NODE_ENV:',process.env.POLKAGATE_NODE_ENV)
export const SUPPORTED_SNAPS = {
[DEFAULT_SNAP_ORIGIN]: { version: SNAP_VERSION },
};
Expand Down
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polkagate/snap",
"version": "0.2.0",
"version": "0.2.1",
"description": "A MetaMask Snap to interact with Polkadot ecosystem, a platform for cross-chain communication and scalability. Use your MetaMask wallet to access Polkadot dApps and tokens. No extra extension needed.",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.2.0",
"version": "0.2.1",
"description": "Explore Polkadot decentralized applications and manage your tokens using your MetaMask wallet. Start your journey at apps.polkagate.xyz.",
"proposedName": "PolkaGate snap",
"repository": {
"type": "git",
"url": "https://github.com/polkagate/snap.git"
},
"source": {
"shasum": "knR1GRvbWzUyUXHJx2i6frH+QpKk0p5Dcc/Vv/JsQWk=",
"shasum": "O8bw3rvpictiFPPvlTBCuO4xVzK4athvfiLfiAt+nOE=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down

0 comments on commit f5de99c

Please sign in to comment.