Commit Graph

436 Commits

Author SHA1 Message Date
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
Jirka Bažant
a4d774c66a fix(suite-native): Resolve circular dependency with device ConfirmOnTrezorWrapperProps 2025-12-03 09:15:18 +01:00
Jirka Bažant
8c7834caa6 fix(suite-native): Resolve circular dependency with navigation StackToTabCompositeProps 2025-12-03 09:15:18 +01:00
Jirka Bažant
190b1a67ce fix(suite-native): Resolve circular dependency with react-native-graph types 2025-12-03 09:15:18 +01:00
Jirka Bažant
92559fabdb fix(suite-native): Resolve circular dependency of device and device-manager module 2025-12-01 12:01:55 +01:00
Jirka Bažant
623bfc41be fix(suite-native): Resolve circular dependency of atoms and navigation modules 2025-12-01 11:22:20 +01:00
Jirka Bažant
7d71615001 fix(suite-native): Resolve circular dependency of helpers and toasts modules 2025-12-01 10:50:23 +01:00
Jirka Bažant
03eb68c602 fix(suite-native): Resolve circular include in ScreenHeader <-> ScreenHeaderContent 2025-12-01 10:50:23 +01:00
Jirka Bažant
1b118bf90b chore(suite-common): Resolve circular dependencies in suite-common/trading types 2025-12-01 10:49:33 +01:00
Jirka Bažant
2d3e854353 chore(suite-common): Resolve circular dependencies in suite-common/trading thunks 2025-12-01 10:49:33 +01:00
Martin Vere Cihlar
887e06b58d refactor(e2e-suite): move from suite-desctop-core to suite 2025-11-30 09:48:39 -04:00
brantalikp
35e09931ac feat(suite-native): backup risks animation refactor 2025-11-28 11:40:07 +01:00
Martin Varmuza
6e9e92c001 chore(connect-explorer-theme): remove circular imports 2025-11-27 18:32:35 +01:00
Martin Varmuza
4c0f4156e5 chore(ipc-proxy): remove circular imports 2025-11-27 18:32:35 +01:00
Martin Varmuza
b6182806da chore(connect-explorer): remove all remaining circular imports 2025-11-27 11:18:55 +01:00
Jiri Zbytovsky
bcae964e70 chore: bump chalk 2025-11-21 18:15:01 +01:00
Jiri Zbytovsky
c5b0c71726 chore(scripts): reassign some dependencies 2025-11-18 13:10:13 +01:00
brantalikp
da19f23936 chore(suite-native): reanimated 4 2025-11-18 12:02:18 +01:00
brantalikp
9b0e267013 chore(suite-native): updgrade MMKV to version 4 2025-11-18 12:02:18 +01:00
brantalikp
f3335f611a chore(suite): deps re-arrangement 2025-11-17 18:07:20 +01:00
Jiri Zbytovsky
d0e06ebdb2 chore: bump CI-related dependencies 2025-11-14 15:05:52 +01:00
Martin Vere Cihlar
c3adb03a2d refactor(e2e-suite): change hardcoded strings in asserts to references 2025-11-13 13:40:39 -04:00
Jiri Zbytovsky
cd4ca4bf41 chore(suite-desktop): simplify electron-builder hooks setup 2025-11-13 12:44:41 +01:00
Petr Knetl
d165f93e09 chore(suite-native): remove atoms and icons circular dep 2025-11-13 09:16:47 +01:00