Skip to content

use sdk types

use sdk types #333

Triggered via push December 17, 2024 22:38
Status Failure
Total duration 57s
Artifacts

ci.yml

on: push
Matrix: Static checks
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 8 warnings
Tests (20.x)
Process completed with exit code 1.
Static checks (20.x): lib/validate.tsx#L16
No overload matches this call.
Static checks (20.x): pages/api/account.ts#L69
Argument of type '(account?: { addr?: string; }) => Promise<{ tempId: string; addr: string; keyId: number; signingFunction: (data: { message: string; }) => { addr: string; keyId: number; signature: string; }; }>' is not assignable to parameter of type '(addr: any, signingFunction: any, keyId: any, sequenceNum: any) => { addr: any; signingFunction: any; keyId: any; sequenceNum: any; }'.
Static checks (20.x): pages/api/fund.ts#L67
Argument of type '(account?: { addr?: string; }) => Promise<{ tempId: string; addr: string; keyId: number; signingFunction: (data: { message: string; }) => { addr: string; keyId: number; signature: string; }; }>' is not assignable to parameter of type '(addr: any, signingFunction: any, keyId: any, sequenceNum: any) => { addr: any; signingFunction: any; keyId: any; sequenceNum: any; }'.
Static checks (20.x)
Process completed with exit code 2.
Tests (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static checks (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Static checks (20.x): components/Header.tsx#L32
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Static checks (20.x): components/LoadingFeedback.tsx#L24
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
Static checks (20.x): components/LoadingFeedback.tsx#L24
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Static checks (20.x): components/SidebarAccordion.tsx#L142
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
Static checks (20.x): components/SidebarAccordion.tsx#L142
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Static checks (20.x): pages/api/account.ts#L16
Assign arrow function to a variable before exporting as module default