refactor: update sbtc pkg #14799
Annotations
10 errors and 1 warning
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" | StacksNetwork | "mocknet" | 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; functionArgs: ClarityValue[]; nonce: string | undefined; ... 4 more ...; sponsored: boolean | undefined; }' is not assignable to parameter of type 'UnsignedContractCallOptions | UnsignedMultiSigContractCallOptions'.
|
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; 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; 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'.
|
Typecheck:
src/app/features/add-network/use-add-network.tsx#L137
Property 'fetchFn' does not exist on type 'StacksNetwork'.
|
Typecheck:
src/app/pages/rpc-sign-stacks-message/use-rpc-sign-stacks-message.ts#L4
'StacksNetwork' is declared but its value is never read.
|
Typecheck:
src/app/pages/rpc-sign-stacks-message/use-rpc-sign-stacks-message.ts#L31
'StacksNetwork' only refers to a type, but is being used as a value here.
|
Typecheck:
src/app/pages/sign-stacks-message-request/sign-stacks-message-request.tsx#L26
Type '{ messageType: "utf8"; message: string; network: StacksNetwork | undefined; appName: string | undefined; domain?: undefined; } | { messageType: "structured"; message: ClarityValue; network: StacksNetwork | undefined; appName: string | undefined; domain: StructuredMessageDataDomain; }' is not assignable to type 'Utf8Payload | StructuredPayload'.
|
Typecheck:
src/app/pages/sign-stacks-message-request/use-sign-stacks-message-request.ts#L28
Type 'import("/home/runner/work/extension/extension/node_modules/.pnpm/@stacks[email protected][email protected]/node_modules/@stacks/network/dist/network").StacksNetwork | undefined' is not assignable to type 'import("/home/runner/work/extension/extension/node_modules/.pnpm/@stacks[email protected][email protected]/node_modules/@stacks/network/dist/network").StacksNetwork | undefined'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading