diff --git a/package.json b/package.json index 9242d203657473e46299c52b87360bf5077f30d7..6907f8be8977251381fa05cf49dedb418216bd42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hiveio/metamask-snap", - "version": "1.2.0", + "version": "1.2.1", "description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet", "main": "./dist/bundle.js", "files": [ diff --git a/snap.manifest.json b/snap.manifest.json index f18e4390cedae560ead49130b2de4ac45c13be83..72a551b728990b752a522aa40401fb581ae14a97 100644 --- a/snap.manifest.json +++ b/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "1.2.0", + "version": "1.2.1", "description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet", "proposedName": "Hive Wallet", "repository": { @@ -7,7 +7,7 @@ "url": "git+https://gitlab.syncad.com/hive/metamask-snap.git" }, "source": { - "shasum": "hAf7KSZu0ZiIU/ZhuggOpgN1Fw0TeiUw/bD2+lxjQN4=", + "shasum": "MXajRhEb2TjGR6uz1Q/BWyrqfzvNX0WPxcdKx+2ZlaQ=", "location": { "npm": { "filePath": "dist/bundle.js", diff --git a/src/snap/dialogs/ConfirmBufferSign.tsx b/src/snap/dialogs/ConfirmBufferSign.tsx index e826908cb24e90d9615486695c4ae508279f46a8..ca7a8618b685a69cefbc68cb511babea5559ede7 100644 --- a/src/snap/dialogs/ConfirmBufferSign.tsx +++ b/src/snap/dialogs/ConfirmBufferSign.tsx @@ -15,12 +15,13 @@ export const ConfirmBufferSign = (origin: string, buffer: string, firstKey: KeyI Confirm if you want to sign it using your: </Text> <Text> - - <Bold>{firstKeykey.role}</Bold> key (account index: <Italic>#{ String(firstKey.accountIndex ?? 0) }</Italic>) + - <Bold>{firstKey.role}</Bold> key (account index: <Italic>#{ String(firstKey.accountIndex ?? 0) }</Italic>) </Text> + <Text>This message will be encrypted for: </Text> { secondKey ? (typeof secondKey === "string" ? - <Text>This message will be encrypted for: <Copyable value={secondKey}/></Text> : - <Text>This message will be encrypted for: <Bold>{secondKey.role}</Bold> key (account index: <Italic>#{ String(secondKey.accountIndex ?? 0) }</Italic>)</Text> - ) : <Text>This message can only be viewed by you</Text> } + <Copyable value={ secondKey }/> : + <Text>- <Bold>{secondKey.role}</Bold> key (account index: <Italic>#{ String(secondKey.accountIndex ?? 0) }</Italic>)</Text> + ) : <Text>- <Bold>yourself</Bold></Text> } </Box> ) }