231 Commits

Author SHA1 Message Date
Tomas Martykan
4dbd53281b fix(connect): add @trezor/type-utils to dependencies 2025-05-12 08:52:26 +02:00
yanas
b96c899ebb chore(packages): autofix for sort-imports eslint rule 2025-01-30 16:34:04 +01:00
Peter Sanderson
184ebbb7f4 fix: make types strict to prevent accidental deletion via unused types, the optionality is a trap, they are required 2025-01-14 15:59:08 +01:00
Peter Sanderson
3f34981e5d chore: unify types for setTimeout return type to address the NodeJS types leak issue 2024-12-03 15:37:27 +01:00
Peter Sanderson
8d8beba862 chore: add 'import/no-duplicates' ESLint rule 2024-11-01 10:47:27 +01:00
Marek Polak
842be0d731 chore(suite): tiny ui improvements 2024-10-17 15:13:01 +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
4f66613553 chore: add better naming for random function which is not using strong source of randomness 2024-10-15 16:29:50 +02:00
Jiri Zbytovsky
cd136918a9 chore(suite): rename getCoinjoinNetwork 2024-09-16 15:44:21 +02:00
Peter Sanderson
77576f5bea chore: remove prettier-eslint dependency, upgrade @typescript-eslint 2024-09-12 13:43:42 +02:00
Marek Polak
0d2b50aab6 chore(suite): send default affil values 2024-06-06 15:50:23 +02:00
Marek Polak
916855e391 chore(coinjoin): affiliate parametrized 2024-06-03 17:18:38 +02:00
Daniel Suchý
637ad88dcf chore(repo): mostly buildless monorepo (#11464)
* chore: buildless blockchain link

* chore: buildless connect

* chore: buildless connect-webextension

* chore: buildless transport

* chore: replace few imports from lib

* fix: icons linter error

* chore: adjust tooling to buildless setup

* fix: connect overrides

* chore: replace all imports from @trezor/*/src

* chore(lint): ban imports from @trezor/*/lib

* fix: replace imports on Linux

* chore: add safety check to replace imports script

* chore: reorder entries
2024-03-07 08:31:02 +01:00
Peter Sanderson
c82455e746 chore(suite): autofix newlines 2024-02-20 14:54:29 +01:00
Daniel Suchý
6cd3d3c819 chore(utils): remove build step requirement from @trezor/utils (#11176)
* chore: remove build step requirement from utils

* chore: dissalow imports from utils/lib

* chore: remove outdated comment from TypedEmitter

* chore: enable tree shaking for connect-iframe build

* chore: bring back usage example comment
2024-02-20 11:08:45 +01:00
Daniel Suchý
44fa12a79d chore(repo): ESLint refactor + speed up 70% (#11143)
* chore: eslint speedup

* chore: disable some react rules for class components

* chore: fix startup command

* chore(deps): dedupe
2024-02-12 20:18:19 +01:00
Marek Polak
545878ec8d refactor(coinjoin): adjust transformTransaction params 2023-12-18 18:16:05 +01:00
tomasklim
4229fd483b chore: update prettier to v3 and reformat 2023-11-04 08:55:36 +01:00
Szymon Lesisz
adfef33757 chore(coinjoin): use the same function to switch TOR circuit 2023-10-11 09:27:37 +02:00
Szymon Lesisz
1d5c2e1a41 feat(coinjoin): implement DelayTransactionSigning
following recent changes on WalletWasabi
336a7d876d

- signatures are sent in random time range between 0-50 sec (default)
- if RoundParameters.DelayTransactionSigning is set then signatures are sent with 50 sec. delay. Random time range remains the same
2023-09-15 16:12:52 +02:00
Marek Polak
4418f1c0a8 fix(coinjoin): taproot-noordinals filters fallback 2023-09-09 13:50:25 +02:00
Marek Polak
2328017d9f chore(coinjoin): remove wasabi filters code 2023-09-09 13:50:25 +02:00
Marek Polak
eddc58ec5b feat(coinjoin): unify block and mempool filters 2023-09-09 13:50:25 +02:00
Marek Polak
0e9790c786 feat(coinjoin): fetch filters from blockbook 2023-09-09 13:50:25 +02:00
Jan Komarek
60074f541b chore: replace coinjoin phase enums with objects and make related utils safer 2023-09-04 20:42:08 +02:00
Szymon Lesisz
814caeaa91 chore: replace deprecated Buffer.slice with Buffer.subarray 2023-08-31 20:34:57 +02:00
Szymon Lesisz
a6fb8ea98c chore: use getChunkSize from @trezor/utils package 2023-08-31 20:34:57 +02:00
Szymon Lesisz
dfb7afc927 fix(coinjoin): patch coordinator responses from camelCase to PascalCase
Temporary serialization to support both cases. This commit should be removed in the future.
2023-08-30 12:15:49 +02:00
Szymon Lesisz
05ad819c6d fix(coinjoin): responses from coordinator in PascalCase 2023-08-30 12:15:49 +02:00
Szymon Lesisz
f231cc5da2 fix(coinjoin): CoinjoinClient.enable returns unsuccessful error message (reason) 2023-08-16 10:18:21 +02:00
Szymon Lesisz
3199bfa1c4 fix(coinjoin): CoinjoinBackend checkpoint(s) read-only 2023-08-14 14:36:40 +02:00
Marek Polak
198cbe2790 feat(coinjoin): prefer blockbook onion urls 2023-08-03 19:05:01 +02:00
Marek Polak
59d865693c refactor(coinjoin): simplify mempool subscription 2023-08-03 19:05:01 +02:00
Marek Polak
206b0ee6ce refactor(coinjoin): simplify blockbook requests 2023-08-03 19:05:01 +02:00
Marek Polak
12fc4ef6d6 refactor(coinjoin): simplify wasabi requests 2023-08-03 19:05:01 +02:00
Nodonisko
0a5d8267c4 chore: remove some unecessary build:lib 2023-08-03 09:33:42 +02:00
Marek Polak
2d317bcdc9 fix(coinjoin): remove mined txs from mempool 2023-08-01 16:47:49 +02:00
Szymon Lesisz
5c604e9a79 feat(coinjoin): conditionally unregister input from Round 2023-08-01 14:16:48 +02:00
Szymon Lesisz
c29de8f6ba feat(coinjoin): unify coordinator requests body
- use CamelCase in top level variables
2023-08-01 14:16:48 +02:00
Szymon Lesisz
44736f7c9b fix(coinjoin): release inmates assigned to Round which is not present in Status 2023-07-28 17:19:22 +02:00
Marek Polak
9c65a036b8 feat(coinjoin): remove colliding txs from mempool 2023-07-28 09:40:02 +02:00
Marek Polak
10634f7275 fix(coinjoin): reset ws connection identity on 403 2023-07-26 13:21:18 +02:00
Szymon Lesisz
81a1587afd feat(coinjoin): fetch coordinator version on client start 2023-07-20 13:48:55 +02:00
Szymon Lesisz
6aa2f2725b fix(coinjoin): end round in any input-registration fails 2023-07-19 11:06:12 +02:00
Marek Polak
b3fd1f7f1e fix(coinjoin): fix failing mempool init 2023-07-19 10:02:24 +02:00
Marek Polak
c2640f6802 feat(coinjoin): detailed discovery progress 2023-07-19 10:02:24 +02:00
Marek Polak
773cc48b5e refactor(coinjoin): checkpoint-progress separation 2023-07-19 10:02:24 +02:00
Szymon Lesisz
b704930c09 fix(coinjoin): log ProtocolException description and outputRegistration step 2023-07-17 20:13:57 +02:00
Marek Polak
50d51d1b21 chore(coinjoin): remove excessive logging 2023-07-17 13:40:12 +02:00
Marek Polak
b029f4b202 chore(coinjoin): simplify address handling 2023-07-12 12:07:21 +02:00