Skip to content

Conversation

timea-solid
Copy link
Member

@timea-solid timea-solid commented Aug 26, 2025

#90

@timea-solid timea-solid self-assigned this Aug 26, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Inrupt authentication library (@inrupt/solid-client-authn-browser) from version 1.17 to version 3.1.0, adapting the codebase to use the new API patterns introduced in the major version upgrade.

  • Updated the Session constructor to use the simplified instantiation pattern
  • Migrated from deprecated onSessionRestore method to the new event-driven API using session.events.on
  • Added import for the EVENTS constant to support the new event system

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/authn/SolidAuthnLogic.ts Updated to use new event-driven API with EVENTS.SESSION_RESTORED and added console logging
src/authSession/authSession.ts Simplified Session constructor by removing deprecated parameters
package.json Updated dependency version from 1.17 to ^3.1.0 and reorganized babel plugin order

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant