Skip to content

Commit d8cd9c8

Browse files
chore: normalises respose and reqiest objects passed to session functions, and removes support for faunadb session modifier (#337)
1 parent 7c06c6a commit d8cd9c8

29 files changed

+65
-1935
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
- If sms or email sending failed in passwordless recipe APIs, we now throw a regular JS error from the API as opposed to returning a `GENERAL_ERROR` to the client.
2020
- If there is an error whilst getting the profile info about a user from a third party provider (in /signinup POST API), then we throw a regular JS error instead of returning a `GENERAL_ERROR` to the client.
2121
- Changes SuperTokensSMS service to take an API key directly as opposed to take an object that takes an API key
22+
- Passes only base request and base response objects to session recipe implementation functions. Normalisation of raw res and raw response is now done in the session's index.ts file
23+
- Removes support for faunadb session recipe modifier.
2224

2325
### Changes
2426

lib/build/recipe/session/faunadb/constants.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/build/recipe/session/faunadb/constants.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

lib/build/recipe/session/faunadb/index.d.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/build/recipe/session/faunadb/index.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

lib/build/recipe/session/faunadb/recipeImplementation.d.ts

Lines changed: 0 additions & 149 deletions
This file was deleted.

lib/build/recipe/session/faunadb/recipeImplementation.js

Lines changed: 0 additions & 168 deletions
This file was deleted.

lib/build/recipe/session/faunadb/types.d.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/build/recipe/session/faunadb/types.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)