Commit Graph

409 Commits

Author SHA1 Message Date
Tomas Martykan
3d71f2c20a feat(scripts): handle libESM in updateProjectReferences 2026-01-22 12:37:20 +01:00
Marek Polak
2e1ae32dbf chore(connect): fix dependencies 2026-01-22 10:51:53 +01:00
karliatto
355ca0404a build(scripts): extend bablel plugins for ESM
Add cases where babel plugins were not handling properly adding js
extension for ESM and where some packages imports were not modified at
all because they were imported dynamically.
2026-01-20 16:37:46 +01:00
yanas
dcdb9669fe feat(suite-native): allow usage of custom Electrum backend for BTC 2026-01-19 13:16:48 +01:00
Marek Polak
15edd1741c refactor(connect): remove StateStorage 2026-01-19 10:56:33 +01:00
Jiří Čermák
e8dbc121b0 refactor: create @suite/intl package and update all related imports
- remove re-exports, use direct imports from @suite/intl
- resolve cir. dep. between suite-data and package/suite
- update imports from @suite-common/intl-types to @suite/intl
- update imports from src/support/messages to @suite/intl
- remove @suite-common/intl-types
- move Translation from @trezor/suite to the new package
2026-01-16 17:44:21 +01:00
karliatto
e17ec94c84 feat(scripts): builb local packages 2026-01-16 14:57:18 +01:00
Marek Polak
a4a272ec89 refactor(connect): remove override 2026-01-15 14:09:47 +01:00
Martin Varmuza
372d11f819 chore: remove connect-iframe 2026-01-14 15:32:01 +01:00
Tomas Martykan
57eec2f1a2 feat(connect): tronSignTransaction 2026-01-14 09:39:26 +01:00
Tomas Martykan
f5a2bfb6cb feat(connect): tronGetAddress 2026-01-14 09:39:26 +01:00
Marek Polak
5ff326e491 chore(suite-native): remove deprecated node-libs-browser 2026-01-14 09:14:10 +01:00
brantalikp
cde81b1c79 chore(suite-native): dependencies update 2026-01-09 12:50:23 +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
Martin Varmuza
254ca2fe7d chore(suite-common): break one import cycle 2026-01-08 15:08:03 +01:00
Matej Kriz
217ddc5ce5 chore(suite-native): move getRandomValues polyfill to globalPolyfills for clarity
- It was applied in all environments alreday, but it was hidden in the hook and someone might think it's applied only on __DEV__
2026-01-07 18:53:36 +01:00
Martin Varmuza
16da7214cc feat(connect): remove EOS support 2026-01-07 16:21:51 +01:00
Martin Varmuza
b9e7b55832 feat(connect): remove NEM support 2026-01-07 10:14:15 +01:00
Jiri Zbytovsky
4eb3200ccb chore: bump misc CI-related dependencies 2026-01-06 10:07:56 +01:00
Jiri Zbytovsky
3e33cbeee4 chore: bump prettier 2026-01-06 10:07:56 +01:00
Jan Šetina
1a33adaa78 chore(docs): revise connect-bump-version checklist
Updated checklist items for version bump process.
2026-01-05 14:05:00 +01:00
Petr Knetl
5d094ed504 feat(suite-native): web storybook 2026-01-05 09:34:48 +01:00
Matus Balascak
e4b44ea619 feat(suite): implement evm-rpc worker 2025-12-22 12:43:42 +01:00
Jan Komarek
2b7f205267 chore: update tar and update expo to update tar transitive dependency 2025-12-19 11:31:30 +01:00
karliatto
1448cf568b fix(scripts): replace-imports to handle .d.ts files
The current implementation of replace-impots.sh that was modified
previously to the current stable connect version was not updating
imports in .d.ts files that was causing to have in connect in npm
imports like:

    import { Capability } from '@trezor/protobuf/src/messages';

