fix: @asgardeo/react-router issues + expose signInSilently from @asgardeo/react
          #94
        
          
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Purpose
This pull request introduces several changes across multiple files to improve the functionality and consistency of the Asgardeo SDK. The most significant updates include renaming the
trySignInSilentlymethod tosignInSilentlyfor better clarity, enhancements to the@asgardeo/react-routerpackage, and updates to dependencies and documentation.Method Renaming and Refactoring:
packages/browser/src/__legacy__/client.ts: Renamed thetrySignInSilentlymethod tosignInSilentlyin theAsgardeoSPAClientclass, along with corresponding updates to method calls and documentation. [1] [2]packages/browser/src/__legacy__/clients/main-thread-client.ts: Updated thetrySignInSilentlymethod tosignInSilentlyand adjusted references to_authenticationHelper. [1] [2]packages/browser/src/__legacy__/clients/web-worker-client.ts: Applied the same renaming and refactoring to theWebWorkerClient. [1] [2]packages/browser/src/__legacy__/helpers/authentication-helper.ts: Refactored thetrySignInSilentlymethod tosignInSilentlyin theAuthenticationHelperclass.packages/javascript/src/AsgardeoJavaScriptClient.ts: Added thesignInSilentlymethod as an abstract method inAsgardeoJavaScriptClient.packages/nextjs/src/AsgardeoNextClient.ts: Implemented thesignInSilentlymethod inAsgardeoNextClient, throwing a "Not implemented" error.Updates to
@asgardeo/react-routerPackage:packages/react-router/README.md: Revised documentation to simplify features, remove outdated components likewithAuthenticationand hooks, and update examples to focus on core functionality such asProtectedRoute. [1] [2]packages/react-router/package.json: Changed dependencies fromreact-router-domtoreact-routerfor compatibility with updated features.packages/react-router/src/components/ProtectedRoute.tsx: Refactored theProtectedRoutecomponent to usereact-routerinstead ofreact-router-domand updated imports accordingly. [1] [2]Dependency and Documentation Updates:
packages/react-router/package.jsonto align with the latest versions ofreact-routerand TypeScript.@asgardeo/react-routerREADME.These changes collectively enhance the SDK's usability, maintainability, and alignment with modern development practices.
Related Issues
Related PRs
Checklist
Security checks