@amedia/user 0.14.118 → 0.14.119

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/dist/user.d.ts +2 -2
  2. package/package.json +2 -2
package/dist/user.d.ts CHANGED
@@ -37,14 +37,14 @@ declare class UserDataRequest<TUserAttributes extends UserAttributes, TStorage e
37
37
  private requestedAttributes?;
38
38
  private requestedStorage?;
39
39
  private requestedNonUserAccess;
40
+ private context;
40
41
  static FETCH_TIMEOUT: Millis;
41
42
  private static WITH_NON_USER_ACCESS;
42
43
  private fetchTimeoutId;
43
44
  private lastReceivedData?;
44
45
  private subscriptionEventListeners;
45
46
  private resolveNonUserAccess;
46
- private context;
47
- constructor(requestedAttributes?: TAttributes, requestedStorage?: TRequestedStorage, requestedNonUserAccess?: boolean);
47
+ constructor(requestedAttributes?: TAttributes, requestedStorage?: TRequestedStorage, requestedNonUserAccess?: boolean, context?: string);
48
48
  withContext(context: string): this;
49
49
  withAttributes<NewAttributes extends Array<keyof TUserAttributes>>(attributes: NewAttributes): UserDataRequest<TUserAttributes, TStorage, (TAttributes[number] & NewAttributes[number])[], TRequestedStorage, TSubscribeResponse & {
50
50
  attributes: Pick<TUserAttributes, TAttributes[number] & NewAttributes[number]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amedia/user",
3
- "version": "0.14.118",
3
+ "version": "0.14.119",
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)",
@@ -55,7 +55,7 @@
55
55
  "@changesets/cli": "^2.27.1",
56
56
  "@eik/esbuild-plugin": "^1.1.47",
57
57
  "@types/jest": "^29.5.12",
58
- "@types/node": "^20.12.6",
58
+ "@types/node": "^20.12.7",
59
59
  "concurrently": "^8.2.2",
60
60
  "cors": "^2.8.5",
61
61
  "esbuild": "0.20.2",