Skip to content

Commit a4278e2

Browse files
authored
Merge pull request #110 from ChainSafe/irubido/viewingKeyMessage
viewing key prompt message
2 parents b52dd0e + 327b55f commit a4278e2

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

packages/snap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chainsafe/webzjs-zcash-snap",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"description": "Zcash Metmamask Snap that utilizes WebZjs.",
55
"repository": {
66
"type": "git",

packages/snap/snap.manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"version": "0.2.5",
2+
"version": "0.2.6",
33
"description": "WebZjs Snap for Zcash wallet",
44
"proposedName": "Zcash Shielded Wallet",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/ChainSafe/WebZjs.git"
88
},
99
"source": {
10-
"shasum": "U0tolDMvhGziOXsDkIEMI78T9bUSUG2ol61QAzFUYO8=",
10+
"shasum": "6xAVsbiI+vzYPOZ/f1+9GVEhLvYy9X/hhTuFXjQc1Sc=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/snap/src/rpc/getViewingKey.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export async function getViewingKey(
2626
<Box>
2727
<Heading>Reveal Viewing Key to the {origin}</Heading>
2828
<Divider />
29-
<Text>{origin} needs access to the Viewing Key, approve this dialog to give permission.</Text>
29+
<Text>Web wallet {origin} needs access to the Viewing Key, approve this dialog to give permission.</Text>
30+
<Text>Viewing Key is used to create a new account in the Zcash Web Wallet. Web wallet account is serialized and stored only locally. Viewing Key is not sent, logged or stored in any way.</Text>
3031
<Divider />
3132
<Copyable value={viewingKey} />
3233
</Box>

0 commit comments

Comments
 (0)