Commit Graph

1899 Commits

Author SHA1 Message Date
Tomas Boda
5411810f13 chore: bump @noble/hashes 2026-02-16 16:11:39 +01:00
Tomas Boda
8130950e50 chore: bump @ethereumjs/tx 2026-02-16 16:11:39 +01:00
Tomas Boda
903b780ec8 chore: bump @ethereumjs/common 2026-02-16 16:11:39 +01:00
Martin Varmuza
b2aa45e5d6 chore(connect-web): remove webextension specific webusb code 2026-02-16 12:01:06 +01:00
Tomas Martykan
3ec0891369 feat(connect): mac field in all address responses 2026-02-15 18:42:58 +01:00
karliatto
5e27e25ee7 feat(connect): update connect settings to new consolidated api 2026-02-13 17:02:13 +01:00
karliatto
ef150c971e feat(connect): consolidate update settings
consolidates two separate APIs — setProxy and setTransports — into a single unified updateConnectSettings method. This is a clean API simplification across the entire Connect surface (Node, browser, mobile, webextension, desktop).
2026-02-13 17:02:13 +01:00
Szymon Lesisz
9dae391ed5 fix(connect): FW install do not wait after THP pairing error 2026-02-12 14:36:29 +01:00
Szymon Lesisz
01f77c2622 fix(connect): better error handling in THP pairing 2026-02-12 14:36:29 +01:00
karliatto
551b908702 chore(connect): rename to firmwareChannel
Changing the name from `firmwareUpdateSource` to `firmwareChannel` since
the way we are using it is like chanels for the firmware.

