Skip to content

Commit

Permalink
Release 1.8.0 (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Hobbs authored May 1, 2020
1 parent 0af848a commit 4b1a58d
Show file tree
Hide file tree
Showing 20 changed files with 3,124 additions and 142 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.8.0](https://github.com/auth0/auth0-spa-js/tree/v1.8.0) (2020-04-30)

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

**Added**

- [SDK-1417] Customizable default scopes [\#435](https://github.com/auth0/auth0-spa-js/pull/435) ([stevehobbsdev](https://github.com/stevehobbsdev))
- include polyfill for Set [\#426](https://github.com/auth0/auth0-spa-js/pull/426) ([tony-aq](https://github.com/tony-aq))

**Fixed**

- Update rollup-plugin-web-worker-loader to 1.1.1 [\#443](https://github.com/auth0/auth0-spa-js/pull/443) ([stevehobbsdev](https://github.com/stevehobbsdev))
- Updated `login_hint` js docs to clarify usage with Lock [\#441](https://github.com/auth0/auth0-spa-js/pull/441) ([stevehobbsdev](https://github.com/stevehobbsdev))

## [v1.7.0](https://github.com/auth0/auth0-spa-js/tree/v1.7.0) (2020-04-15)

[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.7.0-beta.5...v1.7.0)
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.json

Large diffs are not rendered by default.

33 changes: 18 additions & 15 deletions docs/classes/auth0client.html
Original file line number Diff line number Diff line change
Expand Up @@ -2767,6 +2767,9 @@
<li class=" tsd-kind-class">
<a href="genericerror.html" class="tsd-kind-icon">Generic<wbr>Error</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/advancedoptions.html" class="tsd-kind-icon">Advanced<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/auth0clientoptions.html" class="tsd-kind-icon">Auth0<wbr>Client<wbr>Options</a>
</li>
Expand Down Expand Up @@ -2880,7 +2883,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/476caea/src/Auth0Client.ts#L91">src/Auth0Client.ts:91</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L96">src/Auth0Client.ts:96</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2902,7 +2905,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/476caea/src/Auth0Client.ts#L90">src/Auth0Client.ts:90</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L95">src/Auth0Client.ts:95</a></li>
</ul>
</aside>
</section>
Expand All @@ -2919,7 +2922,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/476caea/src/Auth0Client.ts#L205">src/Auth0Client.ts:205</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L217">src/Auth0Client.ts:217</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2952,7 +2955,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/476caea/src/Auth0Client.ts#L353">src/Auth0Client.ts:353</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L365">src/Auth0Client.ts:365</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2964,7 +2967,7 @@ <h3>get<wbr>IdToken<wbr>Claims</h3>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <a href="../interfaces/getidtokenclaimsoptions.html" class="tsd-signature-type">GetIdTokenClaimsOptions</a><span class="tsd-signature-symbol"> = {audience: this.options.audience || &#x27;default&#x27;,scope: this.options.scope || this.DEFAULT_SCOPE,}</span></h5>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <a href="../interfaces/getidtokenclaimsoptions.html" class="tsd-signature-type">GetIdTokenClaimsOptions</a><span class="tsd-signature-symbol"> = {audience: this.options.audience || &#x27;default&#x27;,scope: this.scope || this.defaultScope}</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
Expand All @@ -2983,7 +2986,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/476caea/src/Auth0Client.ts#L489">src/Auth0Client.ts:489</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L501">src/Auth0Client.ts:501</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3027,7 +3030,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/476caea/src/Auth0Client.ts#L549">src/Auth0Client.ts:549</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L557">src/Auth0Client.ts:557</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3042,7 +3045,7 @@ <h3>get<wbr>Token<wbr>With<wbr>Popup</h3>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <a href="../interfaces/gettokenwithpopupoptions.html" class="tsd-signature-type">GetTokenWithPopupOptions</a><span class="tsd-signature-symbol"> = {audience: this.options.audience,scope: this.options.scope || this.DEFAULT_SCOPE,}</span></h5>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <a href="../interfaces/gettokenwithpopupoptions.html" class="tsd-signature-type">GetTokenWithPopupOptions</a><span class="tsd-signature-symbol"> = {audience: this.options.audience,scope: this.scope || this.defaultScope}</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
Expand All @@ -3064,7 +3067,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/476caea/src/Auth0Client.ts#L328">src/Auth0Client.ts:328</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L340">src/Auth0Client.ts:340</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3077,7 +3080,7 @@ <h3>get<wbr>User</h3>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <a href="../interfaces/getuseroptions.html" class="tsd-signature-type">GetUserOptions</a><span class="tsd-signature-symbol"> = {audience: this.options.audience || &#x27;default&#x27;,scope: this.options.scope || this.DEFAULT_SCOPE,}</span></h5>
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <a href="../interfaces/getuseroptions.html" class="tsd-signature-type">GetUserOptions</a><span class="tsd-signature-symbol"> = {audience: this.options.audience || &#x27;default&#x27;,scope: this.scope || this.defaultScope}</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
Expand All @@ -3096,7 +3099,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/476caea/src/Auth0Client.ts#L395">src/Auth0Client.ts:395</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L407">src/Auth0Client.ts:407</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3127,7 +3130,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/476caea/src/Auth0Client.ts#L582">src/Auth0Client.ts:582</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L590">src/Auth0Client.ts:590</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3151,7 +3154,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/476caea/src/Auth0Client.ts#L255">src/Auth0Client.ts:255</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L267">src/Auth0Client.ts:267</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3191,7 +3194,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/476caea/src/Auth0Client.ts#L384">src/Auth0Client.ts:384</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L396">src/Auth0Client.ts:396</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3224,7 +3227,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/476caea/src/Auth0Client.ts#L602">src/Auth0Client.ts:602</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/Auth0Client.ts#L610">src/Auth0Client.ts:610</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
13 changes: 8 additions & 5 deletions docs/classes/authenticationerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2755,6 +2755,9 @@
<li class=" tsd-kind-class">
<a href="genericerror.html" class="tsd-kind-icon">Generic<wbr>Error</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/advancedoptions.html" class="tsd-kind-icon">Advanced<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/auth0clientoptions.html" class="tsd-kind-icon">Auth0<wbr>Client<wbr>Options</a>
</li>
Expand Down Expand Up @@ -2858,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/476caea/src/errors.ts#L8">src/errors.ts:8</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/errors.ts#L8">src/errors.ts:8</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -2889,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/476caea/src/errors.ts#L13">src/errors.ts:13</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/errors.ts#L13">src/errors.ts:13</a></li>
</ul>
</aside>
</section>
Expand All @@ -2900,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/476caea/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand All @@ -2911,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/476caea/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -2954,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/476caea/src/errors.ts#L12">src/errors.ts:12</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/errors.ts#L12">src/errors.ts:12</a></li>
</ul>
</aside>
</section>
Expand Down
9 changes: 6 additions & 3 deletions docs/classes/genericerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2752,6 +2752,9 @@
</li>
</ul>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/advancedoptions.html" class="tsd-kind-icon">Advanced<wbr>Options</a>
</li>
<li class=" tsd-kind-interface">
<a href="../interfaces/auth0clientoptions.html" class="tsd-kind-icon">Auth0<wbr>Client<wbr>Options</a>
</li>
Expand Down Expand Up @@ -2858,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/476caea/src/errors.ts#L1">src/errors.ts:1</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/errors.ts#L1">src/errors.ts:1</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2883,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/476caea/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand All @@ -2893,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/476caea/src/errors.ts#L2">src/errors.ts:2</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/0af848a/src/errors.ts#L2">src/errors.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down
Loading

0 comments on commit 4b1a58d

Please sign in to comment.