Skip to content

Commit

Permalink
chore: Release v2.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: ukstv <[email protected]>
  • Loading branch information
ukstv committed Jun 23, 2021
1 parent 1af4a53 commit d07436f
Show file tree
Hide file tree
Showing 20 changed files with 327 additions and 794 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v2.2.0 (2021-06-23)

feat: Handle key revocation when checking a signature

## v2.1.0 (2021-04-20)

feat: Update DIDProvider and related types
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

60 changes: 33 additions & 27 deletions docs/classes/did.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DID | DID - v2.1.0</title>
<meta name="description" content="Documentation for DID - v2.1.0">
<title>DID | DID - v2.2.0</title>
<meta name="description" content="Documentation for DID - v2.2.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">DID - v2.1.0</a>
<a href="../index.html" class="title">DID - v2.2.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../modules.html">DID - v2.1.0</a>
<a href="../modules.html">DID - v2.2.0</a>
</li>
<li>
<a href="did.html">DID</a>
Expand Down Expand Up @@ -128,7 +128,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L94">src/index.ts:94</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L86">src/did.ts:86</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -154,7 +154,7 @@ <h3>authenticated</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L106">src/index.ts:106</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L98">src/did.ts:98</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -176,7 +176,7 @@ <h3>id</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L113">src/index.ts:113</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L105">src/did.ts:105</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -201,7 +201,7 @@ <h3>authenticate</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L149">src/index.ts:149</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L141">src/did.ts:141</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -229,7 +229,7 @@ <h3>create<wbr>DagJWE</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L256">src/index.ts:256</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L259">src/did.ts:259</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -272,7 +272,7 @@ <h3>create<wbr>DagJWS</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L197">src/index.ts:197</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L189">src/did.ts:189</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -310,7 +310,7 @@ <h3>createJWE</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L240">src/index.ts:240</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L243">src/did.ts:243</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -353,7 +353,7 @@ <h3>createJWS</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L179">src/index.ts:179</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L171">src/did.ts:171</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -397,7 +397,7 @@ <h3>decrypt<wbr>DagJWE</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L288">src/index.ts:288</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L291">src/did.ts:291</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -429,7 +429,7 @@ <h3>decryptJWE</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L270">src/index.ts:270</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L273">src/did.ts:273</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -466,7 +466,7 @@ <h3>resolve</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L298">src/index.ts:298</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L301">src/did.ts:301</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -497,7 +497,7 @@ <h3>set<wbr>Provider</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L126">src/index.ts:126</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L118">src/did.ts:118</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -529,7 +529,7 @@ <h3>set<wbr>Resolver</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L142">src/index.ts:142</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L134">src/did.ts:134</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -560,13 +560,13 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<a name="verifyjws" class="tsd-anchor"></a>
<h3>verifyJWS</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">verifyJWS<span class="tsd-signature-symbol">(</span>jws<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#dagjws" class="tsd-signature-type" data-tsd-kind="Type alias">DagJWS</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/verifyjwsresult.html" class="tsd-signature-type" data-tsd-kind="Interface">VerifyJWSResult</a><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature tsd-kind-icon">verifyJWS<span class="tsd-signature-symbol">(</span>jws<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#dagjws" class="tsd-signature-type" data-tsd-kind="Type alias">DagJWS</a>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/verifyjwsoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">VerifyJWSOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/verifyjwsresult.html" class="tsd-signature-type" data-tsd-kind="Interface">VerifyJWSResult</a><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/f86c993/src/index.ts#L216">src/index.ts:216</a></li>
<li>Defined in <a href="https://github.com/ceramicnetwork/js-did/blob/1af4a53/src/did.ts#L209">src/did.ts:209</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -583,6 +583,12 @@ <h5>jws: <span class="tsd-signature-type">string</span><span class="tsd-signatur
<p>The JWS to verify</p>
</div>
</li>
<li>
<h5>options: <a href="../interfaces/verifyjwsoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">VerifyJWSOptions</a><span class="tsd-signature-symbol"> = {}</span></h5>
<div class="tsd-comment tsd-typography">
<p>Optional arguments for verification</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/verifyjwsresult.html" class="tsd-signature-type" data-tsd-kind="Interface">VerifyJWSResult</a><span class="tsd-signature-symbol">&gt;</span></h4>
<p>Information about the signed JWS</p>
Expand Down Expand Up @@ -667,12 +673,6 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-interface">
<a href="../interfaces/createjwsoptions.html" class="tsd-kind-icon">CreateJWSOptions</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/createjwsparams.html" class="tsd-kind-icon">CreateJWSParams</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/createjwsresult.html" class="tsd-kind-icon">CreateJWSResult</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/didoptions.html" class="tsd-kind-icon">DIDOptions</a>
</li>
Expand All @@ -686,17 +686,20 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<a href="../interfaces/decryptjweoptions.html" class="tsd-kind-icon">DecryptJWEOptions</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/decryptjweparams.html" class="tsd-kind-icon">DecryptJWEParams</a>
<a href="../interfaces/decryptjweresult.html" class="tsd-kind-icon">DecryptJWEResult</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/decryptjweresult.html" class="tsd-kind-icon">DecryptJWEResult</a>
<a href="../interfaces/verifyjwsoptions.html" class="tsd-kind-icon">VerifyJWSOptions</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/verifyjwsresult.html" class="tsd-kind-icon">VerifyJWSResult</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../modules.html#authparams" class="tsd-kind-icon">Auth<wbr>Params</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../modules.html#createjwsparams" class="tsd-kind-icon">CreateJWSParams</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../modules.html#didmethodname" class="tsd-kind-icon">DIDMethod<wbr>Name</a>
</li>
Expand All @@ -721,6 +724,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-type-alias">
<a href="../modules.html#dagjws" class="tsd-kind-icon">DagJWS</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../modules.html#decryptjweparams" class="tsd-kind-icon">DecryptJWEParams</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../modules.html#generaljws" class="tsd-kind-icon">GeneralJWS</a>
</li>
Expand Down
24 changes: 12 additions & 12 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DID - v2.1.0</title>
<meta name="description" content="Documentation for DID - v2.1.0">
<title>DID - v2.2.0</title>
<meta name="description" content="Documentation for DID - v2.2.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/main.css">
<script async src="assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="index.html" class="title">DID - v2.1.0</a>
<a href="index.html" class="title">DID - v2.2.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand All @@ -50,7 +50,7 @@
</div>
<div class="tsd-page-title">
<div class="container">
<h1>DID - v2.1.0</h1>
<h1>DID - v2.2.0</h1>
</div>
</div>
</header>
Expand Down Expand Up @@ -199,12 +199,6 @@ <h2>License</h2>
<li class=" tsd-kind-interface">
<a href="interfaces/createjwsoptions.html" class="tsd-kind-icon">CreateJWSOptions</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/createjwsparams.html" class="tsd-kind-icon">CreateJWSParams</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/createjwsresult.html" class="tsd-kind-icon">CreateJWSResult</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/didoptions.html" class="tsd-kind-icon">DIDOptions</a>
</li>
Expand All @@ -218,17 +212,20 @@ <h2>License</h2>
<a href="interfaces/decryptjweoptions.html" class="tsd-kind-icon">DecryptJWEOptions</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/decryptjweparams.html" class="tsd-kind-icon">DecryptJWEParams</a>
<a href="interfaces/decryptjweresult.html" class="tsd-kind-icon">DecryptJWEResult</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/decryptjweresult.html" class="tsd-kind-icon">DecryptJWEResult</a>
<a href="interfaces/verifyjwsoptions.html" class="tsd-kind-icon">VerifyJWSOptions</a>
</li>
<li class=" tsd-kind-interface">
<a href="interfaces/verifyjwsresult.html" class="tsd-kind-icon">VerifyJWSResult</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="modules.html#authparams" class="tsd-kind-icon">Auth<wbr>Params</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="modules.html#createjwsparams" class="tsd-kind-icon">CreateJWSParams</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="modules.html#didmethodname" class="tsd-kind-icon">DIDMethod<wbr>Name</a>
</li>
Expand All @@ -253,6 +250,9 @@ <h2>License</h2>
<li class=" tsd-kind-type-alias">
<a href="modules.html#dagjws" class="tsd-kind-icon">DagJWS</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="modules.html#decryptjweparams" class="tsd-kind-icon">DecryptJWEParams</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="modules.html#generaljws" class="tsd-kind-icon">GeneralJWS</a>
</li>
Expand Down
Loading

0 comments on commit d07436f

Please sign in to comment.