Skip to content

Commit

Permalink
💾 arsnap: Rename the snap to Arweave Wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
noomly committed Aug 28, 2023
1 parent bbde9e4 commit 45e8490
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 40 deletions.
72 changes: 34 additions & 38 deletions packages/arsnap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,37 @@
{
"version": "0.0.18",
"description": "A MetaMask Snap allowing interaction with Arweave dapps.",
"proposedName": "ArSnap",
"repository": {
"type": "git",
"url": "https://github.com/pianity/arsnap.git"
},
"source": {
"shasum": "M2oeOPKqhtdHPNG6nOKGxkEqoVqebAn76WbGWOUE05U=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
"iconPath": "images/icon.svg",
"packageName": "@pianity/arsnap",
"registry": "https://registry.npmjs.org/"
}
}
},
"initialPermissions": {
"snap_manageState": {},
"snap_dialog": {},
"snap_notify": {},
"snap_getBip32Entropy": [
{
"path": [
"m",
"44'",
"472'"
"version": "0.2.0",
"description": "A MetaMask Snap allowing interaction with Arweave dapps.",
"proposedName": "Arweave Wallet",
"repository": {
"type": "git",
"url": "https://github.com/pianity/arsnap.git"
},
"source": {
"shasum": "twOowMkxiRnUHVF4YjGF9Q5w8F19Vl9mu5ULAgZHo2Y=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
"iconPath": "images/icon.svg",
"packageName": "@pianity/arsnap",
"registry": "https://registry.npmjs.org/"
}
}
},
"initialPermissions": {
"snap_manageState": {},
"snap_dialog": {},
"snap_notify": {},
"snap_getBip32Entropy": [
{
"path": ["m", "44'", "472'"],
"curve": "ed25519"
}
],
"curve": "ed25519"
}
],
"endowment:webassembly": {},
"endowment:rpc": {
"dapps": true,
"snaps": false
}
},
"manifestVersion": "0.1"
"endowment:webassembly": {},
"endowment:rpc": {
"dapps": true,
"snaps": false
}
},
"manifestVersion": "0.1"
}
4 changes: 2 additions & 2 deletions packages/arsnap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ const handler: RpcMessageHandler = async ({ origin, request }): Promise<RpcRespo
const [maybeState, releaseState] = await getState();

if (!maybeState) {
await notify("Initializing Arsnap, please allow up to 2 mins...");
await notify("Initializing Arweave Wallet, please allow up to 2 mins...");
}

const state = maybeState || (await initializeState());

if (!maybeState) {
await notify("Arsnap is ready.");
await notify("Arweave Wallet is ready.");
}

let response;
Expand Down

0 comments on commit 45e8490

Please sign in to comment.