Skip to content

fix: update btc balance api url and zod schema #4102

fix: update btc balance api url and zod schema

fix: update btc balance api url and zod schema #4102

Triggered via push November 28, 2024 13:33
Status Failure
Total duration 1m 36s
Artifacts

code-checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 12 warnings
test-unit
Type '(results: TotalBalanceCombineFn) => { availableBalance: Money; fiatBalance: Money; }' is not assignable to type '(result: UseQueryResult<{ value: string; path: string; address: string; txid: string; vout: number; confirmations?: number | undefined; height?: number | undefined; }[], Error>[]) => { ...; }'.
test-unit
@leather.io/mobile#build: command (/home/runner/work/mono/mono/apps/mobile) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
test-unit
Process completed with exit code 1.
typecheck
Type '(results: TotalBalanceCombineFn) => { availableBalance: Money; fiatBalance: Money; }' is not assignable to type '(result: UseQueryResult<{ value: string; path: string; address: string; txid: string; vout: number; confirmations?: number | undefined; height?: number | undefined; }[], Error>[]) => { ...; }'.
typecheck
@leather.io/mobile#build: command (/home/runner/work/mono/mono/apps/mobile) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
typecheck
Process completed with exit code 1.
test-coverage
Type '(results: TotalBalanceCombineFn) => { availableBalance: Money; fiatBalance: Money; }' is not assignable to type '(result: UseQueryResult<{ value: string; path: string; address: string; txid: string; vout: number; confirmations?: number | undefined; height?: number | undefined; }[], Error>[]) => { ...; }'.
test-coverage
@leather.io/mobile#build: command (/home/runner/work/mono/mono/apps/mobile) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
test-coverage
Process completed with exit code 1.
lint-deps
Type '(results: TotalBalanceCombineFn) => { availableBalance: Money; fiatBalance: Money; }' is not assignable to type '(result: UseQueryResult<{ value: string; path: string; address: string; txid: string; vout: number; confirmations?: number | undefined; height?: number | undefined; }[], Error>[]) => { ...; }'.
lint-deps
@leather.io/mobile#build: command (/home/runner/work/mono/mono/apps/mobile) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
lint-deps
Process completed with exit code 1.
lint-eslint: packages/query/src/stacks/contract/contract.hooks.ts#L13
'ContractInterfaceFunction' is deprecated.
lint-eslint: packages/query/src/stacks/hiro-api-types.ts#L63
'ContractInterfaceFunction' is deprecated.
lint-eslint: packages/query/src/stacks/hiro-api-types.ts#L100
'BufferArg' is deprecated.
lint-eslint: packages/query/src/stacks/hiro-api-types.ts#L106
'ContractInterfaceFunctionArg' is deprecated.
lint-eslint: packages/ui/src/components/approver/animations/approver-animation.web.tsx#L21
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint-eslint: packages/ui/src/hooks/use-haptics.native.tsx#L75
Unnecessary return statement
test-coverage
Unexpected input(s) 'fetch-depth', valid inputs are ['']
test-coverage
Unexpected input(s) 'fetch-depth', valid inputs are ['']