Also it is a preparation to add new firmware channel for Early Access
Program (EAP) in Suite.
2026-02-12 10:16:29 +01:00
Martin Varmuza
09187966be refactor(connect): remove connectSrc setting
Remove connectSrc configuration option from connect-web and connect-webextension:
- Remove connectSrc from ConnectSettingsPublic interface
- Move connectSrc to ConnectSettingsMobile only (still needed for mobile deeplink)
- Remove connectSrc parsing and validation in parseConnectSettings
- Remove global __TREZOR_CONNECT_SRC window variable handling
- Update connect-explorer to remove connectSrc initialization logic
- Simplify mobile-expo example (always use trezorsuite://connect)
- Remove connectSrc from middleware and action handlers

The new architecture uses Suite Web popup directly without configurable connect source.
2026-02-10 17:28:48 +01:00
Tomas Martykan
e2404a99b6 chore(connect-data): move firmware public key from env-utils 2026-02-10 16:47:48 +01:00
Tomas Martykan
c4ffa1bfa6 chore(connect): remove systemInfo 2026-02-10 16:47:48 +01:00
Marek Polak
6e57393c44 refactor(connect): move unsupported methods to dynamic 2026-02-10 14:15:20 +01:00
Marek Polak
cbc939b475 chore(connect): remove emitter from popup 2026-02-10 14:15:20 +01:00
Marek Polak
9c5753f88d chore(connect): unify both dynamic implementations 2026-02-10 14:15:20 +01:00
Marek Polak
ae1ac9a0a8 refactor(connect): unify web and webextension settings 2026-02-10 14:15:20 +01:00
Marek Polak
e33578fe8f chore(connect): remove extend webextension lifetime 2026-02-10 14:15:20 +01:00
Marek Polak
0961011d9d refactor(connect): unify connect params validation 2026-02-10 14:15:20 +01:00
Marek Polak
f36327ff4d refactor(connect): improve extra settings in dynamic 2026-02-10 14:15:20 +01:00
Marek Polak
905a1e97e7 refactor(connect): improved connect impl params 2026-02-10 14:15:20 +01:00
Marek Polak
1c52d7d063 refactor(connect): simplify dynamic generic params 2026-02-10 14:15:20 +01:00
Marek Polak
8347558471 refactor(connect): improved handshake type 2026-02-10 14:15:20 +01:00
Marek Polak
99f1345cad fix(connect): include version into parseSettings 2026-02-10 14:15:20 +01:00
Tomas Martykan
81636218f6 feat(connect-web): remove webusb helpers 2026-02-09 09:28:51 +01:00
Tomas Martykan
21d4af8d74 chore(connect): remove legacy device state 2026-02-06 13:33:21 +01:00
Szymon Lesisz
f06e0253fe fix(connect): thpRemoveCredentials without device 2026-02-06 11:52:29 +01:00
Tomas Martykan
92d9a82053 feat(connect): remove manifest method in favor of init 2026-02-06 10:07:34 +01:00
Marek Polak
915a3e34a8 refactor(connect): remove ProxyEventEmitter 2026-02-04 12:20:40 +01:00
Marek Polak
e0c92c00ab refactor(connect): unify TrezorConnectDynamic instances 2026-02-04 12:20:40 +01:00
Szymon Lesisz
7f1b910df6 fix(connect): transport error propagation 2026-02-03 14:39:32 +01:00
Jiri Zbytovsky
b50ccbddf3 fix(suite): move FW install progress check conditions to Connect 2026-02-03 13:28:32 +01:00
Szymon Lesisz
c86502fb29 fix(connect): handle device disconnection in FW update + THP flow 2026-02-03 11:51:31 +01:00
karliatto
ee89758d93 chore(connect): rename IFRAME.CALL to CORE_CALL
We already have removed all the iframe but we still have this core event
with it's name. This changes the name of the event to CORE_CALL and
CoreCallMessage.
2026-02-03 11:31:20 +01:00
karliatto
d355a0bc67 refactor(connect): type connect EventEmitter
Event Emitter in Connect is now typed using TypedEmitter from
@trezor/utils.
2026-02-02 11:44:30 +01:00
karliatto
8f1213acce chore(connect-common): move VERSIONs constants
Moving VERSIONS constants file in connect to connect-common since those
constants are used in connect, connect-web and connect-mobile.

Also had to chcange the script  connect/scripts/bump-version.ts so the
versions are updated properly.
2026-01-30 10:42:42 +01:00
Ondrej Hajek
6fa68b8a91 fix(e2e): Fixed literal model comparison 2026-01-29 15:36:31 +01:00
vytick
98321960e2 chore: bump tsx version 2026-01-27 18:29:02 +01:00
Szymon Lesisz
b14fe518a3 fix(connect): do not handshake currently used device 2026-01-27 15:20:56 +01:00
Szymon Lesisz
45529fd576 chore(transport): add model to DescriptorApiLevel 2026-01-27 15:20:56 +01:00
Szymon Lesisz
53bdac4062 fix(connect): allow FW update when connected over USB and Bluetooth simultaneously 2026-01-27 15:20:56 +01:00
karliatto
c0197ea072 chore(connect-common): move WEBEXTENSION constant to connect-common 2026-01-27 14:42:21 +01:00
karliatto
111b95a97a chore(connect-core): connect errors to connect-common 2026-01-27 13:37:53 +01:00
Tomas Martykan
ab01b2d889 npm-prerelease: set all @trezor/connect dependencies to 10.0.0-alpha.1 2026-01-27 12:44:17 +01:00
akildemir
b434545142 fix(connect): monero - add missing tx parts to final response 2026-01-27 12:29:57 +01:00
Peter Sanderson
6cb51857f5 docs: add comment to explain UnavailableCapability 2026-01-27 09:56:39 +01:00
Tomas Martykan
b25906f1f4 feat(connect-data): separate new package from connect-common 2026-01-26 18:47:03 +01:00
Matej Kriz
86be8ca6bf feat(connect): fix and update supported FW versions for evolu
- T2T1 technically supports evolu methods, but we can't allow it because we can't implement spam protection without secure element.
- T3W1 has to be defined, not all FWs supports current evolu.
2026-01-26 18:11:44 +01:00
tomasklim
94d04ac540 feat(connect): add support for discovery of Tron in Suite 2026-01-26 15:24:48 +01:00
karliatto
7559f035c3 chore(npm): remove prepublish.js
We are already running replace-imports.sh from build:libs that is run
before publishing to NPM so callingit when "prepublish" is a redundancy,
besides prepublish.js was only building for cjs and now we are going to
have cjs and esm.
2026-01-22 15:35:45 +01:00