@amedia/user 1.1.6 → 1.2.0

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @amedia/user
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1212](https://github.com/amedia/amedia-user-js/pull/1212) [`26590e0`](https://github.com/amedia/amedia-user-js/commit/26590e06f4ccad0a7f5977bf54209b55aebfdb9f) Thanks [@pederfo](https://github.com/pederfo)! - Add replace param on goToLoginPage
8
+
9
+ ### Patch Changes
10
+
11
+ - [#1205](https://github.com/amedia/amedia-user-js/pull/1205) [`2473e6a`](https://github.com/amedia/amedia-user-js/commit/2473e6ad1aab9d763f3653cdf8d97dbee20247d5) Thanks [@csandven](https://github.com/csandven)! - tryParseJSON helper and error logging
12
+
13
+ - [#1211](https://github.com/amedia/amedia-user-js/pull/1211) [`d2812e7`](https://github.com/amedia/amedia-user-js/commit/d2812e7b43bdfc93269104f44a5623fcfcebb14c) Thanks [@hennikul](https://github.com/hennikul)! - Remove nebula backend integration. The nebula system is being shut down, so all calls to it have been removed. The `extraData` field is kept in the API for backwards compatibility but now always returns an empty object.
14
+
3
15
  ## 1.1.6
4
16
 
5
17
  ### Patch Changes
package/index.d.ts CHANGED
@@ -6,7 +6,7 @@ type UserAttributes = {
6
6
  name: string | null;
7
7
  trackingKey: string | null;
8
8
  avatar: string | null;
9
- /** @deprecated use data from [@amedia/user-datapoints](https://github.com/amedia/amedia-user-datapoints) instead */
9
+ /** @deprecated Always returns empty. Use data from [@amedia/user-datapoints](https://github.com/amedia/amedia-user-datapoints) instead. */
10
10
  extraData: {
11
11
  [index: string]: unknown;
12
12
  };
@@ -162,6 +162,7 @@ declare function pollForAccess(requiredAccessFeatures?: string[], timeout_millis
162
162
  type LoginPageParams = {
163
163
  requestedUrl?: string;
164
164
  context?: string;
165
+ replace?: boolean;
165
166
  };
166
167
  /**
167
168
  * This will, if necessary, trigger a redirect to www.aid.no and return
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.1.6",
9
+ "version": "1.2.0",
10
10
  "type": "module",
11
11
  "types": "./index.d.ts",
12
12
  "publishConfig": {