feat: btc to sbtc swap #14797
Annotations
10 errors and 1 warning
Typecheck:
src/app/common/hooks/use-filtered-sip10-tokens.ts#L25
Argument of type 'import("/home/runner/work/extension/extension/src/app/pages/swap/swap.context").SwapAsset[]' is not assignable to parameter of type 'import("/home/runner/work/extension/extension/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@leather.io/query/dist/src/common/alex-sdk/alex-sdk.hooks").SwapAsset[]'.
|
Typecheck:
src/app/common/hooks/use-filtered-sip10-tokens.ts#L26
Argument of type 'import("/home/runner/work/extension/extension/src/app/pages/swap/swap.context").SwapAsset[]' is not assignable to parameter of type 'import("/home/runner/work/extension/extension/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@leather.io/query/dist/src/common/alex-sdk/alex-sdk.hooks").SwapAsset[]'.
|
Typecheck:
src/app/common/hooks/use-filtered-sip10-tokens.ts#L27
Argument of type 'import("/home/runner/work/extension/extension/src/app/pages/swap/swap.context").SwapAsset[]' is not assignable to parameter of type 'import("/home/runner/work/extension/extension/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@leather.io/query/dist/src/common/alex-sdk/alex-sdk.hooks").SwapAsset[]'.
|
Typecheck:
src/app/common/hooks/use-submit-stx-transaction.ts#L39
Argument of type 'StacksNetwork' is not assignable to parameter of type '"mainnet" | "testnet" | "devnet" | "mocknet" | StacksNetwork | undefined'.
|
Typecheck:
src/app/common/transactions/stacks/generate-unsigned-txs.ts#L69
Argument of type '(string | PostCondition | PostCondition)[] | undefined' is not assignable to parameter of type '(string | PostCondition)[] | undefined'.
|
Typecheck:
src/app/common/transactions/stacks/generate-unsigned-txs.ts#L73
Argument of type '{ contractName: string; contractAddress: string; functionName: string; publicKey: string; anchorMode: AnchorMode | AnchorMode; ... 6 more ...; sponsored: boolean | undefined; }' is not assignable to parameter of type 'UnsignedContractCallOptions | UnsignedMultiSigContractCallOptions'.
|
Typecheck:
src/app/common/transactions/stacks/generate-unsigned-txs.ts#L91
Argument of type '(string | PostCondition | PostCondition)[] | undefined' is not assignable to parameter of type '(string | PostCondition)[] | undefined'.
|
Typecheck:
src/app/common/transactions/stacks/generate-unsigned-txs.ts#L94
Argument of type '{ contractName: string; codeBody: string; nonce: string | undefined; fee: string; publicKey: string; anchorMode: AnchorMode | AnchorMode; postConditionMode: PostConditionMode | undefined; postConditions: PostCondition[] | undefined; network: StacksNetwork | undefined; }' is not assignable to parameter of type 'UnsignedContractDeployOptions | UnsignedMultiSigContractDeployOptions'.
|
Typecheck:
src/app/common/transactions/stacks/generate-unsigned-txs.ts#L114
Argument of type '{ recipient: string; memo: string | undefined; publicKey: string; anchorMode: AnchorMode | AnchorMode; amount: string; nonce: string | undefined; fee: string; network: StacksNetwork | undefined; }' is not assignable to parameter of type 'UnsignedTokenTransferOptions | UnsignedMultiSigTokenTransferOptions'.
|
Typecheck:
src/app/features/add-network/use-add-network.tsx#L124
Property 'fetchFn' does not exist on type 'StacksNetwork'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading