@amedia/user 0.14.143 → 0.14.144

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/README.md CHANGED
@@ -65,6 +65,7 @@ Attributes are data directly related to the user, with the exception of access.
65
65
  | access | Array<string> | Users access on current site (list of access features) |
66
66
  | extraData | Record<string,unknown> | Data that has been modelled about the user (gender, ad segments etc. from Nebula) |
67
67
  | privacyPreferences | [PrivacyPreferences](https://github.com/amedia/amedia-user-js/blob/master/src/types.ts#L16) | Privacy preferences set on Min aID. |
68
+ | sessionTrackingKey | string | Tracking key for the user session |
68
69
 
69
70
  Attributes are requested by calling `.withAttributes(attributes: Array<string>)` on a `UserDataRequest` with a list of the attributes you need.
70
71
 
package/dist/personas.js CHANGED
@@ -74,6 +74,7 @@ export default {
74
74
  personalizedAds: true,
75
75
  personalizedContent: true,
76
76
  },
77
+ sessionTrackingKey: 'session-tracking-key',
77
78
  },
78
79
  state: {
79
80
  isLoggedIn: true,
package/dist/user.d.ts CHANGED
@@ -11,6 +11,7 @@ type UserAttributes = {
11
11
  };
12
12
  access: AccessFeatures;
13
13
  privacyPreferences: PrivacyPreferences | null;
14
+ sessionTrackingKey: string | null;
14
15
  };
15
16
  type State = {
16
17
  isLoggedIn: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amedia/user",
3
- "version": "0.14.143",
3
+ "version": "0.14.144",
4
4
  "description": "Client lib for working with aID user and associated data",
5
5
  "repository": "https://github.com/amedia/amedia-user-js",
6
6
  "author": "Amedia Utvikling (ID og data)",
@@ -54,9 +54,9 @@
54
54
  "@amedia/prettier-config": "2.0.1",
55
55
  "@changesets/changelog-github": "0.5.1",
56
56
  "@changesets/cli": "2.29.4",
57
- "@eik/esbuild-plugin": "1.1.54",
57
+ "@eik/esbuild-plugin": "2.0.1",
58
58
  "@types/jest": "29.5.14",
59
- "@types/node": "22.15.19",
59
+ "@types/node": "22.15.21",
60
60
  "concurrently": "9.1.2",
61
61
  "cors": "2.8.5",
62
62
  "esbuild": "0.25.4",
@@ -67,7 +67,7 @@
67
67
  "jest-fetch-mock": "3.0.3",
68
68
  "mockdate": "3.0.5",
69
69
  "npm-run-all": "4.1.5",
70
- "rollup": "4.41.0",
70
+ "rollup": "4.41.1",
71
71
  "rollup-plugin-dts": "6.2.1",
72
72
  "ts-jest": "29.3.4",
73
73
  "tslib": "2.8.1",