Skip to content

Conversation

astoiccoder
Copy link
Contributor

What kind of change does this PR introduce?

Feature to introduce the option to pass a debug flag down to gotrue client.
Bumps gotrue-js to v2.39.1.

What is the current behavior?

Currently it is not possible to pass the debug flag to the authentication client.
The debug flag was recently introduced here and first released in v2.35.0.

What is the new behavior?

gotrue-js has been bumped to v2.39.1 in order to make the debug flag option available in SupabaseAuthClientOptions.
Introduce debug flag in auth settings for SupabaseClientOptions and pass it on to the SupabaseAuthClient.

Additional context

This is my first try of a contribution, so please let me know if I did something wrong. Since this was faster implemented than described, I went straight to implementation instead of raising a discussion first.
If I should split the version bump in a separate PR please let me know as well.

Currently I have an issue with authentication in supabase-js client and I believe having this debug option could help me understand the issue better.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5495303954

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 66.492%

Totals Coverage Status
Change from base Build 5322600712: 0.0%
Covered Lines: 83
Relevant Lines: 107

💛 - Coveralls

@soedirgo soedirgo requested review from J0, hf and kangmingtay July 10, 2023 09:28
@hf
Copy link
Contributor

hf commented Jul 24, 2023

@astoiccoder Can you please remove the package.json and package-lock.json files as they conflict and we'll merge this!

@astoiccoder
Copy link
Contributor Author

@hf thanks a lot for having a look! Resolved the conflicts now

@hf hf changed the title feat: add debug option for gotrue client feat: add debug option for auth client Jul 26, 2023
Copy link
Contributor

@hf hf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats on your first contribution! 🎉

@hf hf merged commit 27db298 into supabase:master Jul 26, 2023
@coveralls
Copy link

coveralls commented Jan 19, 2025

Pull Request Test Coverage Report for Build 5495303954

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 66.492%

Totals Coverage Status
Change from base Build 5322600712: 0.0%
Covered Lines: 83
Relevant Lines: 107

💛 - Coveralls

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5648782960

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 65.969%

Totals Coverage Status
Change from base Build 5643448127: 0.0%
Covered Lines: 83
Relevant Lines: 107

💛 - Coveralls

1 similar comment
@coveralls
Copy link

Pull Request Test Coverage Report for Build 5648782960

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 65.969%

Totals Coverage Status
Change from base Build 5643448127: 0.0%
Covered Lines: 83
Relevant Lines: 107

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants