Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #734 from 3box/release/1.17.1
Browse files Browse the repository at this point in the history
Release/1.17.1
  • Loading branch information
oed authored Feb 20, 2020
2 parents 2b50f49 + 61706ae commit b165902
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release Notes

## v1.17.1 - 2020-02-20
* fix: Use authereum signing key (#733)

## v1.17.0 - 2020-02-13
* feat: confidential threads 🔒📫

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "3box",
"version": "1.17.0",
"version": "1.17.1",
"description": "Interact with user data",
"main": "lib/3box.js",
"directories": {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {

openBoxConsent: (fromAddress, ethereum) => {
const text = 'This app wants to view and update your 3Box profile.'
if (ethereum.isAuthereum) return ethereum.signMessageWithAdminKey(text)
if (ethereum.isAuthereum) return ethereum.signMessageWithSigningKey(text)
var msg = '0x' + Buffer.from(text, 'utf8').toString('hex')
var params = [msg, fromAddress]
var method = 'personal_sign'
Expand All @@ -60,7 +60,7 @@ module.exports = {

openSpaceConsent: (fromAddress, ethereum, name) => {
const text = `Allow this app to open your ${name} space.`
if (ethereum.isAuthereum) return ethereum.signMessageWithAdminKey(text)
if (ethereum.isAuthereum) return ethereum.signMessageWithSigningKey(text)
var msg = '0x' + Buffer.from(text, 'utf8').toString('hex')
var params = [msg, fromAddress]
var method = 'personal_sign'
Expand Down

0 comments on commit b165902

Please sign in to comment.