Commit Graph

92 Commits

Author SHA1 Message Date
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
karliatto
2eb5907b84 feat(utils): sanitizeFilename 2025-12-02 15:21:53 +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
Tomáš Boďa
74e276011e chore(suite): update network backends 2025-11-03 11:55:50 +01:00
Jiří Čermák
0053b5b021 refactor: rename holesky to hoodi 2025-10-10 11:12:09 +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
55ba457ac4 feat(utils): scheduleAction reject action gracefully when aborted 2025-09-02 15:28:46 +02:00
Peter Sanderson
0ed58e7cc3 chore: add typed helpers for Object.xxxx utils 2025-07-09 12:15:35 +02:00
Peter Sanderson
61e33e5410 fix: types for FiatRatesBySymbol, add typedObjectFromEntries util 2025-07-07 16:23:02 +02:00
Jiri Zbytovsky
24f4d182bc feat(utils): add a util for float approx comparison 2025-06-25 14:25:42 +02:00
Carlos Garcia Ortiz karliatto
6d9116d6bd feat(utils): stringToIntegerInRange 2025-06-16 11:17:26 +02:00
tomasklim
6d27a2ca35 chore: update jest to v30 2025-06-11 18:14:56 +02:00
Jiri Zbytovsky
26069e28b5 Revert "Feat: update fee rate options regularly" 2025-06-03 13:00:36 +02:00
Jiri Zbytovsky
511966af4b feat(utils): add a util for float approx comparison 2025-06-02 13:33:52 +02:00
Carlos Garcia Ortiz karliatto
17c0dfbb05 feat(utils): new util removeTrailingSlashes 2025-05-23 10:16:07 +02:00
Martin Varmuza
3736dec0a5 chore: more refactorign to remove connect from components 2025-03-06 13:56:53 +01:00
Marek Polak
fecb9a1ccc refactor(utils): add abort to resolveAfter 2025-02-10 12:49:02 +01:00
yanas
b96c899ebb chore(packages): autofix for sort-imports eslint rule 2025-01-30 16:34:04 +01:00
Jiri Zbytovsky
fb496b7f19 feat(utils): include stackTrace in serializeError 2025-01-29 12:28:33 +01:00
Jiri Zbytovsky
d391fde59d feat(utils): add serializeError helper 2025-01-28 13:55:36 +01:00
Peter Sanderson
95c1640ef6 feat(utils): new isWhitelistedHost 2025-01-21 10:13:20 +01:00
Tomas Martykan
3c07bce818 feat(utils): cache with ttl 2025-01-07 22:49:03 +09:00
Carlos Garcia Ortiz karliatto
89fffd0fab test(utils): test resolveAfter utils 2024-12-17 09:31:16 +01:00
Carlos Garcia Ortiz karliatto
65e67272b4 test(utils): adding tests for cloneObject 2024-12-02 10:02:11 +01:00
Carlos Garcia Ortiz karliatto
3b2d774229 feat(utils): improve cloneObject utils
* makes cloneObject utils 3 times more efficient
* handles cloning objects with cyclic references
2024-12-02 10:02:11 +01:00
Carlos Garcia Ortiz karliatto
a65cc86086 feat(utils): cloneCyclcicObject new util 2024-11-26 15:18:28 +01:00
Peter Sanderson
17f74166ca fix: additional fixes after jest/recommanded introduction 2024-11-06 17:51:46 +01:00
Peter Sanderson
55d663ca2d chore: add recommanded checks from eslint-plugin-jest
chore: use jest/valid-describe-callback as it has only 2 places that fails, so I ignored them in-code
2024-11-06 14:18:07 +01:00
TomasSlama
b1d9fb0d49 feat(product-components): add utils to detect non-ASCII chars 2024-11-05 18:59:12 +01:00
Jiri Zbytovsky
67391fce70 test(utils): add test for isArrayMember 2024-10-23 11:39:44 +02:00
Peter Sanderson
3f4312e834 feat: implement strong randomInt that works in browser without need for polyfill lib 2024-10-22 07:54:30 +02:00
Peter Sanderson
e1fe4b85d4 chore: allow passing of the source of randomness for arrayShuffle 2024-10-15 16:29:50 +02:00
Peter Sanderson
b52bfba948 chore: code improvement for arrayShuffle 2024-10-15 16:29:50 +02:00
Marek Polak
1835c1731d feat(utils): implement getMutex 2024-10-02 06:53:42 +02:00
Marek Polak
ba3580aeeb feat(utils): add lockId to getSynchronize 2024-10-02 06:53:42 +02:00
Marek Polak
621eb66acb test(utils): use mocked timers everywhere 2024-10-02 06:53:42 +02:00
Marek Polak
aa2857c305 fix(utils): correctly removing event listeners 2024-09-19 10:21:57 +02:00
Marek Polak
e6077ac3d1 fix(utils): ignore semver labels in version utils 2024-09-12 12:54:09 +02:00
Carlos Garcia Ortiz karliatto
5c5a14a220 feat(utils): new util isFullPath 2024-08-03 07:46:17 +02:00
tomasklim
91d819cc9b chore(utils): introduce new test for PEPE2.0 token 2024-08-02 21:43:11 +03:00
tomasklim
15e03f9cf2 feat(utils): add extractUrlsFromText util 2024-07-31 16:19:51 +03:00
Szymon Lesisz
3e342aaa5b feat(utils): scheduleAction with attempt failure handler 2024-07-22 18:33:21 +02:00
Marek Polak
a1b50537b3 feat(utils): add createLazy util 2024-07-01 11:39:41 +02:00
Marek Polak
1a5b0e2a0f feat(utils): mergeDeepObject with dot notation 2024-05-31 10:19:24 +02:00
Martin Varmuza
78673bd14c chore(utils): move Throttler util from blockchain-link to utils 2024-05-29 17:45:51 +02:00
Martin Varmuza
28c2b9fe57 chore(connect): move logs to @trezor/utils 2024-03-22 08:23:31 +01:00
Peter Sanderson
a0f1b3c4db fix(suite): allow for N screens to be shown on suite (not just hardcoded 2) 2024-02-26 20:23:33 +01:00
Peter Sanderson
c82455e746 chore(suite): autofix newlines 2024-02-20 14:54:29 +01:00