Skip to content

feat: support throwing errors instead of returning them #1767

feat: support throwing errors instead of returning them

feat: support throwing errors instead of returning them #1767

Triggered via pull request January 16, 2025 05:50
Status Failure
Total duration 31s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Test / OS ubuntu-latest / Node 20: src/GoTrueClient.ts#L110
Type '{ url: string; storageKey: string; autoRefreshToken: true; persistSession: true; detectSessionInUrl: true; headers: { 'X-Client-Info': string; }; flowType: "implicit"; debug: false; hasCustomAuthorizationHeader: false; throwOnError: boolean; }' is not assignable to type 'Omit<Required<GoTrueClientOptions>, "storage" | "fetch" | "lock">'.
Test / OS ubuntu-latest / Node 20: src/GoTrueClient.ts#L217
Property 'throwOnError' does not exist on type '{ url: string; headers: { [key: string]: string; }; storageKey: string; detectSessionInUrl: boolean; autoRefreshToken: boolean; persistSession: boolean; storage?: SupportedStorage | undefined; ... 4 more ...; hasCustomAuthorizationHeader: boolean; }'.
Test / OS ubuntu-latest / Node 20
Process completed with exit code 1.
Test / OS ubuntu-latest / Node 18
The job was canceled because "ubuntu-latest_20" failed.
Test / OS ubuntu-latest / Node 18: src/GoTrueClient.ts#L110
Type '{ url: string; storageKey: string; autoRefreshToken: true; persistSession: true; detectSessionInUrl: true; headers: { 'X-Client-Info': string; }; flowType: "implicit"; debug: false; hasCustomAuthorizationHeader: false; throwOnError: boolean; }' is not assignable to type 'Omit<Required<GoTrueClientOptions>, "storage" | "fetch" | "lock">'.
Test / OS ubuntu-latest / Node 18: src/GoTrueClient.ts#L217
Property 'throwOnError' does not exist on type '{ url: string; headers: { [key: string]: string; }; storageKey: string; detectSessionInUrl: boolean; autoRefreshToken: boolean; persistSession: boolean; storage?: SupportedStorage | undefined; ... 4 more ...; hasCustomAuthorizationHeader: boolean; }'.
Test / OS ubuntu-latest / Node 18
Process completed with exit code 1.
Test / OS ubuntu-latest / Node 20
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636