@amedia/user 1.10.3 → 1.10.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @amedia/user
2
2
 
3
+ ## 1.10.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1347](https://github.com/amedia/amedia-user-js/pull/1347) [`d49f74d`](https://github.com/amedia/amedia-user-js/commit/d49f74de7d461511d3232637c41d30026e9c8352) Thanks [@hennikul](https://github.com/hennikul)! - Logged-out page views no longer ask aID who is reading twice. The logged-out answer is now remembered for 10 seconds, like the logged-in one, which roughly halves the `users/self` requests from logged-out readers. Refreshing on focus, FedCM login and access polling still ask aID afresh.
8
+
9
+ - [#1348](https://github.com/amedia/amedia-user-js/pull/1348) [`79cdac3`](https://github.com/amedia/amedia-user-js/commit/79cdac3e867b20aabed380555c1728abc61287d5) Thanks [@hennikul](https://github.com/hennikul)! - Dispatch `ON_STATE_UPDATED` once per state change. Every `subscribe()` or `fetch()` used to add another permanent store listener, so after N requests each change was dispatched N times.
10
+
3
11
  ## 1.10.3
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "git+https://github.com/amedia/amedia-user-js.git"
7
7
  },
8
8
  "author": "Amedia Produkt og Teknologi AS (https://amedia.no)",
9
- "version": "1.10.3",
9
+ "version": "1.10.4",
10
10
  "type": "module",
11
11
  "exports": {
12
12
  ".": {