Commit Graph

285 Commits

Author SHA1 Message Date
juriczech
18f87ce2ae chore(suite): replace G.isNotNullable with utils 2026-02-13 11:09:36 +01:00
juriczech
05a9bebbde feat(utils): isNutNull & isNotNullOrUndefined 2026-02-13 11:09:36 +01:00
Jiri Zbytovsky
b50ccbddf3 fix(suite): move FW install progress check conditions to Connect 2026-02-03 13:28:32 +01:00
Peter Sanderson
99fab3777a chore: reduce in the typedObject utils 2026-02-02 15:55:47 +01:00
Peter Sanderson
8ed2c87a00 fix: improve isAnyDeviceEventAction to be more guard-y 2026-02-02 12:59:08 +01:00
vytick
98321960e2 chore: bump tsx version 2026-01-27 18:29:02 +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
Tomas Martykan
3d71f2c20a feat(scripts): handle libESM in updateProjectReferences 2026-01-22 12:37:20 +01:00
Pavlo Syrotyna
8d74848fd7 chore(suite): improve staking apy loading 2026-01-20 18:41:16 +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
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
karliatto
3f747ed712 fix(utils): add missing exports to utils 2025-12-15 18:00:25 +01:00
trezor-ci
1c66547d4c npm-release: @trezor/utils 9.5.0 2025-12-15 16:01:36 +01:00
Jiří Čermák
972d021017 feat: add propperly typed hasOwn util 2025-12-15 15:06:36 +01:00
trezor-ci
26cc2e6f56 npm-prerelease: @trezor/utils 9.4.5-beta.2 2025-12-09 11:51:39 +01:00
Jiri Zbytovsky
2128d273f3 refactor(connect): new replace-imports.sh script using babel 2025-12-04 11:55:30 +01:00
Jiri Zbytovsky
446763e94d fix(connect): properly advertise @trezor/utils as ESM 2025-12-04 11:55:30 +01:00
Jiri Zbytovsky
05738c1257 chore(connect): small tweaks in libESM config 2025-12-04 11:55:30 +01:00
karliatto
2eb5907b84 feat(utils): sanitizeFilename 2025-12-02 15:21:53 +01:00
Jiří Čermák
9409fbbeb2 feat: add TopAssets & NetworkIcon components
- move AssetLogo from `components` to `product-components`
- extract `NetworkIcon` from  `CoinLogo`
- add `TopAssets` components
     - if no `contractAddress` and `coingeckoId`, then render `CoinLogo`, else render `AssetLogo`
2025-12-01 14:13:34 +01:00
Martin Varmuza
ed9f97dbcf chore(utils): remove unused code 2025-11-27 18:31:50 +01:00
tomasklim
2393763310 chore: change "fail" in test names to "error" to find fails easier 2025-11-24 20:23:46 +01:00
trezor-ci
9dad3eee2f npm-prerelease: @trezor/utils 9.4.5-beta.1 2025-11-12 14:06:21 +01:00
Tomáš Boďa
74e276011e chore(suite): update network backends 2025-11-03 11:55:50 +01:00
karliatto
9291fe7872 docs(packages): remove link to non-existing document 2025-10-28 09:28:29 +01:00
trezor-ci
31938a4a03 npm-release: @trezor/utils 9.4.4 2025-10-23 12:39:34 +02:00
trezor-ci
a3165420ab npm-prerelease: @trezor/utils 9.4.4-beta.1 2025-10-20 16:33:17 +02:00
Jiří Čermák
0053b5b021 refactor: rename holesky to hoodi 2025-10-10 11:12:09 +02:00
Jiří Čermák
d0b9209743 feat(suite): display an info alert if SOL staking rewards not available yet 2025-10-07 11:20:25 +08:00
Jiří Čermák
ad8778aad1 refactor(suite): use new graph feature from networks instead of a constant on component level 2025-09-24 17:24:30 +02:00
trezor-ci
c41dacc59e npm-release: @trezor/utils 9.4.3 2025-09-18 15:07:11 +02:00
Peter Sanderson
a4f8b09e38 fix: add depcheck scripts for all the package.json-s 2025-09-18 13:04:25 +02:00
trezor-ci
19a2181345 npm-prerelease: @trezor/utils 9.4.3-beta.1 2025-09-09 12:18:22 +02:00
tomasklim
071523a391 chore(blockchain-link): set max CU limit for sol priority fee simulation 2025-09-08 12:11:15 +02:00
Szymon Lesisz
39737985f7 fix(utils): scheduleAction reject with error 2025-09-02 15:28:46 +02:00
Szymon Lesisz
55ba457ac4 feat(utils): scheduleAction reject action gracefully when aborted 2025-09-02 15:28:46 +02:00
karliatto
cd4f3c04a9 feat(utils): export tryParse from verion utils 2025-08-14 11:32:56 +02:00
Jiri Zbytovsky
ab98977fab chore: bump bignumber.js 2025-08-12 10:55:22 +02:00
trezor-ci
69f2d107ae npm-release: @trezor/utils 9.4.2 2025-07-11 06:40:41 +02:00
Peter Sanderson
0ed58e7cc3 chore: add typed helpers for Object.xxxx utils 2025-07-09 12:15:35 +02:00
trezor-ci
7230ebfd8c npm-prerelease: @trezor/utils 9.4.2-beta.2 2025-07-08 12:54:56 +02:00
Peter Sanderson
61e33e5410 fix: types for FiatRatesBySymbol, add typedObjectFromEntries util 2025-07-07 16:23:02 +02:00
trezor-ci
e32ab5f4a1 npm-prerelease: @trezor/utils 9.4.2-beta.1 2025-07-07 09:54:48 +02:00
brantalikp
d67742d376 feat(suite-native): Settings: Change Device Name 2025-06-25 15:05:18 +02:00
Jiri Zbytovsky
24f4d182bc feat(utils): add a util for float approx comparison 2025-06-25 14:25:42 +02:00
trezor-ci
3bd3c5af24 npm-release: @trezor/utils 9.4.1 2025-06-25 06:44:23 +02:00
Jan Václavík
1a1786a1ab chore(suite): Update tsx 2025-06-24 15:52:19 +02:00
trezor-ci
73e565cc0f npm-prerelease: @trezor/utils 9.4.1-beta.2 2025-06-16 16:14:56 +02:00
Carlos Garcia Ortiz karliatto
6d9116d6bd feat(utils): stringToIntegerInRange 2025-06-16 11:17:26 +02:00