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 #542 from 3box/hotfix/v1.10.3
Browse files Browse the repository at this point in the history
Hotfix/v1.10.3
  • Loading branch information
oed authored Jul 26, 2019
2 parents 16cf904 + ac17979 commit 18f15ca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ Opens the 3Box associated with the given address
| opts.pinningNode | <code>String</code> | A string with an ipfs multi-address to a 3box pinning node |
| opts.ipfs | <code>Object</code> | A js-ipfs ipfs object |
| opts.addressServer | <code>String</code> | URL of the Address Server |
| opts.contentSignature | <code>String</code> | A signature, provided by a client of 3box using the private keys associated with the given address, of the 3box consent message |
<a name="Box.isLoggedIn"></a>
Expand Down
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.10.3 - 2019-07-26
* fix: resolves issue with portis and fortmatic web3 providers

## v1.10.2 - 2019-07-25
* feat: allow `consentSignature` to be passed as an option to `openBox`

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.10.2",
"version": "1.10.3",
"description": "Interact with user data",
"main": "lib/3box.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const getMessageConsent = (did, timestamp) => {
}

const safeEthSend = (ethereum, data, callback) => {
const send = Boolean(ethereum.sendAsync) ? ethereum.sendAsync : ethereum.send
const send = (Boolean(ethereum.sendAsync) ? ethereum.sendAsync : ethereum.send).bind(ethereum)
return new Promise((resolve, reject) => {
send(data, function(err, result) {
if (err) reject(err)
Expand Down

0 comments on commit 18f15ca

Please sign in to comment.