Skip to content

Commit

Permalink
Update for use new updated version of oidc-client-js
Browse files Browse the repository at this point in the history
  • Loading branch information
smalinin committed Dec 20, 2024
1 parent 0691cb7 commit a83f800
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
14 changes: 6 additions & 8 deletions packages/browser/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion packages/browser/src/sessionInfo/SessionInfoManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ export async function clear(
// FIXME: This is needed until the DPoP key is stored safely
storage.delete("clientKey", { secure: false }),
]);
await clearOidcPersistentStorage();
try {
await clearOidcPersistentStorage();
} catch(e) {

Check failure on line 66 in packages/browser/src/sessionInfo/SessionInfoManager.ts

View workflow job for this annotation

GitHub Actions / lint / lint

Insert `·`
console.log(e)

Check warning on line 67 in packages/browser/src/sessionInfo/SessionInfoManager.ts

View workflow job for this annotation

GitHub Actions / lint / lint

Unexpected console statement

Check failure on line 67 in packages/browser/src/sessionInfo/SessionInfoManager.ts

View workflow job for this annotation

GitHub Actions / lint / lint

Insert `;`
}
}

/**
Expand Down
12 changes: 5 additions & 7 deletions packages/oidc-browser/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/oidc-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inrupt/oidc-client-ext",
"version": "1.15.0",
"version": "1.15.1",
"description": "A module extending oidc-client-js with new features, such as dynamic client registration and DPoP support.",
"homepage": "https://github.com/inrupt/solid-client-authn-js/tree/main/packages/oidc/",
"bugs": "https://github.com/inrupt/solid-client-authn-js/issues",
Expand All @@ -25,7 +25,7 @@
"ts-node": "^10.9.1"
},
"dependencies": {
"@inrupt/oidc-client": "^1.11.6",
"@inrupt/oidc-client": "git+https://github.com/OpenLinkSoftware/oidc-client-js#openlink_1_11_17",
"@inrupt/solid-client-authn-core": "^1.15.0",
"jose": "^4.10.0",
"uuid": "^9.0.0"
Expand Down

0 comments on commit a83f800

Please sign in to comment.