mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-23 07:37:10 +01:00
fix: add TON of missing dependecies in package.json
This commit is contained in:
committed by
Peter Sanderson
parent
31ec149c43
commit
7027213e3f
3
packages/blockchain-link-types/.depcheckrc.json
Normal file
3
packages/blockchain-link-types/.depcheckrc.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"ignore-patterns": ["libDev", "lib"]
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
import type tls from 'tls';
|
||||
|
||||
import type { BaseCurrencyCode } from '@trezor/blockchain-link-types';
|
||||
|
||||
import { BaseCurrencyCode } from './baseCurrency';
|
||||
import type { Transaction as BlockbookTransaction, VinVout } from './blockbook';
|
||||
import type {
|
||||
AddressAlias,
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
"@mobily/ts-belt": "^3.13.1",
|
||||
"@stellar/stellar-sdk": "^13.3.0",
|
||||
"@trezor/env-utils": "workspace:*",
|
||||
"@trezor/protobuf": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"xrpl": "^4.4.0"
|
||||
},
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../env-utils" },
|
||||
{ "path": "../protobuf" },
|
||||
{ "path": "../utils" },
|
||||
{ "path": "../blockchain-link-types" },
|
||||
{ "path": "../eslint" },
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
{
|
||||
"path": "../env-utils"
|
||||
},
|
||||
{
|
||||
"path": "../protobuf"
|
||||
},
|
||||
{
|
||||
"path": "../utils"
|
||||
},
|
||||
|
||||
4
packages/blockchain-link/.depcheckrc.json
Normal file
4
packages/blockchain-link/.depcheckrc.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": ["@trezor/blockchain-link"]
|
||||
}
|
||||
@@ -63,13 +63,12 @@
|
||||
"@trezor/e2e-utils": "workspace:*",
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/node": "22.13.10",
|
||||
"html-webpack-plugin": "^5.6.3",
|
||||
"tiny-worker": "^2.3.0",
|
||||
"tsx": "^4.20.3",
|
||||
"webpack": "5.100.0",
|
||||
"webpack-cli": "^6.0.1",
|
||||
"webpack-dev-server": "^5.2.2",
|
||||
"worker-loader": "^3.0.8"
|
||||
"webpack": "5.100.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@solana-program/compute-budget": "^0.8.0",
|
||||
@@ -86,7 +85,9 @@
|
||||
"@trezor/utxo-lib": "workspace:*",
|
||||
"@trezor/websocket-client": "workspace:*",
|
||||
"@types/web": "^0.0.197",
|
||||
"crypto-browserify": "3.12.0",
|
||||
"socks-proxy-agent": "8.0.5",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"xrpl": "^4.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
"@floating-ui/react": "^0.27.12",
|
||||
"@suite-common/icons": "workspace:*",
|
||||
"@suite-common/suite-constants": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@testing-library/jest-dom": "^6.6.4",
|
||||
"@trezor/asset-utils": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
import { JSX, ReactNode, useState } from 'react';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
import { Center, Column, Icon, List, Row, Text } from '@trezor/components';
|
||||
import { spacings } from '@trezor/theme';
|
||||
|
||||
import { Card } from './Card/Card';
|
||||
import { Center, Column, Row } from './Flex/Flex';
|
||||
import { Icon } from './Icon/Icon';
|
||||
import { List } from './List/List';
|
||||
import { Button } from './buttons/Button/Button';
|
||||
import { Switch } from './form/Switch/Switch';
|
||||
import { Text } from './typography/Text/Text';
|
||||
|
||||
interface DataAnalyticsProps {
|
||||
onConfirm: (trackingEnabled: boolean) => void;
|
||||
|
||||
@@ -2,7 +2,6 @@ import { ReactNode } from 'react';
|
||||
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { Row } from '@trezor/components';
|
||||
import { spacings } from '@trezor/theme';
|
||||
|
||||
import { SubTabsContext } from './SubTabsContext';
|
||||
@@ -15,6 +14,7 @@ import {
|
||||
withFrameProps,
|
||||
} from '../../utils/frameProps';
|
||||
import { TransientProps } from '../../utils/transientProps';
|
||||
import { Row } from '../Flex/Flex';
|
||||
|
||||
export const allowedSubTabsFrameProps = ['margin'] as const satisfies FramePropsKeys[];
|
||||
type AllowedFrameProps = Pick<FrameProps, (typeof allowedSubTabsFrameProps)[number]>;
|
||||
|
||||
@@ -2,7 +2,6 @@ import { ReactNode, useCallback, useEffect, useRef, useState } from 'react';
|
||||
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { Row, useElevation } from '@trezor/components';
|
||||
import { Elevation, borders, mapElevationToBorder, spacings } from '@trezor/theme';
|
||||
|
||||
import { TabsContext } from './TabsContext';
|
||||
@@ -16,6 +15,7 @@ import {
|
||||
withFrameProps,
|
||||
} from '../../utils/frameProps';
|
||||
import { TransientProps } from '../../utils/transientProps';
|
||||
import { Row } from '../Flex/Flex';
|
||||
|
||||
export const allowedTabsFrameProps = ['margin'] as const satisfies FramePropsKeys[];
|
||||
type AllowedFrameProps = Pick<FrameProps, (typeof allowedTabsFrameProps)[number]>;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, Tooltip } from '@trezor/components';
|
||||
|
||||
import { Tooltip } from '../../Tooltip/Tooltip';
|
||||
import { Button } from '../../buttons/Button/Button';
|
||||
import { ButtonVariant } from '../../buttons/buttonStyleUtils';
|
||||
|
||||
const DEFAULT_VARIANT = 'tertiary';
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
{
|
||||
"path": "../../suite-common/suite-constants"
|
||||
},
|
||||
{
|
||||
"path": "../../suite-common/wallet-config"
|
||||
},
|
||||
{ "path": "../asset-utils" },
|
||||
{ "path": "../device-utils" },
|
||||
{ "path": "../theme" },
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{
|
||||
"ignores": [
|
||||
"typescript",
|
||||
"@babel/core"
|
||||
]
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": ["typescript", "@babel/core"]
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@trezor/eslint": "workspace:^",
|
||||
"@types/chrome": "^0.0.299",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
"html-webpack-plugin": "^5.6.3",
|
||||
"webpack": "5.100.0"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{
|
||||
"ignores": [
|
||||
"postcss-import",
|
||||
"postcss-lightningcss"
|
||||
]
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": ["postcss-import", "postcss-lightningcss"]
|
||||
}
|
||||
|
||||
@@ -44,7 +44,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@types/chrome": "^0.0.299",
|
||||
"@types/node": "22.13.10",
|
||||
"@types/redux-logger": "^3.0.13",
|
||||
"@types/web": "^0.0.197",
|
||||
"babel-plugin-styled-components": "^2.1.4",
|
||||
"concurrently": "^8.2.2",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
{
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": [
|
||||
"es6-promise"
|
||||
"es6-promise",
|
||||
"@babel/preset-typescript",
|
||||
"babel-loader",
|
||||
"rimraf",
|
||||
"webpack-cli",
|
||||
"worker-loader"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -22,11 +22,16 @@
|
||||
"@babel/preset-typescript": "^7.27.1",
|
||||
"@trezor/bundler-security": "workspace:*",
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/w3c-web-usb": "^1.0.10",
|
||||
"@types/web": "^0.0.197",
|
||||
"babel-loader": "^10.0.0",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
"crypto-browserify": "3.12.0",
|
||||
"es6-promise": "^4.2.8",
|
||||
"html-webpack-plugin": "^5.6.3",
|
||||
"rimraf": "^6.0.1",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"terser-webpack-plugin": "^5.3.14",
|
||||
"webpack": "5.100.0",
|
||||
"webpack-cli": "^6.0.1",
|
||||
|
||||
@@ -40,7 +40,10 @@
|
||||
"@trezor/node-utils": "workspace:*",
|
||||
"@trezor/trezor-user-env-link": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/react": "^19.0.0",
|
||||
"@types/w3c-web-usb": "^1.0.10",
|
||||
"@types/web": "^0.0.197",
|
||||
"babel-loader": "^10.0.0",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
"crypto-browserify": "3.12.0",
|
||||
|
||||
@@ -56,7 +56,9 @@
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@types/chrome": "^0.0.299",
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/w3c-web-usb": "^1.0.10",
|
||||
"@types/web": "^0.0.197",
|
||||
"babel-loader": "^10.0.0",
|
||||
"html-webpack-plugin": "^5.6.3",
|
||||
"rimraf": "^6.0.1",
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
"@babel/preset-typescript": "^7.27.1",
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@types/chrome": "^0.0.299",
|
||||
"@types/w3c-web-usb": "^1.0.10",
|
||||
"babel-loader": "^10.0.0",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
"rimraf": "^6.0.1",
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"type-check": "yarn g:tsc --build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@octokit/rest": "^21.1.1",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"dotenv": "^16.4.7",
|
||||
"express": "^5.1.0",
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
"storybook-build": "storybook build -c .storybook -o .build-storybook"
|
||||
},
|
||||
"dependencies": {
|
||||
"@suite-common/suite-constants": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/validators": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-utils": "workspace:*",
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
},
|
||||
"include": [".", "**/*.json"],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../suite-common/suite-constants"
|
||||
},
|
||||
{
|
||||
"path": "../../suite-common/suite-types"
|
||||
},
|
||||
{
|
||||
"path": "../../suite-common/validators"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"ignores": [
|
||||
"raw-loader"
|
||||
]
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": ["raw-loader", "babel-loader", "babel-plugin-styled-components", "worker-loader"]
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/suite-utils": "workspace:*",
|
||||
"@trezor/env-utils": "workspace:*",
|
||||
"@trezor/suite": "workspace:*",
|
||||
"semver": "^7.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"path": "../../suite-common/suite-utils"
|
||||
},
|
||||
{ "path": "../env-utils" },
|
||||
{ "path": "../suite" },
|
||||
{ "path": "../eslint" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": [
|
||||
"node-loader"
|
||||
"node-loader",
|
||||
"@playwright/browser-chromium",
|
||||
"@playwright/browser-firefox",
|
||||
"@playwright/browser-webkit"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -63,9 +63,14 @@
|
||||
"@playwright/browser-webkit": "^1.55.0",
|
||||
"@playwright/test": "^1.55.0",
|
||||
"@sentry/webpack-plugin": "^2.22.7",
|
||||
"@suite-common/feedback": "workspace:*",
|
||||
"@suite-common/trading": "workspace:*",
|
||||
"@suite-common/wallet-utils": "workspace:*",
|
||||
"@trezor/blockchain-link-types": "workspace:^",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
"@trezor/e2e-utils": "workspace:*",
|
||||
"@trezor/protobuf": "workspace:*",
|
||||
"@trezor/suite-analytics": "workspace:*",
|
||||
"@trezor/trezor-user-env-link": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@types/electron-localshortcut": "^3.1.3",
|
||||
|
||||
@@ -40,9 +40,16 @@
|
||||
{ "path": "../transport-bridge" },
|
||||
{ "path": "../urls" },
|
||||
{ "path": "../utils" },
|
||||
{ "path": "../../suite-common/feedback" },
|
||||
{ "path": "../../suite-common/trading" },
|
||||
{
|
||||
"path": "../../suite-common/wallet-utils"
|
||||
},
|
||||
{ "path": "../blockchain-link-types" },
|
||||
{ "path": "../device-utils" },
|
||||
{ "path": "../e2e-utils" },
|
||||
{ "path": "../protobuf" },
|
||||
{ "path": "../suite-analytics" },
|
||||
{ "path": "../trezor-user-env-link" },
|
||||
{ "path": "../type-utils" }
|
||||
]
|
||||
|
||||
4
packages/suite-desktop-ui/.depcheckrc.json
Normal file
4
packages/suite-desktop-ui/.depcheckrc.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": ["src"]
|
||||
}
|
||||
@@ -21,6 +21,7 @@
|
||||
"@trezor/ipc-proxy": "workspace:*",
|
||||
"@trezor/suite-analytics": "workspace:*",
|
||||
"@trezor/suite-desktop-api": "workspace:*",
|
||||
"@trezor/suite-local-first-storage": "workspace:*",
|
||||
"@trezor/theme": "workspace:*",
|
||||
"@trezor/urls": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
{ "path": "../ipc-proxy" },
|
||||
{ "path": "../suite-analytics" },
|
||||
{ "path": "../suite-desktop-api" },
|
||||
{
|
||||
"path": "../suite-local-first-storage"
|
||||
},
|
||||
{ "path": "../theme" },
|
||||
{ "path": "../urls" },
|
||||
{ "path": "../utils" }
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"ignores": [
|
||||
"openpgp"
|
||||
]
|
||||
"ignore-patterns": ["libDev", "lib", "dist", "build"],
|
||||
"ignores": ["openpgp", "usb", "blake-hash"]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"ignores": [
|
||||
"tsx"
|
||||
]
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": ["tsx", "src", "rimraf"]
|
||||
}
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
"devDependencies": {
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@trezor/suite-local-first-storage": "workspace:*",
|
||||
"@types/react": "^19.0.0",
|
||||
"@types/react-dom": "^19.0.0",
|
||||
"rimraf": "^6.0.1",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"path": "../../suite-common/suite-types"
|
||||
},
|
||||
{ "path": "../connect" },
|
||||
{ "path": "../eslint" }
|
||||
{ "path": "../eslint" },
|
||||
{ "path": "../suite-local-first-storage" }
|
||||
]
|
||||
}
|
||||
|
||||
4
packages/suite/.depcheckrc.json
Normal file
4
packages/suite/.depcheckrc.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": ["invity-api", "src"]
|
||||
}
|
||||
@@ -40,12 +40,14 @@
|
||||
"@suite-common/formatters": "workspace:*",
|
||||
"@suite-common/geolocation": "workspace:*",
|
||||
"@suite-common/intl-types": "workspace:*",
|
||||
"@suite-common/local-first-storage": "workspace:*",
|
||||
"@suite-common/logger": "workspace:*",
|
||||
"@suite-common/message-system": "workspace:*",
|
||||
"@suite-common/metadata-types": "workspace:*",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/sentry": "workspace:*",
|
||||
"@suite-common/staking": "workspace:*",
|
||||
"@suite-common/staking-solana": "workspace:*",
|
||||
"@suite-common/suite-config": "workspace:*",
|
||||
"@suite-common/suite-constants": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
|
||||
@@ -45,6 +45,9 @@
|
||||
{
|
||||
"path": "../../suite-common/intl-types"
|
||||
},
|
||||
{
|
||||
"path": "../../suite-common/local-first-storage"
|
||||
},
|
||||
{ "path": "../../suite-common/logger" },
|
||||
{
|
||||
"path": "../../suite-common/message-system"
|
||||
@@ -57,6 +60,9 @@
|
||||
},
|
||||
{ "path": "../../suite-common/sentry" },
|
||||
{ "path": "../../suite-common/staking" },
|
||||
{
|
||||
"path": "../../suite-common/staking-solana"
|
||||
},
|
||||
{
|
||||
"path": "../../suite-common/suite-config"
|
||||
},
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
"@trezor/websocket-client": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/node": "22.13.10",
|
||||
"html-webpack-plugin": "^5.6.3",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
"@babel/preset-env": "^7.28.0",
|
||||
"@babel/preset-typescript": "^7.27.1",
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@types/node": "22.13.10",
|
||||
"@types/w3c-web-usb": "^1.0.10",
|
||||
"jest": "29.7.0",
|
||||
"tsx": "^4.20.3"
|
||||
|
||||
@@ -54,6 +54,9 @@
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "29.5.12",
|
||||
"@types/node": "22.13.10",
|
||||
"@types/web": "^0.0.197",
|
||||
"tsx": "^4.20.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"dependencies": {
|
||||
"@mobily/ts-belt": "^3.13.1",
|
||||
"chalk": "^4.1.2",
|
||||
"cross-fetch": "^4.0.0",
|
||||
"fs-extra": "^11.3.1",
|
||||
"minimatch": "^10.0.3",
|
||||
"prettier": "^3.6.2",
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@trezor/analytics": "workspace:*",
|
||||
"@trezor/blockchain-link-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
"@trezor/env-utils": "workspace:*",
|
||||
"react": "19.0.0"
|
||||
}
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../../packages/analytics" },
|
||||
{
|
||||
"path": "../../packages/blockchain-link-types"
|
||||
},
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/device-utils" },
|
||||
{ "path": "../../packages/env-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
"dependencies": {
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@trezor/connect": "workspace:*"
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/test-utils": "workspace:*",
|
||||
"@suite-common/wallet-core": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { BluetoothDeviceCommon } from '@suite-common/bluetooth/src/types';
|
||||
import { BluetoothDeviceCommon } from './types';
|
||||
|
||||
// MacOS && iOS does not provide a stable device ID for Bluetooth devices. Therefore, we need to
|
||||
// remap known devices based on their name. If there are multiple devices with the same name,
|
||||
// we keep only the most recently updated one.
|
||||
|
||||
export const filterOutOldDuplicatesByName = <T extends BluetoothDeviceCommon>(devices: T[]) =>
|
||||
devices.filter(device => {
|
||||
const duplicates = devices.filter(d => d.name === device.name);
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../../packages/connect" }
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../test-utils" },
|
||||
{ "path": "../wallet-core" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/device-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/firmware": "workspace:*",
|
||||
"@suite-common/message-system": "workspace:*",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../firmware" },
|
||||
{ "path": "../message-system" },
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-types" },
|
||||
|
||||
@@ -13,7 +13,10 @@
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/analytics": "workspace:*",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/toast-notifications": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-core": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/utils": "workspace:*"
|
||||
},
|
||||
|
||||
@@ -4,7 +4,10 @@
|
||||
"references": [
|
||||
{ "path": "../analytics" },
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../toast-notifications" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-core" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/utils" }
|
||||
]
|
||||
|
||||
@@ -14,7 +14,11 @@
|
||||
"dependencies": {
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/toast-notifications": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
"@trezor/env-utils": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suite-common/test-utils": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
"references": [
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../toast-notifications" },
|
||||
{ "path": "../../packages/device-utils" },
|
||||
{ "path": "../../packages/env-utils" }
|
||||
{ "path": "../../packages/env-utils" },
|
||||
{ "path": "../test-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"dependencies": {
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@trezor/blockchain-link-types": "workspace:*",
|
||||
"@trezor/blockchain-link-utils": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
"references": [
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-types" },
|
||||
{
|
||||
"path": "../../packages/blockchain-link-types"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/blockchain-link-utils"
|
||||
},
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
"dependencies": {
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-utils": "workspace:*",
|
||||
"@suite-common/wallet-core": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-utils" },
|
||||
{ "path": "../wallet-core" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/device-utils" },
|
||||
{ "path": "../../packages/utils" },
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/suite-utils": "workspace:*",
|
||||
"@suite-common/thp": "workspace:*",
|
||||
"@suite-common/wallet-core": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
import { useCallback, useMemo } from 'react';
|
||||
import { useDispatch, useSelector } from 'react-redux';
|
||||
|
||||
import {
|
||||
FirmwareUpdateProps,
|
||||
firmwareActions,
|
||||
firmwareUpdate as firmwareUpdateThunk,
|
||||
selectFirmware,
|
||||
} from '@suite-common/firmware';
|
||||
import { ButtonRequest, FirmwareStatus, TrezorDevice } from '@suite-common/suite-types';
|
||||
import { selectIsThpInProgress } from '@suite-common/thp';
|
||||
import { selectSelectedDevice } from '@suite-common/wallet-core';
|
||||
@@ -18,6 +12,10 @@ import {
|
||||
isBitcoinOnlyDevice,
|
||||
} from '@trezor/device-utils';
|
||||
|
||||
import { firmwareActions } from '../firmwareActions';
|
||||
import { selectFirmware } from '../firmwareReducer';
|
||||
import { FirmwareUpdateProps, firmwareUpdate as firmwareUpdateThunk } from '../firmwareThunks';
|
||||
|
||||
/*
|
||||
There are three firmware update flows, depending on current firmware version:
|
||||
- manual: devices with firmware version < 1.10.0 | 2.6.0 must be manually disconnected and reconnected in bootloader mode
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
"references": [
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../suite-utils" },
|
||||
{ "path": "../thp" },
|
||||
{ "path": "../wallet-core" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/device-utils" },
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@suite-common/wallet-utils": "workspace:*",
|
||||
"@trezor/blockchain-link": "workspace:*",
|
||||
"@trezor/blockchain-link-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"date-fns": "^4.1.0",
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
{
|
||||
"path": "../../packages/blockchain-link"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/blockchain-link-types"
|
||||
},
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/utils" }
|
||||
]
|
||||
|
||||
@@ -14,9 +14,15 @@
|
||||
"@evolu/common": "^6.0.1-preview.19",
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/metadata-types": "workspace:*",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/test-utils": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-core": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@suite-common/wallet-utils": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@trezor/utils": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,9 +6,15 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../metadata-types" },
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../test-utils" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-core" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../wallet-utils" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/type-utils" },
|
||||
{ "path": "../../packages/utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,13 +16,17 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/analytics": "workspace:*",
|
||||
"@suite-common/geolocation": "workspace:*",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/suite-utils": "workspace:*",
|
||||
"@suite-common/validators": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
"@trezor/env-utils": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"@types/semver": "^7.7.0",
|
||||
"fs-extra": "^11.3.1",
|
||||
@@ -35,6 +39,7 @@
|
||||
"devDependencies": {
|
||||
"@suite-common/test-utils": "workspace:*",
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@trezor/node-utils": "workspace:*",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"jws": "^4.0.0",
|
||||
"tsx": "^4.20.3"
|
||||
|
||||
@@ -3,15 +3,20 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"include": ["schema/**/*.json"],
|
||||
"references": [
|
||||
{ "path": "../analytics" },
|
||||
{ "path": "../geolocation" },
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../suite-utils" },
|
||||
{ "path": "../validators" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/device-utils" },
|
||||
{ "path": "../../packages/env-utils" },
|
||||
{ "path": "../../packages/type-utils" },
|
||||
{ "path": "../../packages/utils" },
|
||||
{ "path": "../test-utils" },
|
||||
{ "path": "../../packages/eslint" }
|
||||
{ "path": "../../packages/eslint" },
|
||||
{ "path": "../../packages/node-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/metadata-types": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"lodash": "^4.17.21",
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"references": [
|
||||
{ "path": "../metadata-types" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../../packages/connect" }
|
||||
]
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"@solana-program/system": "^0.7.0",
|
||||
"@solana/kit": "^2.3.0",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-constants": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@suite-common/wallet-utils": "workspace:*",
|
||||
"@trezor/blockchain-link": "workspace:*",
|
||||
"@trezor/blockchain-link-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
|
||||
@@ -4,13 +4,6 @@ import {
|
||||
compileTransaction,
|
||||
} from '@solana/kit';
|
||||
|
||||
import {
|
||||
SolanaTx,
|
||||
claim,
|
||||
createTransactionShimCommon,
|
||||
stake,
|
||||
unstake,
|
||||
} from '@suite-common/staking-solana';
|
||||
import {
|
||||
SOL_COMPUTE_UNIT_LIMIT,
|
||||
SOL_COMPUTE_UNIT_PRICE,
|
||||
@@ -25,6 +18,9 @@ import {
|
||||
import { networkAmountToSmallestUnit } from '@suite-common/wallet-utils';
|
||||
import { Fee } from '@trezor/blockchain-link-types/src/blockbook';
|
||||
|
||||
import { SolanaTx } from '../types';
|
||||
import { claim, createTransactionShimCommon, stake, unstake } from './transactionUtils';
|
||||
|
||||
export const transformTx = (
|
||||
tx: CompilableTransactionMessage & TransactionMessageWithBlockhashLifetime,
|
||||
path: string | number[],
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-constants" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../wallet-utils" },
|
||||
{
|
||||
"path": "../../packages/blockchain-link"
|
||||
},
|
||||
|
||||
@@ -13,8 +13,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@everstake/wallet-sdk-ethereum": "1.0.3",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-constants": "workspace:*",
|
||||
"@suite-common/wallet-core": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@suite-common/wallet-utils": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"web3-utils": "^4.3.2"
|
||||
}
|
||||
|
||||
@@ -2,8 +2,13 @@
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-constants" },
|
||||
{ "path": "../wallet-core" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../wallet-utils" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/type-utils" },
|
||||
{ "path": "../../packages/utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@trezor/connect": "workspace:*"
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../../packages/connect" }
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/device-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/metadata-types": "workspace:*",
|
||||
"@suite-common/suite-config": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/protocol": "workspace:*",
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"references": [
|
||||
{ "path": "../metadata-types" },
|
||||
{ "path": "../suite-config" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/protocol" },
|
||||
|
||||
@@ -12,14 +12,17 @@
|
||||
"test-unit:watch": "yarn g:jest -o --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-config": "workspace:*",
|
||||
"@suite-common/suite-constants": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/test-utils": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/env-utils": "workspace:*",
|
||||
"@trezor/protocol": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@trezor/urls": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"date-fns": "^4.1.0",
|
||||
|
||||
@@ -2,14 +2,17 @@
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-config" },
|
||||
{ "path": "../suite-constants" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../test-utils" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/env-utils" },
|
||||
{ "path": "../../packages/protocol" },
|
||||
{ "path": "../../packages/type-utils" },
|
||||
{ "path": "../../packages/urls" },
|
||||
{ "path": "../../packages/utils" },
|
||||
{ "path": "../../packages/device-utils" }
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"core-js": "^3.45.1",
|
||||
"fake-indexeddb": "^6.2.2",
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/device-utils" },
|
||||
{ "path": "../../packages/utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -13,7 +13,13 @@
|
||||
"dependencies": {
|
||||
"@mobily/ts-belt": "^3.13.1",
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/firmware": "workspace:*",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/suite-utils": "workspace:*",
|
||||
"@suite-common/test-utils": "workspace:*",
|
||||
"@suite-common/toast-notifications": "workspace:*",
|
||||
"@suite-common/wallet-core": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/protocol": "workspace:*"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../firmware" },
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../suite-utils" },
|
||||
{ "path": "../test-utils" },
|
||||
{ "path": "../toast-notifications" },
|
||||
{ "path": "../wallet-core" },
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/protocol" }
|
||||
]
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/test-utils": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@trezor/connect": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../test-utils" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../../packages/connect" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"@mobily/ts-belt": "^3.13.1",
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-utils": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@suite-common/wallet-utils": "workspace:*",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-utils" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../wallet-utils" },
|
||||
|
||||
4
suite-common/trading/.depcheckrc.json
Normal file
4
suite-common/trading/.depcheckrc.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"ignore-patterns": ["libDev", "lib"],
|
||||
"ignores": ["invity-api"]
|
||||
}
|
||||
@@ -13,15 +13,21 @@
|
||||
"dependencies": {
|
||||
"@reduxjs/toolkit": "2.8.2",
|
||||
"@suite-common/geolocation": "workspace:*",
|
||||
"@suite-common/intl-types": "workspace:*",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/toast-notifications": "workspace:*",
|
||||
"@suite-common/wallet-config": "workspace:*",
|
||||
"@suite-common/wallet-constants": "workspace:*",
|
||||
"@suite-common/wallet-core": "workspace:*",
|
||||
"@suite-common/wallet-types": "workspace:*",
|
||||
"@suite-common/wallet-utils": "workspace:*",
|
||||
"@trezor/address-validator": "workspace:*",
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/connect-plugin-ethereum": "workspace:*",
|
||||
"@trezor/env-utils": "workspace:*",
|
||||
"@trezor/react-utils": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"react": "19.0.0",
|
||||
"react-redux": "9.2.0",
|
||||
|
||||
@@ -27,15 +27,6 @@ import type {
|
||||
SellVoucherTradeRequest,
|
||||
} from 'invity-api';
|
||||
|
||||
import type {
|
||||
InvityServerEnvironment,
|
||||
InvityServers,
|
||||
TradingOTC,
|
||||
TradingPaymentMethodType,
|
||||
TradingTradeType,
|
||||
TradingType,
|
||||
TradingWatchTradeResponsePropsMap,
|
||||
} from '@suite-common/trading';
|
||||
import { getSuiteVersion, isDesktop, isNative } from '@trezor/env-utils';
|
||||
|
||||
type BodyType =
|
||||
|
||||
@@ -8,17 +8,6 @@ import {
|
||||
SellFiatTrade,
|
||||
} from 'invity-api';
|
||||
|
||||
import {
|
||||
TradingPaymentMethodProps,
|
||||
TradingRootState,
|
||||
TradingRootStateWithDeviceAndAccounts,
|
||||
selectTradingBuyLoadingTimestampAndStatus,
|
||||
selectTradingExchangeBuyCryptoIds,
|
||||
selectTradingExchangeLoadingTimestampAndStatus,
|
||||
selectTradingSellLoadingTimestampAndStatus,
|
||||
selectTradingSellQuotes,
|
||||
selectValidTradingSellQuotes,
|
||||
} from '@suite-common/trading';
|
||||
import { StaticSessionId } from '@trezor/connect';
|
||||
|
||||
import coins from '../../__fixtures__/coins.json';
|
||||
|
||||
@@ -3,10 +3,15 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../geolocation" },
|
||||
{ "path": "../intl-types" },
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../toast-notifications" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../wallet-constants" },
|
||||
{ "path": "../wallet-core" },
|
||||
{ "path": "../wallet-types" },
|
||||
{ "path": "../wallet-utils" },
|
||||
{
|
||||
"path": "../../packages/address-validator"
|
||||
},
|
||||
@@ -16,6 +21,7 @@
|
||||
},
|
||||
{ "path": "../../packages/env-utils" },
|
||||
{ "path": "../../packages/react-utils" },
|
||||
{ "path": "../../packages/type-utils" },
|
||||
{ "path": "../../packages/utils" },
|
||||
{ "path": "../test-utils" }
|
||||
],
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"dependencies": {
|
||||
"@blockaid/client": "^0.56.0",
|
||||
"@suite-common/connect-popup": "workspace:^",
|
||||
"@suite-common/wallet-config": "workspace:^",
|
||||
"@trezor/connect": "workspace:^",
|
||||
"react": "18.2.0"
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../connect-popup" },
|
||||
{ "path": "../wallet-config" },
|
||||
{ "path": "../../packages/connect" }
|
||||
],
|
||||
"include": [".", "**/*.json"]
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
"@suite-common/bluetooth": "workspace:*",
|
||||
"@suite-common/device-authenticity": "workspace:*",
|
||||
"@suite-common/fiat-services": "workspace:*",
|
||||
"@suite-common/message-system": "workspace:*",
|
||||
"@suite-common/redux-utils": "workspace:*",
|
||||
"@suite-common/suite-constants": "workspace:*",
|
||||
"@suite-common/suite-types": "workspace:*",
|
||||
"@suite-common/suite-utils": "workspace:*",
|
||||
"@suite-common/test-utils": "workspace:*",
|
||||
@@ -33,6 +35,7 @@
|
||||
"@trezor/connect": "workspace:*",
|
||||
"@trezor/device-utils": "workspace:*",
|
||||
"@trezor/env-utils": "workspace:*",
|
||||
"@trezor/protobuf": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"date-fns": "^4.1.0",
|
||||
|
||||
@@ -5,7 +5,6 @@ import { ActionsFromAsyncThunk, createThunk } from '@suite-common/redux-utils';
|
||||
import { UINT256_MAX } from '@suite-common/suite-constants';
|
||||
import { notificationsActions } from '@suite-common/toast-notifications';
|
||||
import { NetworkSymbol, getNetwork } from '@suite-common/wallet-config';
|
||||
import { selectIsMevProtectionEnabled } from '@suite-common/wallet-core';
|
||||
import {
|
||||
Account,
|
||||
AccountKey,
|
||||
@@ -83,6 +82,7 @@ import { selectSelectedDevice } from '../device/deviceSelectors';
|
||||
import {
|
||||
selectAreSatsAmountUnit,
|
||||
selectBitcoinAmountUnit,
|
||||
selectIsMevProtectionEnabled,
|
||||
selectIsMevProtectionFeatureEnabled,
|
||||
} from '../settings/walletSettingsReducer';
|
||||
import {
|
||||
|
||||
@@ -5,7 +5,9 @@
|
||||
{ "path": "../bluetooth" },
|
||||
{ "path": "../device-authenticity" },
|
||||
{ "path": "../fiat-services" },
|
||||
{ "path": "../message-system" },
|
||||
{ "path": "../redux-utils" },
|
||||
{ "path": "../suite-constants" },
|
||||
{ "path": "../suite-types" },
|
||||
{ "path": "../suite-utils" },
|
||||
{ "path": "../test-utils" },
|
||||
@@ -25,6 +27,7 @@
|
||||
{ "path": "../../packages/connect" },
|
||||
{ "path": "../../packages/device-utils" },
|
||||
{ "path": "../../packages/env-utils" },
|
||||
{ "path": "../../packages/protobuf" },
|
||||
{ "path": "../../packages/type-utils" },
|
||||
{ "path": "../../packages/utils" }
|
||||
]
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user