@amedia/user 1.10.0 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @amedia/user
|
|
2
2
|
|
|
3
|
+
## 1.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1338](https://github.com/amedia/amedia-user-js/pull/1338) [`2d723ed`](https://github.com/amedia/amedia-user-js/commit/2d723eddeed85973bd45dde5eadc42066fead713) Thanks [@hennikul](https://github.com/hennikul)! - Logged-out readers no longer pay a cross-origin round trip to aID on every page
|
|
8
|
+
view. The check for an aID session on another site now runs at most once per
|
|
9
|
+
15 minutes per site, across page views, and again when the page refreshes the
|
|
10
|
+
reader, on window focus for instance. Without access to `localStorage` it runs
|
|
11
|
+
once per page, as before.
|
|
12
|
+
|
|
13
|
+
## 1.10.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#1336](https://github.com/amedia/amedia-user-js/pull/1336) [`6579fea`](https://github.com/amedia/amedia-user-js/commit/6579fea1fc8582cf0847ef18088dc3a99f118289) Thanks [@hennikul](https://github.com/hennikul)! - `fetch()` resolves again where 1.10.0 left it waiting: for a logged-in reader
|
|
18
|
+
until it timed out after 10 seconds, and for a logged-out one until FedCM had
|
|
19
|
+
settled. A store listener that removed itself while being called made the
|
|
20
|
+
store skip the next listener, which on most pages was the one that tells
|
|
21
|
+
`fetch()` and `subscribe()` the login state.
|
|
22
|
+
|
|
3
23
|
## 1.10.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|