Closed peterphanouvong closed 3 months ago
The recent updates primarily involve cosmetic changes across various configuration files, components, and utility scripts. These adjustments aim to enhance code readability and consistency, such as modifying quotation marks, formatting import statements, and improving the structure of conditional expressions. Additionally, several Rollup configurations were updated to include new external dependencies, optimizing the build process without altering the core functionality of the application.
Files | Change Summary |
---|---|
CHANGELOG.md |
Minor formatting updates for clarity and consistency. |
clientConfig/rollup.config.js |
Added 'jwt-decode' and '@kinde-oss/kinde-typescript-sdk' to external dependencies. |
componentConfig/rollup.config.js |
Introduced external property for react and @kinde-oss/kinde-typescript-sdk . |
middlewareConfig/rollup.config.js |
Added external property for jwt-decode , @kinde-oss/kinde-typescript-sdk , and next/server . |
playground/src/app/api/auth/[...kindeAuth]/route.ts |
Changed import quotation marks from double to single quotes, no functional changes. |
playground/src/app/api/protected/route.ts |
Minor formatting changes, no functional changes. |
playground/src/app/api/public/route.ts |
Altered import statement formatting, maintaining functionality. |
playground/src/app/globals.css |
Changed quotation marks for --g-font-family , no impact on rendering. |
playground/src/app/layout.tsx |
Adjusted string quotation marks, improved spacing, no functional changes. |
playground/src/app/page.module.css |
Reformatted CSS transitions for improved readability. |
playground/src/app/page.tsx |
Changed import quotation marks from double to single quotes. |
serverConfig/rollup.config.js |
Added external dependencies: next/server , next/navigation , etc. |
src/components/LoginLink.js |
Restructured variable assignments for clarity, no functionality changes. |
src/components/LogoutLink.js |
Minor formatting adjustments in JSX, no functionality changes. |
src/frontend/AuthProvider.jsx |
Reformatted imports and corrected semicolons for better readability. |
src/frontend/KindeBrowserClient.js |
Adjusted formatting in setState calls for readability. |
src/handlers/auth.js |
Updated import statement for NextRequest in JSDoc comment. |
src/handlers/health.js |
Improved consistency in import statements and formatting. |
src/handlers/logout.js |
Minor formatting adjustments, improved readability of postLogoutRedirectURL assignment. |
src/middleware/index.js |
Standardized quotation marks in the export statement. |
src/routerClients/AppRouterClient.js |
Removed direct import of NextRequest , using inline import in JSDoc instead. |
src/utils/appRouter/setVerifierCookie.js |
Reformatted import statement for GLOBAL_COOKIE_OPTIONS , no functional changes. |
src/utils/generateAuthUrl.js |
Added semicolon for login_hint assignment, no logic changes. |
src/utils/pageRouter/setVerifierCookie.js |
Minor formatting changes, improved consistency. |
src/utils/randomString.js |
Changed string quotations and adjusted indentation for consistency. |
src/utils/sanitizeRedirect.js |
Enhanced formatting and consistency, no functionality changes. |
src/utils/version.js |
Added semicolon at the end of export statement, no functional changes. |
sequenceDiagram
participant User
participant AuthProvider
participant KindeSDK
User->>AuthProvider: Request Authentication
AuthProvider->>KindeSDK: Handle Authentication
KindeSDK->>AuthProvider: Return Auth Response
AuthProvider-->>User: Provide Auth Status
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Explain your changes
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.