Skip to content

Commit

Permalink
fix: fake email and revert version
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Mar 18, 2024
1 parent df22f25 commit 4290f4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.17.6] - 2024-03-18

- Fixes the passing of `tenantId` in `getAllSessionHandlesForUser` and `revokeAllSessionsForUser` based on `fetchAcrossAllTenants` and `revokeAcrossAllTenants` inputs respectively.

## [0.17.5] - 2024-03-14
- Adds a type uint64 to the `accessTokenCookiesExpiryDurationMillis` local variable in `recipe/session/utils.go`. It also removes the redundant `uint64` type forcing needed because of the untyped variable.
- Fixes the passing of `tenantId` in `getAllSessionHandlesForUser` and `revokeAllSessionsForUser` based on `fetchAcrossAllTenants` and `revokeAcrossAllTenants` inputs respectively.
- Updated fake email generation

## [0.17.4] - 2024-02-08

Expand Down
2 changes: 1 addition & 1 deletion recipe/thirdparty/providers/custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewProvider(input tpmodels.ProviderInput) *tpmodels.TypeProvider {

if input.Config.GenerateFakeEmail == nil {
input.Config.GenerateFakeEmail = func(thirdPartyUserId string, tenantId string, userContext supertokens.UserContext) string {
return fmt.Sprintf("%s@%s.fakeemail.com", thirdPartyUserId, input.Config.ThirdPartyId)
return fmt.Sprintf("%s.%[email protected].com", thirdPartyUserId, input.Config.ThirdPartyId)
}
}

Expand Down
2 changes: 1 addition & 1 deletion supertokens/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
)

// VERSION current version of the lib
const VERSION = "0.17.6"
const VERSION = "0.17.5"

var (
cdiSupported = []string{"3.0"}
Expand Down

0 comments on commit 4290f4b

Please sign in to comment.