Skip to content

Commit

Permalink
Release 1.7.0-beta.3 (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Hobbs authored Feb 17, 2020
1 parent 4e5ad57 commit 5a64d45
Show file tree
Hide file tree
Showing 20 changed files with 339 additions and 98 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.7.0-beta.3](https://github.com/auth0/auth0-spa-js/tree/v1.7.0-beta.3) (2020-02-17)

[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.7.0-beta.2...v1.7.0-beta.3)

**Added**

- Export types from global TypeScript file. [\#310](https://github.com/auth0/auth0-spa-js/pull/310) ([maxswa](https://github.com/maxswa))

**Changed**

- [SDK-1352] Removed setTimeout cache removal in favour of removal-on-read [\#354](https://github.com/auth0/auth0-spa-js/pull/354) ([stevehobbsdev](https://github.com/stevehobbsdev))
- [SDK-1352] Stop checking `isAuthenticated` cookie on initialization when using local storage [\#352](https://github.com/auth0/auth0-spa-js/pull/352) ([stevehobbsdev](https://github.com/stevehobbsdev))
- [SDK-1279] getTokenSilently retry logic [\#336](https://github.com/auth0/auth0-spa-js/pull/336) ([stevehobbsdev](https://github.com/stevehobbsdev))

## [v1.7.0-beta.2](https://github.com/auth0/auth0-spa-js/tree/v1.7.0-beta.2) (2020-01-16)

[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.7.0-beta.1...v1.7.0-beta.2)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Auth0 SDK for Single Page Applications using [Authorization Code Grant Flow with
From the CDN:

```html
<script src="https://cdn.auth0.com/js/auth0-spa-js/1.7.0-beta.2/auth0-spa-js.production.js"></script>
<script src="https://cdn.auth0.com/js/auth0-spa-js/1.7.0-beta.3/auth0-spa-js.production.js"></script>
```

Using [npm](https://npmjs.org):
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

37 changes: 23 additions & 14 deletions docs/classes/auth0client.html
Original file line number Diff line number Diff line change
Expand Up @@ -2452,9 +2452,18 @@
<li class=" tsd-kind-interface">
<a href="../interfaces/redirectloginresult.html" class="tsd-kind-icon">Redirect<wbr>Login<wbr>Result</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#cachelocation" class="tsd-kind-icon">Cache<wbr>Location</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#getidtokenclaimsoptions" class="tsd-kind-icon">get<wbr>IdToken<wbr>Claims<wbr>Options</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_local_storage" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>LOCAL_<wbr>STORAGE</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_memory" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>MEMORY</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#createauth0client" class="tsd-kind-icon">create<wbr>Auth0<wbr>Client</a>
</li>
Expand Down Expand Up @@ -2523,7 +2532,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/3b4cf56/src/Auth0Client.ts#L73">Auth0Client.ts:73</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L80">Auth0Client.ts:80</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2542,10 +2551,10 @@ <h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="cachelocation" class="tsd-anchor"></a>
<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">string</span></div>
<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/3b4cf56/src/Auth0Client.ts#L73">Auth0Client.ts:73</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L80">Auth0Client.ts:80</a></li>
</ul>
</aside>
</section>
Expand All @@ -2562,7 +2571,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/3b4cf56/src/Auth0Client.ts#L167">Auth0Client.ts:167</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L174">Auth0Client.ts:174</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2595,7 +2604,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/3b4cf56/src/Auth0Client.ts#L316">Auth0Client.ts:316</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L325">Auth0Client.ts:325</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2626,7 +2635,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/3b4cf56/src/Auth0Client.ts#L432">Auth0Client.ts:432</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L441">Auth0Client.ts:441</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2661,7 +2670,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/3b4cf56/src/Auth0Client.ts#L488">Auth0Client.ts:488</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L497">Auth0Client.ts:497</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2698,7 +2707,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/3b4cf56/src/Auth0Client.ts#L291">Auth0Client.ts:291</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L300">Auth0Client.ts:300</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2730,7 +2739,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/3b4cf56/src/Auth0Client.ts#L358">Auth0Client.ts:358</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L367">Auth0Client.ts:367</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2761,7 +2770,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/3b4cf56/src/Auth0Client.ts#L521">Auth0Client.ts:521</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L530">Auth0Client.ts:530</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2785,7 +2794,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/3b4cf56/src/Auth0Client.ts#L222">Auth0Client.ts:222</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L229">Auth0Client.ts:229</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2808,7 +2817,7 @@ <h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <a
</div>
</li>
<li>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> config: <a href="../interfaces/popupconfigoptions.html" class="tsd-signature-type">PopupConfigOptions</a><span class="tsd-signature-symbol"> =&nbsp;DEFAULT_POPUP_CONFIG_OPTIONS</span></h5>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> config: <a href="../interfaces/popupconfigoptions.html" class="tsd-signature-type">PopupConfigOptions</a><span class="tsd-signature-symbol"> =&nbsp;{}</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
Expand All @@ -2825,7 +2834,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/3b4cf56/src/Auth0Client.ts#L347">Auth0Client.ts:347</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L356">Auth0Client.ts:356</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2858,7 +2867,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/3b4cf56/src/Auth0Client.ts#L536">Auth0Client.ts:536</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/Auth0Client.ts#L545">Auth0Client.ts:545</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
19 changes: 14 additions & 5 deletions docs/classes/authenticationerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2440,9 +2440,18 @@
<li class=" tsd-kind-interface">
<a href="../interfaces/redirectloginresult.html" class="tsd-kind-icon">Redirect<wbr>Login<wbr>Result</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#cachelocation" class="tsd-kind-icon">Cache<wbr>Location</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#getidtokenclaimsoptions" class="tsd-kind-icon">get<wbr>IdToken<wbr>Claims<wbr>Options</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_local_storage" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>LOCAL_<wbr>STORAGE</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_memory" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>MEMORY</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#createauth0client" class="tsd-kind-icon">create<wbr>Auth0<wbr>Client</a>
</li>
Expand Down Expand Up @@ -2501,7 +2510,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/3b4cf56/src/errors.ts#L8">errors.ts:8</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/errors.ts#L8">errors.ts:8</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -2532,7 +2541,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/3b4cf56/src/errors.ts#L13">errors.ts:13</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/errors.ts#L13">errors.ts:13</a></li>
</ul>
</aside>
</section>
Expand All @@ -2543,7 +2552,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/3b4cf56/src/errors.ts#L2">errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/errors.ts#L2">errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand All @@ -2554,7 +2563,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/3b4cf56/src/errors.ts#L2">errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/errors.ts#L2">errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -2598,7 +2607,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/3b4cf56/src/errors.ts#L12">errors.ts:12</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/errors.ts#L12">errors.ts:12</a></li>
</ul>
</aside>
</section>
Expand Down
15 changes: 12 additions & 3 deletions docs/classes/genericerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2437,9 +2437,18 @@
<li class=" tsd-kind-interface">
<a href="../interfaces/redirectloginresult.html" class="tsd-kind-icon">Redirect<wbr>Login<wbr>Result</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#cachelocation" class="tsd-kind-icon">Cache<wbr>Location</a>
</li>
<li class=" tsd-kind-type-alias">
<a href="../globals.html#getidtokenclaimsoptions" class="tsd-kind-icon">get<wbr>IdToken<wbr>Claims<wbr>Options</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_local_storage" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>LOCAL_<wbr>STORAGE</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#cache_location_memory" class="tsd-kind-icon">CACHE_<wbr>LOCATION_<wbr>MEMORY</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#createauth0client" class="tsd-kind-icon">create<wbr>Auth0<wbr>Client</a>
</li>
Expand Down Expand Up @@ -2501,7 +2510,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/3b4cf56/src/errors.ts#L1">errors.ts:1</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/errors.ts#L1">errors.ts:1</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2526,7 +2535,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/3b4cf56/src/errors.ts#L2">errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/errors.ts#L2">errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand All @@ -2536,7 +2545,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/3b4cf56/src/errors.ts#L2">errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/4e5ad57/src/errors.ts#L2">errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down
Loading

0 comments on commit 5a64d45

Please sign in to comment.