mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
fix(connect): add @trezor/type-utils to dependencies
This commit is contained in:
committed by
Tomáš Martykán
parent
bf0c2cdee2
commit
4dbd53281b
@@ -19,10 +19,10 @@
|
||||
"prepublish": "yarn tsx ../../scripts/prepublish.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@trezor/utxo-lib": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"tsx": "^4.19.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{ "path": "../type-utils" },
|
||||
{ "path": "../utxo-lib" }
|
||||
{ "path": "../utxo-lib" },
|
||||
{ "path": "../type-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
"include": ["./src"],
|
||||
"references": [
|
||||
{
|
||||
"path": "../type-utils"
|
||||
"path": "../utxo-lib"
|
||||
},
|
||||
{
|
||||
"path": "../utxo-lib"
|
||||
"path": "../type-utils"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -34,5 +34,8 @@
|
||||
"cross-fetch": "^4.0.0",
|
||||
"golomb": "1.2.0",
|
||||
"n64": "^0.2.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@trezor/type-utils": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ImmediateId, TimerId } from '@trezor/type-utils';
|
||||
import type { ImmediateId, TimerId } from '@trezor/type-utils';
|
||||
import { TypedEmitter } from '@trezor/utils';
|
||||
|
||||
import { WabiSabiProtocolErrorCode } from '../enums';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TimerId } from '@trezor/type-utils';
|
||||
import type { TimerId } from '@trezor/type-utils';
|
||||
import { TypedEmitter } from '@trezor/utils';
|
||||
|
||||
import * as coordinator from './coordinator';
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
{ "path": "../blockchain-link-utils" },
|
||||
{ "path": "../eslint" },
|
||||
{ "path": "../utils" },
|
||||
{ "path": "../utxo-lib" }
|
||||
{ "path": "../utxo-lib" },
|
||||
{ "path": "../type-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@trezor/node-utils": "workspace:*",
|
||||
"@trezor/trezor-user-env-link": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@types/react": "18.2.55",
|
||||
"babel-loader": "^10.0.0",
|
||||
"copy-webpack-plugin": "^12.0.2",
|
||||
|
||||
@@ -29,7 +29,7 @@ import { parseConnectSettings } from '@trezor/connect-iframe/src/connectSettings
|
||||
import { initLogWriterWithSrcPath } from '@trezor/connect-iframe/src/sharedLoggerUtils';
|
||||
import { reactEventBus } from '@trezor/connect-ui/src/utils/eventBus';
|
||||
import { ErrorViewProps } from '@trezor/connect-ui/src/views/Error';
|
||||
import { TimerId } from '@trezor/type-utils';
|
||||
import type { TimerId } from '@trezor/type-utils';
|
||||
|
||||
import { isPhishingDomain } from './utils/isPhishingDomain';
|
||||
import * as view from './view';
|
||||
|
||||
@@ -9,7 +9,7 @@ import { InfoPanel } from '@trezor/connect-ui/src/components/InfoPanel';
|
||||
import { View } from '@trezor/connect-ui/src/components/View';
|
||||
import { ErrorBoundary } from '@trezor/connect-ui/src/support/ErrorBoundary';
|
||||
import { GlobalStyle } from '@trezor/connect-ui/src/support/GlobalStyle';
|
||||
import { TimerId } from '@trezor/type-utils';
|
||||
import type { TimerId } from '@trezor/type-utils';
|
||||
|
||||
interface ReactWrapperProps {
|
||||
children: React.ReactNode;
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
{ "path": "../utils" },
|
||||
{ "path": "../eslint" },
|
||||
{ "path": "../node-utils" },
|
||||
{ "path": "../trezor-user-env-link" }
|
||||
{ "path": "../trezor-user-env-link" },
|
||||
{ "path": "../type-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
"@playwright/browser-webkit": "^1.51.0",
|
||||
"@playwright/test": "^1.51.0",
|
||||
"@trezor/eslint": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@types/chrome": "^0.0.299",
|
||||
"@types/w3c-web-usb": "^1.0.10",
|
||||
"babel-loader": "^10.0.0",
|
||||
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
AbstractMessageChannel,
|
||||
Message,
|
||||
} from '@trezor/connect-common/src/messageChannel/abstract';
|
||||
import { IntervalId, TimerId } from '@trezor/type-utils';
|
||||
import type { IntervalId, TimerId } from '@trezor/type-utils';
|
||||
import { Deferred, createDeferred, scheduleAction } from '@trezor/utils';
|
||||
|
||||
import { showPopupRequest } from './showPopupRequest';
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
{ "path": "../connect" },
|
||||
{ "path": "../connect-common" },
|
||||
{ "path": "../utils" },
|
||||
{ "path": "../eslint" }
|
||||
{ "path": "../eslint" },
|
||||
{ "path": "../type-utils" }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
},
|
||||
{
|
||||
"path": "../eslint"
|
||||
},
|
||||
{
|
||||
"path": "../type-utils"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
"@trezor/protocol": "workspace:*",
|
||||
"@trezor/schema-utils": "workspace:*",
|
||||
"@trezor/transport": "workspace:*",
|
||||
"@trezor/type-utils": "workspace:*",
|
||||
"@trezor/utils": "workspace:*",
|
||||
"@trezor/utxo-lib": "workspace:*",
|
||||
"blakejs": "^1.2.1",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TimerId } from '@trezor/type-utils';
|
||||
import type { TimerId } from '@trezor/type-utils';
|
||||
|
||||
import { ERRORS } from '../constants';
|
||||
import { Blockchain, BlockchainOptions } from './Blockchain';
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
{ "path": "../protocol" },
|
||||
{ "path": "../schema-utils" },
|
||||
{ "path": "../transport" },
|
||||
{ "path": "../type-utils" },
|
||||
{ "path": "../utils" },
|
||||
{ "path": "../utxo-lib" },
|
||||
{ "path": "../eslint" },
|
||||
|
||||
@@ -36,6 +36,9 @@
|
||||
{
|
||||
"path": "../transport"
|
||||
},
|
||||
{
|
||||
"path": "../type-utils"
|
||||
},
|
||||
{
|
||||
"path": "../utils"
|
||||
},
|
||||
|
||||
@@ -11496,6 +11496,7 @@ __metadata:
|
||||
"@trezor/blockchain-link-types": "workspace:*"
|
||||
"@trezor/blockchain-link-utils": "workspace:*"
|
||||
"@trezor/eslint": "workspace:*"
|
||||
"@trezor/type-utils": "workspace:*"
|
||||
"@trezor/utils": "workspace:*"
|
||||
"@trezor/utxo-lib": "workspace:*"
|
||||
cross-fetch: "npm:^4.0.0"
|
||||
@@ -11763,6 +11764,7 @@ __metadata:
|
||||
"@trezor/node-utils": "workspace:*"
|
||||
"@trezor/transport": "workspace:*"
|
||||
"@trezor/trezor-user-env-link": "workspace:*"
|
||||
"@trezor/type-utils": "workspace:*"
|
||||
"@trezor/urls": "workspace:*"
|
||||
"@trezor/utils": "workspace:*"
|
||||
"@types/react": "npm:18.2.55"
|
||||
@@ -11827,6 +11829,7 @@ __metadata:
|
||||
"@trezor/connect": "workspace:*"
|
||||
"@trezor/connect-common": "workspace:*"
|
||||
"@trezor/eslint": "workspace:*"
|
||||
"@trezor/type-utils": "workspace:*"
|
||||
"@trezor/utils": "workspace:*"
|
||||
"@types/chrome": "npm:^0.0.299"
|
||||
"@types/w3c-web-usb": "npm:^1.0.10"
|
||||
@@ -11899,6 +11902,7 @@ __metadata:
|
||||
"@trezor/schema-utils": "workspace:*"
|
||||
"@trezor/transport": "workspace:*"
|
||||
"@trezor/trezor-user-env-link": "workspace:*"
|
||||
"@trezor/type-utils": "workspace:*"
|
||||
"@trezor/utils": "workspace:*"
|
||||
"@trezor/utxo-lib": "workspace:*"
|
||||
"@types/karma": "npm:^6.3.9"
|
||||
|
||||
Reference in New Issue
Block a user