diff --git a/package.json b/package.json index 0641660..cfda5c7 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "prettier-plugin-packagejson": "^2.2.18", "ts-jest": "^29.1.0", "typescript": "^4.7.4", + "webpack": "^5.89.0", "webpack-cli": "^5.1.4", "webpack-node-externals": "^3.0.0" }, diff --git a/packages/snap/README.md b/packages/snap/README.md index c689a53..762d31c 100644 --- a/packages/snap/README.md +++ b/packages/snap/README.md @@ -8,12 +8,4 @@ The Polkagate Signer is currently operational within the Metamask Flask and is i
-
- - \ No newline at end of file + \ No newline at end of file diff --git a/packages/snap/note b/packages/snap/note new file mode 100644 index 0000000..187f519 --- /dev/null +++ b/packages/snap/note @@ -0,0 +1,5 @@ +To Publish on NPM: +adjust version in package.json and snap.manifest.json +yarn build +cd packages/snap/ +npm publish --auth-type=web \ No newline at end of file diff --git a/packages/snap/package.json b/packages/snap/package.json index 9bfd0d2..3963d62 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -1,6 +1,6 @@ { "name": "@polkagate/snap", - "version": "0.1.13", + "version": "0.1.14", "description": "PolkaMask: 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", diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 58f56a1..aa0ec92 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "0.1.13", + "version": "0.1.14", "description": "Explore Polkadot decentralized applications and manage your tokens using your MetaMask wallet. Start your journey at apps.polkagate.xyz.", "proposedName": "PolkaMask", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/polkagate/polkamask.git" }, "source": { - "shasum": "G3a3oHXXTb2EJSHF0ekc82Ff9dKf6cJxMJyuJ2/RBHM=", + "shasum": "1j5J8wYqSAI1mZdm+TDXyd8dRZEh5qbTJ0Z+y06a9yg=", "location": { "npm": { "filePath": "dist/bundle.js", diff --git a/packages/snap/src/index.ts b/packages/snap/src/index.ts index 894b931..c027d4c 100644 --- a/packages/snap/src/index.ts +++ b/packages/snap/src/index.ts @@ -67,7 +67,9 @@ export const onInstall: OnInstallHandler = async () => { content: panel([ heading('Your account is now created 🚀'), divider(), - text('Ready for use on various Substrate-based chains.'), + text( + "To access your account's address in various formats, navigate to Menu → Snaps and click on the PolkaMask icon.", + ), text( 'To manage your account, please visit: **[https://apps.polkagate.xyz](https://apps.polkagate.xyz)**', ),