Skip to content

Commit

Permalink
fix: add create*Client string in x-client-info
Browse files Browse the repository at this point in the history
  • Loading branch information
hf committed Dec 19, 2024
1 parent 9524528 commit fc81d8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/createBrowserClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function createBrowserClient<
...options?.global,
headers: {
...options?.global?.headers,
"X-Client-Info": `supabase-ssr/${VERSION}`,
"X-Client-Info": `supabase-ssr/${VERSION} createBrowserClient`,
},
},
auth: {
Expand Down
2 changes: 1 addition & 1 deletion src/createServerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function createServerClient<
...options?.global,
headers: {
...options?.global?.headers,
"X-Client-Info": `supabase-ssr/${VERSION}`,
"X-Client-Info": `supabase-ssr/${VERSION} createServerClient`,
},
},
auth: {
Expand Down

0 comments on commit fc81d8f

Please sign in to comment.