Skip to content

Commit

Permalink
Release v2.0.3 (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Feb 5, 2023
1 parent cf01c72 commit d72748d
Show file tree
Hide file tree
Showing 39 changed files with 225 additions and 218 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [v2.0.3](https://github.com/auth0/auth0-spa-js/tree/v2.0.3) (2023-02-04)
[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v2.0.2...v2.0.3)

**Fixed**
- Ensure cookieDomain is used when using legacy Cookiestorage [\#1071](https://github.com/auth0/auth0-spa-js/pull/1071) ([frederikprijck](https://github.com/frederikprijck))
- Ensure to only clear current client cache when logging out [\#1068](https://github.com/auth0/auth0-spa-js/pull/1068) ([frederikprijck](https://github.com/frederikprijck))

## [v2.0.2](https://github.com/auth0/auth0-spa-js/tree/v2.0.2) (2023-01-12)

[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v2.0.1...v2.0.2)
Expand Down
26 changes: 13 additions & 13 deletions docs/classes/Auth0Client.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/classes/AuthenticationError.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">AuthenticationError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/errors.ts#L25">errors.ts:25</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/errors.ts#L25">errors.ts:25</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -68,31 +68,31 @@ <h5>appState: <span class="tsd-signature-type">any</span><span class="tsd-signat
<h4 class="tsd-returns-title">Returns <a href="AuthenticationError.html" class="tsd-signature-type" data-tsd-kind="Class">AuthenticationError</a></h4><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/275d845/src/errors.ts#L26">errors.ts:26</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/errors.ts#L26">errors.ts:26</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="appState" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>app<wbr/>State</span><a href="#appState" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">app<wbr/>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/errors.ts#L30">errors.ts:30</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/errors.ts#L30">errors.ts:30</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="error" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>error</span><a href="#error" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><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/275d845/src/errors.ts#L5">errors.ts:5</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/errors.ts#L5">errors.ts:5</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="error_description" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>error_<wbr/>description</span><a href="#error_description" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">error_<wbr/>description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><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/275d845/src/errors.ts#L5">errors.ts:5</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/errors.ts#L5">errors.ts:5</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="state" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>state</span><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">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/275d845/src/errors.ts#L29">errors.ts:29</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/errors.ts#L29">errors.ts:29</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="fromPayload" class="tsd-anchor"></a>
Expand All @@ -113,7 +113,7 @@ <h5>error_<wbr/>description<span class="tsd-signature-symbol">: </span><span cla
<h4 class="tsd-returns-title">Returns <a href="GenericError.html" class="tsd-signature-type" data-tsd-kind="Class">GenericError</a></h4><aside class="tsd-sources">
<p>Inherited from <a href="GenericError.html">GenericError</a>.<a href="GenericError.html#fromPayload">fromPayload</a></p>
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/errors.ts#L10">errors.ts:10</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/errors.ts#L10">errors.ts:10</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
20 changes: 10 additions & 10 deletions docs/classes/CacheKey.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">CacheKey</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/cache/shared.ts#L12">cache/shared.ts:12</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L12">cache/shared.ts:12</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -62,34 +62,34 @@ <h5>prefix: <span class="tsd-signature-type">string</span><span class="tsd-signa
<h5><code class="tsd-tag ts-flagOptional">Optional</code> suffix: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="CacheKey.html" class="tsd-signature-type" data-tsd-kind="Class">CacheKey</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/cache/shared.ts#L17">cache/shared.ts:17</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L17">cache/shared.ts:17</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="audience" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>audience</span><a href="#audience" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">audience<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/275d845/src/cache/shared.ts#L15">cache/shared.ts:15</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L15">cache/shared.ts:15</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="clientId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>client<wbr/>Id</span><a href="#clientId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">client<wbr/>Id<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/275d845/src/cache/shared.ts#L13">cache/shared.ts:13</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L13">cache/shared.ts:13</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="prefix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>prefix</span><a href="#prefix" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">prefix<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = CACHE_KEY_PREFIX</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/cache/shared.ts#L19">cache/shared.ts:19</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L19">cache/shared.ts:19</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="scope" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>scope</span><a href="#scope" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">scope<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/275d845/src/cache/shared.ts#L14">cache/shared.ts:14</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L14">cache/shared.ts:14</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="suffix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>suffix</span><a href="#suffix" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">suffix<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/275d845/src/cache/shared.ts#L20">cache/shared.ts:20</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L20">cache/shared.ts:20</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toKey" class="tsd-anchor"></a>
Expand All @@ -103,7 +103,7 @@ <h3>Returns</h3><p>A string representation of the key</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/cache/shared.ts#L31">cache/shared.ts:31</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L31">cache/shared.ts:31</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromCacheEntry" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Cache<wbr/>Entry</span><a href="#fromCacheEntry" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -122,7 +122,7 @@ <h5>entry: <a href="../types/CacheEntry.html" class="tsd-signature-type" data-ts
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="CacheKey.html" class="tsd-signature-type" data-tsd-kind="Class">CacheKey</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/cache/shared.ts#L53">cache/shared.ts:53</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L53">cache/shared.ts:53</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Key</span><a href="#fromKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -141,7 +141,7 @@ <h5>key: <span class="tsd-signature-type">string</span></h5>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="CacheKey.html" class="tsd-signature-type" data-tsd-kind="Class">CacheKey</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/275d845/src/cache/shared.ts#L42">cache/shared.ts:42</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/auth0/auth0-spa-js/blob/cf01c72/src/cache/shared.ts#L42">cache/shared.ts:42</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
Loading

0 comments on commit d72748d

Please sign in to comment.