But the released `@trezor/protobuf` package does not publish `src/` but
only `lib/` so it has to be handle also when publishing.
2025-12-19 10:35:11 +01:00
Martin Varmuza
86b78585f7 chore(address-validator): remove cbor-js dep, use already existing cbor dep 2025-12-17 20:26:13 +01:00
Matej Kriz
a712ef4e12 fix(suite-native): fix rozenite redux devtools and delete redux-devtools-expo-dev-plugin 2025-12-17 17:16:32 +01:00
dependabot[bot]
31d1aa4bd8 chore(deps): bump cross-fetch from 4.0.0 to 4.1.0
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Changelog](https://github.com/lquixada/cross-fetch/blob/v4.x/CHANGELOG.md)
- [Commits](https://github.com/lquixada/cross-fetch/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-17 17:00:14 +01:00
Jiří Čermák
694c8112ad fix: use direct imports to avoid cir. ESM in device and firmware in suite-native 2025-12-17 13:45:34 +01:00
Jiří Čermák
f102ab50f4 fix(suite): move common util to separate file to avoid cir. ESM in onboarding steps 2025-12-17 13:45:34 +01:00
Jiří Čermák
61daf69708 fix(suite): use direct import to avoid cir. ESM in AnalyticsConsentScreen 2025-12-17 13:45:34 +01:00
Jiří Čermák
e9bce3dd4e fix(suite): prevent cir. ESMs in TransactionReviewModal by moving common types and utils to separate files 2025-12-17 13:45:34 +01:00
Jiří Čermák
e315a5d5cb fix(suite): divide metadata actions to thunks and plain actions to prevent circular esm 2025-12-17 13:45:34 +01:00
Jiří Čermák
8c6eca2c13 fix: circular esm between wallet-core and bluetooth, thp packages 2025-12-17 13:45:34 +01:00
Jiří Čermák
671e8aa1f2 fix(wallet-utils): move amounts utils from accountsUtils to amountsUtils to prevent circular esm 2025-12-17 13:45:34 +01:00
Jiří Čermák
a22149caef fix: move asBaseCurrencyAmount to wallet-types to prevent circular esm 2025-12-17 13:45:34 +01:00
Jiří Čermák
1cf4a52d8e refactor: migrate from useTradingInfo to useTradingAssets
- Create a new hooks for handling trading asset options.
    - It's now currectly memoized, greatly simplified and provides set of network symbols found in the trading info data.
    - Also, the types has been greatly improved. There's now `asset.isNativeToken` boolean which easily narrows types.
- However, this change required to migrate all old types related to this hook including those ones in suite-native workspace.
    - Instead of `toCryptoOption` method, there're now `createAssetOption` and `createDefaultAssetOption` method. Also the `useTradingAssets` hook now returns `createAssetOptionFromCryptoId` method.
2025-12-15 15:06:36 +01:00
Jiri Zbytovsky
404e7d7141 chore(scripts): use import.meta.dirname 2025-12-15 12:26:27 +01:00
Jiri Zbytovsky
2377f92efe chore(scripts): turn on eslint 2025-12-15 12:26:27 +01:00
Jiri Zbytovsky
ac5a00426b chore(scripts): convention to import from node:packages 2025-12-15 12:26:27 +01:00
Jiri Zbytovsky
e3c3950120 chore(scripts): ESM 2025-12-15 12:26:27 +01:00
Jirka Bažant
468ade049c chore(suite-common): Resolve circular dependency in trading reducer 2025-12-12 21:18:47 +01:00
Martin Varmuza
aa48ab24b9 chore(components): remove some circular imports 2025-12-12 16:08:21 +01:00
karliatto
f8489c16dd fix(scripts): mistaken variable name 2025-12-12 10:37:35 +01:00
Tomas Martykan
5f08ccdca4 fix(scripts): replace imports cjs parameter 2025-12-09 14:33:29 +01:00
Tomas Martykan
7fc1aa8f2e fix(suite): circular deps in connect popup 2025-12-08 13:43:33 +01:00
Tomas Martykan
403348d8ae fix(connect): module dynamic import in CJS 2025-12-08 12:23:34 +01:00
Matej Kriz
7852e19e56 fix(suite-native): add shims for Set needed for evolu 2025-12-04 14:32:29 +01:00
Martin Varmuza
049ce42159 test(connect): only test one legacy bridge version 2025-12-04 13:37:07 +01:00
Jiri Zbytovsky
2128d273f3 refactor(connect): new replace-imports.sh script using babel 2025-12-04 11:55:30 +01:00