@inrupt/solid-client-authn-browser 2.2.3 → 2.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inrupt/solid-client-authn-browser",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "license": "MIT",
5
5
  "types": "dist/index.d.ts",
6
6
  "browser": "dist/index.js",
@@ -26,17 +26,17 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^20.14.2",
29
- "@types/uuid": "^9.0.8"
29
+ "@types/uuid": "^10.0.0"
30
30
  },
31
31
  "dependencies": {
32
- "@inrupt/oidc-client-ext": "^2.2.3",
33
- "@inrupt/solid-client-authn-core": "^2.2.3",
32
+ "@inrupt/oidc-client-ext": "^2.2.4",
33
+ "@inrupt/solid-client-authn-core": "^2.2.4",
34
34
  "events": "^3.3.0",
35
35
  "jose": "^5.1.3",
36
- "uuid": "^9.0.1"
36
+ "uuid": "^10.0.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "4222c4ae39d0b160cf664da987e4b2a08b7f4c84"
41
+ "gitHead": "793acb2fc372fc299e64d5353200c714f31ab4e6"
42
42
  }
@@ -121,6 +121,7 @@ export default class ClientAuthentication extends ClientAuthenticationBase {
121
121
  webId: redirectInfo.webId,
122
122
  sessionId: redirectInfo.sessionId,
123
123
  expirationDate: redirectInfo.expirationDate,
124
+ clientAppId: redirectInfo.clientAppId,
124
125
  };
125
126
  } catch (err) {
126
127
  // Strip the oauth params:
package/src/Session.ts CHANGED
@@ -170,6 +170,7 @@ export class Session implements IHasSessionEventListener {
170
170
  sessionId: sessionOptions.sessionInfo.sessionId,
171
171
  isLoggedIn: false,
172
172
  webId: sessionOptions.sessionInfo.webId,
173
+ clientAppId: sessionOptions.sessionInfo.clientAppId,
173
174
  };
174
175
  } else {
175
176
  this.info = {
@@ -360,6 +361,7 @@ export class Session implements IHasSessionEventListener {
360
361
  this.info.isLoggedIn = sessionInfo.isLoggedIn;
361
362
  this.info.webId = sessionInfo.webId;
362
363
  this.info.sessionId = sessionInfo.sessionId;
364
+ this.info.clientAppId = sessionInfo.clientAppId;
363
365
  this.info.expirationDate = sessionInfo.expirationDate;
364
366
  this.events.on(EVENTS.SESSION_EXTENDED, (expiresIn: number) => {
365
367
  this.info.expirationDate = Date.now() + expiresIn * 1000;