BrycensRanch / Chatting-Platform

Chat with other users, face to face, E2E encrypted, like Google Meets
https://chatting-platform-frontend.vercel.app
MIT License
5 stars 0 forks source link

fix(deps): update dependency supertokens-node to v13 #13

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
supertokens-node ^12.1.6 -> ^13.0.0 age adoption passing confidence

Release Notes

supertokens/supertokens-node ### [`v13.0.0`](https://togithub.com/supertokens/supertokens-node/blob/HEAD/CHANGELOG.md#​1300---2023-02-01) [Compare Source](https://togithub.com/supertokens/supertokens-node/compare/v12.1.6...v13.0.0) ##### Breaking changes - The frontend SDK should be updated to a version supporting the header-based sessions! - supertokens-auth-react: >= 0.31.0 - supertokens-web-js: >= 0.5.0 - supertokens-website: >= 16.0.0 - supertokens-react-native: >= 4.0.0 - supertokens-ios >= 0.2.0 - supertokens-android >= 0.3.0 - supertokens-flutter >= 0.1.0 - `createNewSession` now requires passing the request as well as the response. - This only requires a change if you manually created sessions (e.g.: during testing) - There is a migration example added below. It uses express, but the same principle applies for other supported frameworks. - Only supporting FDI 1.16 ##### Added - Added support for authorizing requests using the `Authorization` header instead of cookies - Added `getTokenTransferMethod` config option - Check out https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/token-transfer-method for more information ##### Migration This example uses express, but the same principle applies for other supported frameworks. Before: const app = express(); app.post("/create", async (req, res) => { await Session.createNewSession(res, "testing-userId", {}, {}); res.status(200).json({ message: true }); }); After the update: const app = express(); app.post("/create", async (req, res) => { await Session.createNewSession(req, res, "testing-userId", {}, {}); res.status(200).json({ message: true }); });

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
chatting-platform-frontend ❌ Failed (Inspect) Feb 7, 2023 at 1:50PM (UTC)