27 Commits

Author SHA1 Message Date
Daniel Skýpala
237c94425d fix(ipc-proxy): Check if the senderFrame is not destroyed
Might help with some cases of "Render frame was disposed before WebFrameMain could be accessed". There is still a race condition, but I have no idea how to fix it.
2026-02-10 13:35:46 +01:00
Martin Varmuza
4c0f4156e5 chore(ipc-proxy): remove circular imports 2025-11-27 18:32:35 +01:00
tomasklim
2393763310 chore: change "fail" in test names to "error" to find fails easier 2025-11-24 20:23:46 +01:00
Jiri Zbytovsky
839a808f26 fix(suite-desktop): decodeURI when validating Ipc message 2025-11-05 11:27:02 +01:00
Jiri Zbytovsky
6840e9f2f7 test(suite-desktop): accurate validateIpcMessage test for Windows 2025-11-05 11:27:02 +01:00
Peter Sanderson
886502a3a1 fix: attempt to fix validateIpcMessage for Windows 2025-11-05 11:27:02 +01:00
Peter Sanderson
7f01bc15c8 fix: Electron vs. Webpack, corect publicPath configuration and add CSP
nonces for inline scripts

fix: remove unsafe-inline', seems its not needed after all

fix: still WIP, but validateIpcMessage passes test, improvements and refactoring

fix: correct path to start e2e tests, so it is same as in production
2025-11-05 11:27:02 +01:00
Jiri Zbytovsky
b8ad514868 fix(suite-desktop-core): preventive handling for destroyed renderer 2025-07-23 09:32:32 +02:00
Jiri Zbytovsky
484f7d622d fix(ipc-proxy): IPC response handling when rendered was destroyed 2025-06-23 07:39:47 +02:00
Tomas Martykan
eb758acea9 chore: apply latest prettier 2025-05-05 13:51:36 +02:00
yanas
b96c899ebb chore(packages): autofix for sort-imports eslint rule 2025-01-30 16:34:04 +01:00
Peter Sanderson
abb41f8033 chore: remove glboal nx/workspace link scripts (it shall be run only globally) + resolve ugly igonores for devDependencies in import/no-extraneous-dependencies 2024-11-13 10:36:38 +01:00
Jiri Zbytovsky
2b80c45c5f chore(suite-desktop): bump electron 2024-11-06 21:23:06 +01:00
Tomas Martykan
2cee90b4f0 fix(ipc-proxy): typo election -> electron 2024-09-18 12:27:03 +02:00
Peter Sanderson
77576f5bea chore: remove prettier-eslint dependency, upgrade @typescript-eslint 2024-09-12 13:43:42 +02:00
Peter Sanderson
8743201eb9 fix(suite): add validation for IPC messages for Electron 2024-07-08 12:24:54 +02:00
Petr Knetl
2206f19f2e chore(suite): depcheck enabled 2024-06-18 13:07:58 +02:00
Peter Sanderson
c82455e746 chore(suite): autofix newlines 2024-02-20 14:54:29 +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
Jan Komarek
84bc9b8bd3 chore: update typescript and use global tsc 2024-02-12 11:56:09 +01:00
Jan Komarek
d3f8043f0b chore: updated deprecated jest syntax 2024-02-12 11:56:09 +01:00
Daniel Suchý
acf9a7f19c chore(repo): config cleanups and improvements (TS, Nx...) (#11096)
* chore(repo): config cleanups and improvements (TS, Nx...)

* fix connect e2e

* chore: add eslin cache file to nx cache

* chore: add stylelint cache file to nx

* chore: add ts-node config for to base.tsconfig.json
2024-02-09 13:11:35 +01:00
Szymon Lesisz
b8a321c837 chore: update jest and related dependency
- jest: 29.5.0
- babel-jest: 29.5.0
- jest-watch-typeahead: 2.2.2
- @types/jest: 29.5.0

removed:
- @jest/types
- jest-environment-jsdom
- jest-environment-node
- ts-jest
2023-12-12 15:03:47 +01:00
Marek Polak
3ba975a545 chore(ipc-proxy): bump version to 1.0.1 2023-04-11 10:28:51 +02:00
Marek Polak
e94614f056 test(ipc-proxy): remove listener and multiple instances test 2023-04-11 10:28:51 +02:00
Marek Polak
5ce2769a36 fix(ipc-proxy): unsubscribe correct listeners 2023-04-11 10:28:51 +02:00
Szymon Lesisz
783ce33352 feat: create @trezor/ipc-proxy package 2022-10-05 14:27:16 +02:00