@amedia/user 1.1.5 → 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 +18 -0
- package/index.d.ts +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
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
|
+
|
|
15
|
+
## 1.1.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#1198](https://github.com/amedia/amedia-user-js/pull/1198) [`a8ff0fa`](https://github.com/amedia/amedia-user-js/commit/a8ff0fa65f4f2be5ad3935faf88e4b26bd5fe0e0) Thanks [@csandven](https://github.com/csandven)! - Update dependencies
|
|
20
|
+
|
|
3
21
|
## 1.1.5
|
|
4
22
|
|
|
5
23
|
### 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
|
|
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