Commit Graph

392 Commits

Author SHA1 Message Date
Martin Varmuza
b2aa45e5d6 chore(connect-web): remove webextension specific webusb code 2026-02-16 12:01:06 +01:00
Martin Varmuza
de4172e0d5 chore(connect): check bundle size of webextension build 2026-02-15 20:59:23 +01:00
karliatto
5e27e25ee7 feat(connect): update connect settings to new consolidated api 2026-02-13 17:02:13 +01:00
Tomas Martykan
1a853d8526 fix(connect-web): support sldev branches with slashes 2026-02-13 16:58:55 +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
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
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
bd73fae6a3 refactor(connect): improved popup manager params 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
92d9a82053 feat(connect): remove manifest method in favor of init 2026-02-06 10:07:34 +01:00
Marek Polak
549a1a8ea6 chore(connect): remove useless factory calls 2026-02-04 12:20:40 +01:00
Marek Polak
915a3e34a8 refactor(connect): remove ProxyEventEmitter 2026-02-04 12:20:40 +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
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
vytick
98321960e2 chore: bump tsx version 2026-01-27 18:29:02 +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
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
karliatto
a9e189b9a3 build(repository): Connect publishing ESM
- Adding ESM builds for all the packages that are published on 'npm'.
   - Adding libESM to published files in package.json files
   - Relays only on "exports" section on package.json to define the ways to consume the package, so only modern bundlers would be able to use them, that should not be an issue, since projects are used to be on the latest
   - Using the root tsconfig.libESM
   - Using wildcard for @trezor/utils export so we can import any of the functions directly https://nodejs.org/api/packages.html#subpath-patterns
2026-01-20 16:37:46 +01:00
Martin Varmuza
da2390168f chore(connect): remove POPUP.LOADED 2026-01-20 12:04:29 +01:00
Martin Varmuza
f683520d66 chore(connect): privatize fields on PopupManager 2026-01-20 12:04:29 +01:00
Martin Varmuza
747be9ebdc chore(connect): remove POPUP.ERROR 2026-01-20 12:04:29 +01:00
Martin Varmuza
6252edd507 chore(connect): remove POPUP.BOOTSTRAP 2026-01-20 12:04:29 +01:00
Marek Polak
1637b0f87a refactor(connect): PopupManager cleanup 2026-01-19 10:56:33 +01:00
Marek Polak
1f5d7a30a2 chore(connect): remove popup param 2026-01-19 10:56:33 +01:00
Martin Varmuza
4265f5a06c chore: remove iframe remnants 2026-01-15 14:40:56 +01:00
Martin Varmuza
1ce4434f44 chore(connect): remove legacyMode from communication channels 2026-01-15 14:40:56 +01:00
Martin Varmuza
372d11f819 chore: remove connect-iframe 2026-01-14 15:32:01 +01:00
Jiri Zbytovsky
3f73273dba chore: bump webpack-related deps 2026-01-09 13:42:56 +01:00
Martin Varmuza
a902e2d3cb feat(connect): core-in-popup and iframe with popup modes are now removed 2026-01-08 17:47:11 +01:00
Marek Polak
815158241a chore(connect): move web module into main package 2026-01-06 17:09:32 +01:00
Jiri Zbytovsky
3e33cbeee4 chore: bump prettier 2026-01-06 10:07:56 +01:00
karliatto
36f6e9692d chore(npm): start publishing source maps
Until now we were explicitly not including source map files in the NPM
releases. Now we will include them.

https://github.com/trezor/trezor-suite/issues/23779
2026-01-05 11:30:44 +01:00
trezor-ci
9d7d1cea7a npm-release: @trezor/connect 9.7.1 2025-12-22 11:41:49 +01:00
karliatto
b83fecf0a1 npm-release: @trezor/connect 9.7.1-beta.2 2025-12-19 16:05:14 +01:00
trezor-ci
c82f4ce351 npm-release: @trezor/connect 9.7.1-beta.1 2025-12-19 13:03:37 +01:00
Ondrej Hajek
c90bdd00d3 chore(e2e): Update playwright 2025-12-16 20:10:19 +01:00
Martin Varmuza
30547f3dca chore: remove udev rules indirection 2025-12-16 12:45:50 +01:00
trezor-ci
3b5bac19a7 npm-release: @trezor/connect 9.7.0 2025-12-15 16:01:36 +01:00
trezor-ci
9bebf2fa36 npm-release: @trezor/connect 9.7.0-beta.2 2025-12-09 11:51:39 +01:00
Tomas Martykan
582afa87fb Revert "feat(connect-web): enable suite-web instead of old popup"
This reverts commit 8f26205c0a.
2025-12-08 13:48:05 +01:00
Tomas Martykan
bb8588439c fix(connect): turn requestLogin to a normal method 2025-12-08 13:43:33 +01:00
Jiri Zbytovsky
2128d273f3 refactor(connect): new replace-imports.sh script using babel 2025-12-04 11:55:30 +01:00