refactor: use models #12078
code-checks.yml
on: push
lint-prettier
47s
lint-eslint
57s
lint-filename
44s
lint-commit
21s
lint-deps
44s
lint-message-schema
1m 8s
lint-unused-exports
39s
lint-firefox-build
52s
locked-versions
55s
audit
40s
typecheck
1m 1s
test-unit
1m 26s
test-build
54s
Annotations
10 errors and 23 warnings
lint-firefox-build
Process completed with exit code 1.
|
test-build
Process completed with exit code 1.
|
lint-eslint:
src/app/pages/rpc-send-transfer/rpc-send-transfer-confirmation.tsx#L123
'Stack' is not defined
|
lint-eslint
Process completed with exit code 1.
|
typecheck:
node_modules/.pnpm/@leather-wallet+models@0.0.2_@swc+core@1.4.8_postcss@8.4.38_ts-node@10.9.2_typescript@5.4.4/node_modules/@leather-wallet/models/src/blockchain.model.ts#L1
Module '"@leather-wallet/types"' has no exported member 'LiteralUnion'.
|
typecheck:
src/app/common/hooks/use-alex-sdk.ts#L10
Argument of type 'string' is not assignable to parameter of type '"BTC" | "STX"'.
|
typecheck:
src/app/common/hooks/use-alex-sdk.ts#L26
Argument of type 'string' is not assignable to parameter of type '"BTC" | "STX"'.
|
typecheck:
src/app/pages/rpc-send-transfer/rpc-send-transfer-confirmation.tsx#L123
Cannot find name 'Stack'.
|
typecheck:
src/app/pages/rpc-send-transfer/rpc-send-transfer-confirmation.tsx#L134
Cannot find name 'Stack'.
|
typecheck
Process completed with exit code 1.
|
lint-commit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint-unused-exports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
audit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-deps
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-filename
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-prettier
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-firefox-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-eslint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-eslint:
src/app/common/authentication/use-legacy-auth-bitcoin-addresses.ts#L30
This assertion is unnecessary since the receiver accepts the original type of the expression
|
lint-eslint:
src/app/common/authentication/use-legacy-auth-bitcoin-addresses.ts#L31
This assertion is unnecessary since the receiver accepts the original type of the expression
|
lint-eslint:
src/app/common/authentication/use-legacy-auth-bitcoin-addresses.ts#L34
This assertion is unnecessary since the receiver accepts the original type of the expression
|
lint-eslint:
src/app/common/authentication/use-legacy-auth-bitcoin-addresses.ts#L35
This assertion is unnecessary since the receiver accepts the original type of the expression
|
lint-eslint:
src/app/common/hooks/use-copy-to-clipboard.ts#L21
'execCommand' is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/execCommand)
|
lint-eslint:
src/app/common/hooks/use-waiting-message.ts#L9
This assertion is unnecessary since it does not change the type of the expression
|
lint-eslint:
src/app/common/persistence.ts#L31
An array of Promises may be unintentional. Consider handling the promises' fulfillment or rejection with Promise.all or similar, or explicitly marking the expression as ignored with the `void` operator
|
lint-eslint:
src/app/common/signature/requests.ts#L30
This assertion is unnecessary since it does not change the type of the expression
|
lint-eslint:
src/app/common/transactions/stacks/is-sip-10-transfer.ts#L5
This assertion is unnecessary since it does not change the type of the expression
|
lint-eslint:
src/app/components/bitcoin-transaction-item/bitcoin-transaction-item.tsx#L50
'useCurrentAccountNativeSegwitAddressIndexZero' is deprecated. Use signer.address instead
|
locked-versions
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-message-schema
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test-unit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|