wip: contacts #9187
check-code-validation.yml
on: pull_request
Setup and Cache Dependencies
1m 43s
Type Checking
2m 20s
Linting and formatting
2m 55s
Unit Tests
3m 15s
Build libs for publishing
1m 33s
Other Checks
1m 23s
Releases revision Checks
1m 34s
Annotations
32 errors and 13 warnings
Other Checks
Process completed with exit code 1.
|
Build libs for publishing
Cannot find module 'nostr-tools/relay' or its corresponding type declarations.
|
Build libs for publishing
Cannot find module 'nostr-tools/nip19' or its corresponding type declarations.
|
Build libs for publishing
Cannot find module 'nostr-tools/pool' or its corresponding type declarations.
|
Build libs for publishing
Cannot find module 'nostr-tools/pure' or its corresponding type declarations.
|
Build libs for publishing
Argument of type '"identity"' is not assignable to parameter of type 'EventKey<PeerToPeerCommunicationClientEvents>'.
|
Build libs for publishing
Property 'subscribe' in type 'NostrClient' is not assignable to the same property in base type 'PeerToPeerCommunicationClient<PeerToPeerCommunicationClientEvents>'.
|
Build libs for publishing
Parameter 'event' implicitly has an 'any' type.
|
Build libs for publishing
Argument of type '{ nsecStr: "nsec12rfalrsa6dvnxjhhf4n0d2k4rc2wc8hy49qvp34k2hj8p7cppnnq8ysujz"; relayUrl: string; }' is not assignable to parameter of type 'Params'.
|
Build libs for publishing
Object literal may only specify known properties, and 'pubKeys' does not exist in type '{ recipientPubkey: string; }'.
|
Build libs for publishing
Property 'pk' is private and only accessible within class 'NostrClient'.
|
Type Checking
Argument of type 'Uint8Array | undefined' is not assignable to parameter of type 'Uint8Array'.
|
Type Checking
Property 'subscribe' in type 'NostrClient' is not assignable to the same property in base type 'PeerToPeerCommunicationClient<PeerToPeerCommunicationClientEvents>'.
|
Type Checking
Argument of type 'Event' is not assignable to parameter of type 'PeerToPeerEvent'.
|
Type Checking
Argument of type '{ nsecStr: "nsec12rfalrsa6dvnxjhhf4n0d2k4rc2wc8hy49qvp34k2hj8p7cppnnq8ysujz"; relayUrl: string; }' is not assignable to parameter of type 'Params'.
|
Type Checking
Object literal may only specify known properties, and 'pubKeys' does not exist in type '{ recipientPubkey: string; }'.
|
Type Checking
Property 'pk' is private and only accessible within class 'NostrClient'.
|
Type Checking
Property 'contactSignatures' is missing in type '{ rippleDestinationTag?: string | undefined; setMaxOutputId?: number | undefined; outputs: { address: string; amount: string; type: "payment"; token: TokenAddress | null; fiat: string; currency: { label: string; value: string; }; }[]; isCoinControlEnabled: false; hasCoinControlBeenOpened: false; selectedUtxos: never[]; options: never[]; selectedFee: "custom" | "normal" | "low" | "high" | "economy"; feePerUnit: string; feeLimit: string; }' but required in type 'FormState'.
|
Type Checking
Conversion of type '{ setMaxOutputId: undefined; fiatInput: string; cryptoInput: string; outputs: { address: string; amount: string; type: "payment"; fiat: ""; currency: { readonly value: "usd"; readonly label: "USD"; }; token: null; label: ""; }[]; options: string[]; ethereumStakeType: StakeType; ethereumNonce: string; ethereumDataAscii: string; ethereumDataHex: string; estimatedFeeLimit: undefined; feeLimit: string; feePerUnit: string; selectedFee: undefined; isCoinControlEnabled: boolean; hasCoinControlBeenOpened: boolean; selectedUtxos: never[]; }' to type 'StakeFormState' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Type Checking
Conversion of type '{ fiatInput: string; cryptoInput: string; outputs: { address: string; amount: string; type: "payment"; fiat: ""; currency: { readonly value: "usd"; readonly label: "USD"; }; token: null; label: ""; }[]; options: string[]; ethereumStakeType: StakeType; ethereumNonce: string; ethereumDataAscii: string; ethereumDataHex: string; estimatedFeeLimit: undefined; feeLimit: string; feePerUnit: string; selectedFee: undefined; isCoinControlEnabled: boolean; hasCoinControlBeenOpened: boolean; selectedUtxos: never[]; }' to type 'UnstakeFormState' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Type Checking
Conversion of type '{ fiatInput: string; cryptoInput: string; outputs: { address: string; amount: string; type: "payment"; fiat: ""; currency: { readonly value: "usd"; readonly label: "USD"; }; token: null; label: ""; }[]; options: string[]; ethereumStakeType: StakeType; ethereumNonce: string; ethereumDataAscii: string; ethereumDataHex: string; estimatedFeeLimit: undefined; feeLimit: string; feePerUnit: string; selectedFee: undefined; isCoinControlEnabled: boolean; hasCoinControlBeenOpened: boolean; selectedUtxos: never[]; }' to type 'ClaimFormState' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Linting and formatting:
packages/connect-nostr/src/index.ts#L5
'ws' should be listed in the project's dependencies. Run 'npm i -S ws' to add it
|
Linting and formatting:
packages/connect-nostr/src/index.ts#L13
React Hook "useWebSocketImplementation" cannot be called at the top level. React Hooks must be called in a React function component or a custom React Hook function
|
Linting and formatting:
packages/connect-nostr/src/index.ts#L111
Unexpected console statement
|
Linting and formatting:
packages/connect-nostr/src/index.ts#L175
Unexpected console statement
|
Linting and formatting:
packages/connect-nostr/src/index.ts#L185
Unexpected console statement
|
Linting and formatting:
packages/connect-nostr/src/index.ts#L191
Async method 'dispose' has no 'await' expression
|
Linting and formatting:
packages/connect-nostr/src/test.ts#L1
'.' import is restricted from being used
|
Linting and formatting:
packages/connect-nostr/src/test.ts#L14
Unexpected console statement
|
Linting and formatting:
packages/connect/src/api/nostrGetPublicKey.ts#L41
Expected blank line before this statement
|
Linting and formatting:
packages/suite/src/actions/suite/nostrActions.ts#L2
'@trezor/connect-nostr' should be listed in the project's dependencies. Run 'npm i -S @trezor/connect-nostr' to add it
|
Unit Tests
Process completed with exit code 1.
|
Setup and Cache Dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Other Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build libs for publishing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Releases revision Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Type Checking
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linting and formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linting and formatting:
packages/connect/e2e/tests/device/methods.test.ts#L124
Unexpected console statement
|
Linting and formatting:
packages/connect/e2e/tests/device/methods.test.ts#L125
Unexpected console statement
|
Linting and formatting:
packages/connect/src/api/nostrSignEvent.ts#L15
Unexpected console statement
|
Linting and formatting:
packages/connect/src/core/method.ts#L15
Unexpected console statement
|
Linting and formatting:
packages/connect/src/types/api/nostrGetPublicKey.ts#L1
There should be at least one empty line between import groups
|
Linting and formatting:
packages/suite/src/actions/suite/initAction.ts#L18
There should be no empty line within import group
|
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|