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

Commit

Permalink
Release v1.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zachferland authored and oed committed May 21, 2019
1 parent a5cffca commit dcf44f9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ idUtils.verifyClaim(claim)
* [.spaces](#Box+spaces)
* [.openSpace(name, opts)](#Box+openSpace) ⇒ [<code>Space</code>](#Space)
* [.onSyncDone(syncDone)](#Box+onSyncDone)
* [.linkAccount(type)](#Box+linkAccount)
* [.isAccountLinked(type)](#Box+isAccountLinked)
* [.logout()](#Box+logout)
* _static_
* [.idUtils](#Box.idUtils)
Expand Down Expand Up @@ -327,6 +329,28 @@ Sets the callback function that will be called once when the db is fully synced.
| --- | --- | --- |
| syncDone | <code>function</code> | The function that will be called |
<a name="Box+linkAccount"></a>
#### box.linkAccount(type)
Creates a proof that links an external account to the 3Box account of the user.
**Kind**: instance method of [<code>Box</code>](#Box)
| Param | Type | Description |
| --- | --- | --- |
| type | <code>String</code> | The type of link (default 'ethereum') |
<a name="Box+isAccountLinked"></a>
#### box.isAccountLinked(type)
Checks if there is a proof that links an external account to the 3Box account of the user.
**Kind**: instance method of [<code>Box</code>](#Box)
| Param | Type | Description |
| --- | --- | --- |
| type | <code>String</code> | The type of link (default ethereum) |
<a name="Box+logout"></a>
#### box.logout()
Expand Down
4 changes: 4 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## v1.8.2 - 2019-05-21
* Fix: Link profile when opening space and haven't used public store
* Feat: Add the ability to manually check and add account linking

## v1.8.1 - 2019-05-16
* Fix: Resolved issue with `getVerifiedAccounts` returning an empty objec

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "3box",
"version": "1.8.1",
"version": "1.8.2",
"description": "Interact with user data",
"main": "lib/3box.js",
"directories": {
"lib": "lib"
},
"scripts": {
"lint": "./node_modules/.bin/standard --verbose src/**",
"test": "rm -rf ./tmp ; jest --detectOpenHandles --coverage --runInBand --testURL=\"http://localhost\"",
"test": "rm -rf ./tmp ; jest --forceExit --coverage --runInBand --testURL=\"http://localhost\"",
"build:es5": "rm -rf ./lib; ./node_modules/.bin/babel src --out-dir lib --ignore=src/__tests__/,src/__mocks__/",
"build:dist": "./node_modules/.bin/webpack --config webpack.config.js --mode=development",
"build:dist:dev": "./node_modules/.bin/webpack --config webpack.dev.config.js --mode=development",
Expand Down

0 comments on commit dcf44f9

Please sign in to comment.