diff --git a/packages/snap/package.json b/packages/snap/package.json index 39896cb..9768bc6 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -1,7 +1,7 @@ { - "name": "snap", - "version": "1.0.1", - "description": "MetaMask Snap allowing users to interact with Antelope networks", + "name": "@greymass/eos-wallet", + "version": "1.1.0", + "description": "Use MetaMask with the EOS Network", "repository": { "type": "git", "url": "https://github.com/@greymass/antelope-snap.git" @@ -10,7 +10,8 @@ "main": "./dist/bundle.js", "files": [ "dist/", - "snap.manifest.json" + "snap.manifest.json", + "src/assets/eos-logo.svg" ], "scripts": { "allow-scripts": "yarn workspace root allow-scripts", diff --git a/packages/snap/snap.config.ts b/packages/snap/snap.config.ts index ada81eb..4a7fdb5 100644 --- a/packages/snap/snap.config.ts +++ b/packages/snap/snap.config.ts @@ -11,6 +11,29 @@ const config: SnapConfig = { crypto: true, buffer: true, }, + customizeWebpackConfig: (config) => { + return { + ...config, + module: { + ...config.module, + rules: [ + ...(config.module?.rules || []), + { + test: /\.svg$/, + use: [ + { + loader: 'url-loader', + options: { + limit: 10000, + name: 'images/[hash]-[name].[ext]', + }, + }, + ], + }, + ], + }, + }; + }, }; export default config; diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 1ed885f..9850cf7 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -1,18 +1,18 @@ { - "version": "1.0.1", - "description": "Use MetaMask with the BLOCKCHAIN Network", - "proposedName": "BLOCKCHAIN Wallet", + "version": "1.1.0", + "description": "Use MetaMask with the EOS Network", + "proposedName": "EOS Wallet", "repository": { "type": "git", "url": "https://github.com/@greymass/antelope-snap.git" }, "source": { - "shasum": "qbEi3wUvdBWmFB6QXs3uzvEI6TDJGXCVgfMRiDo3cFs=", + "shasum": "05RXQ66dkZzU6uIeHBWC8PwII1X8voKdZuCDXfrrCew=", "location": { "npm": { "filePath": "dist/bundle.js", "iconPath": "src/assets/eos-logo.svg", - "packageName": "snap", + "packageName": "@greymass/eos-wallet", "registry": "https://registry.npmjs.org/" } } diff --git a/packages/snap/src/assets/eos-logo.svg b/packages/snap/src/assets/eos-logo.svg index 67cf064..349082b 100644 --- a/packages/snap/src/assets/eos-logo.svg +++ b/packages/snap/src/assets/eos-logo.svg @@ -1,12 +1,23 @@ - - - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/snap/src/index.ts b/packages/snap/src/index.ts index c66300a..9edc20a 100644 --- a/packages/snap/src/index.ts +++ b/packages/snap/src/index.ts @@ -14,7 +14,7 @@ import type { } from './types'; const SNAP_NAME = 'EOS Wallet'; -const HELP_URL = 'https://unicove.com/eos/metamask'; +const HELP_URL = 'https://unicove.com/eos/signup/wallets/extensions/metamask'; /** * Handle the installation of the snap.