Skip to content

Commit

Permalink
🚨 arsnap: Fix snap initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
noomly committed Sep 12, 2023
1 parent b788c44 commit c6e14a1
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 109 deletions.
6 changes: 3 additions & 3 deletions packages/arsnap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@metamask/key-tree": "6.2.1",
"@metamask/snaps-ui": "0.32.2",
"@metamask/snaps-ui": "1.0.2",
"@pianity/arsnap-adapter": "workspace:*",
"@pianity/arsnap-keygen": "0.1.0",
"async-mutex": "0.4.0",
Expand All @@ -45,8 +45,8 @@
"vitest": "^0.32.2"
},
"devDependencies": {
"@metamask/snaps-cli": "0.32.2",
"@metamask/snaps-types": "0.32.2",
"@metamask/snaps-cli": "1.0.2",
"@metamask/snaps-types": "1.0.2",
"@pianity/eslint-config": "0.0.2",
"@pianity/prettier-config": "0.0.1",
"esbuild": "0.15.18",
Expand Down
2 changes: 1 addition & 1 deletion packages/arsnap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const handler: RpcMessageHandler = async ({ origin, request }): Promise<RpcRespo
const [maybeState, releaseState] = await getState();

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

const state = maybeState || (await initializeState());
Expand Down
Loading

0 comments on commit c6e14a1

Please sign in to comment.