Skip to content

Commit

Permalink
Update build files
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek3255 committed Jan 3, 2024
1 parent 547e423 commit 3974aa0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
7 changes: 5 additions & 2 deletions lib/build/fetch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/build/logger.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion lib/build/logger.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions lib/build/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/ts/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export function enableLogging() {
__supertokensWebsiteLogging = true;
}

export function disableLogging() {
__supertokensWebsiteLogging = false;
}

export function logDebugMessage(message: string) {
if (__supertokensWebsiteLogging) {
console.log(
Expand Down

0 comments on commit 3974aa0

Please sign in to comment.