Skip to content

Commit

Permalink
Release v1.10.0 (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Hobbs authored Jun 17, 2020
1 parent e229241 commit 6cfa341
Show file tree
Hide file tree
Showing 19 changed files with 120 additions and 106 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## [v1.10.0](https://github.com/auth0/auth0-spa-js/tree/v1.10.0) (2020-06-17)

[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.9.0...v1.10.0)

**Changed**

- [SDK-1696] Allow caller of cache.get to specify an expiry time adjustment [\#491](https://github.com/auth0/auth0-spa-js/pull/491) ([stevehobbsdev](https://github.com/stevehobbsdev))

**Fixed**

- Don't include mocks in build [\#503](https://github.com/auth0/auth0-spa-js/pull/503) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-1699] Fix ID token validation for auth_time [\#497](https://github.com/auth0/auth0-spa-js/pull/497) ([stevehobbsdev](https://github.com/stevehobbsdev))
- Add secure attribute to cookies if served over HTTPS [\#472](https://github.com/auth0/auth0-spa-js/pull/472) ([ties-v](https://github.com/ties-v))

## [v1.9.0](https://github.com/auth0/auth0-spa-js/tree/v1.9.0) (2020-06-02)

[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.8.2...v1.9.0)
Expand Down
26 changes: 13 additions & 13 deletions docs/classes/auth0client.html
Original file line number Diff line number Diff line change
Expand Up @@ -2887,7 +2887,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L97">src/Auth0Client.ts:97</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L97">src/Auth0Client.ts:97</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2909,7 +2909,7 @@ <h3>cache<wbr>Location</h3>
<div class="tsd-signature tsd-kind-icon">cache<wbr>Location<span class="tsd-signature-symbol">:</span> <a href="../globals.html#cachelocation" class="tsd-signature-type">CacheLocation</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L96">src/Auth0Client.ts:96</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L96">src/Auth0Client.ts:96</a></li>
</ul>
</aside>
</section>
Expand All @@ -2926,7 +2926,7 @@ <h3>build<wbr>Authorize<wbr>Url</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L222">src/Auth0Client.ts:222</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L222">src/Auth0Client.ts:222</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2959,7 +2959,7 @@ <h3>check<wbr>Session</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L495">src/Auth0Client.ts:495</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L495">src/Auth0Client.ts:495</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2995,7 +2995,7 @@ <h3>get<wbr>IdToken<wbr>Claims</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L370">src/Auth0Client.ts:370</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L370">src/Auth0Client.ts:370</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3026,7 +3026,7 @@ <h3>get<wbr>Token<wbr>Silently</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L538">src/Auth0Client.ts:538</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L538">src/Auth0Client.ts:538</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3070,7 +3070,7 @@ <h3>get<wbr>Token<wbr>With<wbr>Popup</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L594">src/Auth0Client.ts:594</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L597">src/Auth0Client.ts:597</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3107,7 +3107,7 @@ <h3>get<wbr>User</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L345">src/Auth0Client.ts:345</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L345">src/Auth0Client.ts:345</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3139,7 +3139,7 @@ <h3>handle<wbr>Redirect<wbr>Callback</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L412">src/Auth0Client.ts:412</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L412">src/Auth0Client.ts:412</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3170,7 +3170,7 @@ <h3>is<wbr>Authenticated</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L627">src/Auth0Client.ts:627</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L630">src/Auth0Client.ts:630</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3194,7 +3194,7 @@ <h3>login<wbr>With<wbr>Popup</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L272">src/Auth0Client.ts:272</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L272">src/Auth0Client.ts:272</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3234,7 +3234,7 @@ <h3>login<wbr>With<wbr>Redirect</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L401">src/Auth0Client.ts:401</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L401">src/Auth0Client.ts:401</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3267,7 +3267,7 @@ <h3>logout</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/Auth0Client.ts#L647">src/Auth0Client.ts:647</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/Auth0Client.ts#L650">src/Auth0Client.ts:650</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
10 changes: 5 additions & 5 deletions docs/classes/authenticationerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2861,7 +2861,7 @@ <h3>constructor</h3>
<aside class="tsd-sources">
<p>Overrides <a href="genericerror.html">GenericError</a>.<a href="genericerror.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/errors.ts#L8">src/errors.ts:8</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/errors.ts#L8">src/errors.ts:8</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -2892,7 +2892,7 @@ <h3>app<wbr>State</h3>
<div class="tsd-signature tsd-kind-icon">app<wbr>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/errors.ts#L13">src/errors.ts:13</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/errors.ts#L13">src/errors.ts:13</a></li>
</ul>
</aside>
</section>
Expand All @@ -2903,7 +2903,7 @@ <h3>error</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="genericerror.html">GenericError</a>.<a href="genericerror.html#error">error</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand All @@ -2914,7 +2914,7 @@ <h3>error_<wbr>description</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="genericerror.html">GenericError</a>.<a href="genericerror.html#error_description">error_description</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -2957,7 +2957,7 @@ <h3>state</h3>
<div class="tsd-signature tsd-kind-icon">state<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/errors.ts#L12">src/errors.ts:12</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/errors.ts#L12">src/errors.ts:12</a></li>
</ul>
</aside>
</section>
Expand Down
6 changes: 3 additions & 3 deletions docs/classes/genericerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2861,7 +2861,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/errors.ts#L1">src/errors.ts:1</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/errors.ts#L1">src/errors.ts:1</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2886,7 +2886,7 @@ <h3>error</h3>
<div class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand All @@ -2896,7 +2896,7 @@ <h3>error_<wbr>description</h3>
<div class="tsd-signature tsd-kind-icon">error_<wbr>description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down
14 changes: 7 additions & 7 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -2817,7 +2817,7 @@ <h2>Documentation</h2>
<h2>Installation</h2>
</a>
<p>From the CDN:</p>
<pre><code class="language-html"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.auth0.com/js/auth0-spa-js/1.8/auth0-spa-js.production.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></code></pre>
<pre><code class="language-html"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.auth0.com/js/auth0-spa-js/1.9/auth0-spa-js.production.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></code></pre>
<p>Using <a href="https://npmjs.org">npm</a>:</p>
<pre><code class="language-sh">npm install @auth0/auth0-spa-js</code></pre>
<p>Using <a href="https://yarnpkg.com">yarn</a>:</p>
Expand Down Expand Up @@ -3085,7 +3085,7 @@ <h3>Cache<wbr>Location</h3>
<div class="tsd-signature tsd-kind-icon">Cache<wbr>Location<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"memory"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"localstorage"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/global.ts#L142">src/global.ts:142</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/global.ts#L142">src/global.ts:142</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3100,7 +3100,7 @@ <h3>get<wbr>IdToken<wbr>Claims<wbr>Options</h3>
<div class="tsd-signature tsd-kind-icon">get<wbr>IdToken<wbr>Claims<wbr>Options<span class="tsd-signature-symbol">:</span> <a href="interfaces/getidtokenclaimsoptions.html" class="tsd-signature-type">GetIdTokenClaimsOptions</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/global.ts#L225">src/global.ts:225</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/global.ts#L225">src/global.ts:225</a></li>
</ul>
</aside>
</section>
Expand All @@ -3113,7 +3113,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> CACHE_<wbr>LOCATION_<wbr>LO
<div class="tsd-signature tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>LOCAL_<wbr>STORAGE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"localstorage"</span><span class="tsd-signature-symbol"> = &quot;localstorage&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/constants.ts#L31">src/constants.ts:31</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/constants.ts#L31">src/constants.ts:31</a></li>
</ul>
</aside>
</section>
Expand All @@ -3123,7 +3123,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> CACHE_<wbr>LOCATION_<wbr>ME
<div class="tsd-signature tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>MEMORY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"memory"</span><span class="tsd-signature-symbol"> = &quot;memory&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/constants.ts#L30">src/constants.ts:30</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/constants.ts#L30">src/constants.ts:30</a></li>
</ul>
</aside>
</section>
Expand All @@ -3133,7 +3133,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> MISSING_<wbr>REFRESH_<wbr>T
<div class="tsd-signature tsd-kind-icon">MISSING_<wbr>REFRESH_<wbr>TOKEN_<wbr>ERROR_<wbr>MESSAGE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"The web worker is missing the refresh token"</span><span class="tsd-signature-symbol"> = &quot;The web worker is missing the refresh token&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/constants.ts#L32">src/constants.ts:32</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/constants.ts#L32">src/constants.ts:32</a></li>
</ul>
</aside>
</section>
Expand All @@ -3150,7 +3150,7 @@ <h3>create<wbr>Auth0<wbr>Client</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0602674/src/index.ts#L18">src/index.ts:18</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/e229241/src/index.ts#L18">src/index.ts:18</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
Loading

0 comments on commit 6cfa341

Please sign in to comment.