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

Commit

Permalink
Release v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oed committed Feb 21, 2019
1 parent 0a089db commit 3fd3944
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ Please use **box.openSpace** to get the instance of this class
* [.addGithub(gistUrl)](#Verified+addGithub) ⇒ <code>Object</code>
* [.twitter()](#Verified+twitter) ⇒ <code>Object</code>
* [.addTwitter(claim)](#Verified+addTwitter) ⇒ <code>Object</code>
* [.email()](#Verified+email) ⇒ <code>Object</code>
* [.addEmail(claim)](#Verified+addEmail) ⇒ <code>Object</code>

<a name="new_Verified_new"></a>

Expand Down Expand Up @@ -556,3 +558,24 @@ Throws an error if the verification fails.
| --- | --- | --- |
| claim | <code>String</code> | A did-JWT claim ownership of a twitter username |

<a name="Verified+email"></a>

#### verified.email() ⇒ <code>Object</code>
Verifies that the user has a verified email account
Throws an error otherwise.

**Kind**: instance method of [<code>Verified</code>](#Verified)
**Returns**: <code>Object</code> - Object containing username, proof, and the verifier
<a name="Verified+addEmail"></a>

#### verified.addEmail(claim) ⇒ <code>Object</code>
Adds an email verification to the users profile
Throws an error if the verification fails.

**Kind**: instance method of [<code>Verified</code>](#Verified)
**Returns**: <code>Object</code> - Object containing username, proof, and the verifier

| Param | Type | Description |
| --- | --- | --- |
| claim | <code>String</code> | A did-JWT claim ownership of an email username |

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.4.0 - 2019-02-21
* New functions for adding a verified email credential

## v1.3.0 - 2019-02-05
* Spaces feature, allows dapps to request access to compartments of the users 3Box which only dapps which the user has given explicit permission to can read/write
* 3Box is now able to run completely offline
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.3.0",
"version": "1.4.0",
"description": "Interact with user data",
"main": "lib/3box.js",
"directories": {
Expand Down

0 comments on commit 3fd3944

Please sign in to comment.