337 Commits

Author SHA1 Message Date
77dcb8b9ae refactor(iframe-controller): improve initialization logic, enhance logging, and streamline message handling for better clarity and performance 2025-12-03 21:24:06 +01:00
87168dffd8 refactor(service): remove obsolete sdkClient and printAllRelays methods to enhance code clarity and streamline Services class 2025-12-03 21:23:35 +01:00
633fd57793 refactor(service): integrate Service Worker Controller initialization into Services class, enhancing service setup and clarity 2025-12-03 20:20:18 +01:00
0ae251a1bd refactor(database.service): remove service worker functionality and related methods to streamline database operations and enhance clarity 2025-12-03 20:20:11 +01:00
8a6e30d226 feat(sw-controller): implement Service Worker Controller for managing SW registration and communication, including message handling and periodic scanning 2025-12-03 20:20:00 +01:00
81025dca42 refactor(database.service): simplify service worker message handling by removing unnecessary comment and obsolete method for improved clarity 2025-12-03 10:06:41 +01:00
6dd8ce730f refactor(service): standardize import statements, improve code organization, and enhance clarity in Services class methods 2025-12-03 10:06:15 +01:00
d78dc14a2b refactor(network.service): implement event-driven mechanism for relay readiness, replacing polling with promise-based handling for improved efficiency and clarity 2025-12-02 00:54:14 +01:00
355d5ea18d refactor(storage.service): replace axios with fetch for data storage and retrieval, improve error handling, and enhance code clarity 2025-12-02 00:53:53 +01:00
50903c7e39 refactor(service): standardize import statements and improve code organization by relocating BackUp type import 2025-12-02 00:25:48 +01:00
da76c1ac3e refactor(iframe-controller): enhance async handling, improve error checks, and remove unnecessary comments for better code clarity 2025-12-02 00:25:41 +01:00
a9976ca624 refactor(network.service): improve code clarity by removing commented-out lines, standardizing import statements, and adding polling mechanism for relay address retrieval 2025-12-02 00:20:39 +01:00
662f3820d5 refactor(architecture): implement multi-worker architecture by introducing core and network workers, enhancing service communication, and removing obsolete websocket service 2025-12-02 00:10:54 +01:00
f7b9129401 feat(services): add wallet and process services to the Services class and comment out pairing confirmation logic 2025-11-28 10:44:28 +01:00
09b1c29788 refactor(services): remove commented-out code and improve code clarity in iframe-controller, storage, and wallet services 2025-11-28 10:44:17 +01:00
96ee5b03e6 refactor(iframe-controller): standardize import statements, enhance logging, and improve error handling in IframeController service 2025-11-28 00:13:51 +01:00
8a87fe38c5 refactor(data.worker): optimize database access in service worker by implementing direct IndexedDB functions and enhancing message handling 2025-11-28 00:13:42 +01:00
bbbca27009 refactor(token): streamline token management by implementing secret key caching and enhancing token generation methods 2025-11-28 00:13:30 +01:00
d45cf7c530 refactor(database): remove obsolete database.worker.js and update database service to utilize Web Worker for IndexedDB operations 2025-11-27 23:20:53 +01:00
90376e364a fix(crypto): cast uint8Array to any in hexToBlob method to resolve TypeScript type issues 2025-11-26 13:17:06 +01:00
04996ceaa5 refactor(core): découpage du service principal en modules métier et centralisation de la configuration globale 2025-11-26 12:40:36 +01:00
3eeef3fc9a refactor: remove unused modal components and related files 2025-11-25 10:42:02 +01:00
d072eb0831 fix: resolve TypeScript strict mode errors in service.ts 2025-11-25 10:38:24 +01:00
225dd27c2c Improved websocket to ensure the reconnection 2025-11-25 09:58:14 +01:00
8512b90d36 Added withToken func to remove the duplicated code 2025-11-25 09:57:57 +01:00
86b488b492 Deleted all the unused files, deadCode & refactoring all the app structure 2025-11-25 00:10:06 +01:00
592759a9b6 Delete secrets flag 2025-11-24 15:42:15 +01:00
95e7044e0a fix(service): Remplacer le polling des clés par un listener pour éviter une race condition 2025-11-15 12:08:32 +01:00
f610a1bfa6 Moved the handleUpdateProcess complexe logic in service 2025-11-15 11:52:44 +01:00
b473ddeefe Improved decrypAttribute func 2025-11-12 09:26:06 +01:00
6419e4e1c9 Fix: an used processId value was undefined 2025-11-10 13:04:08 +01:00
f75c87bd09 Deleted some logs with processId undefined 2025-11-10 13:01:39 +01:00
bd0e3b9114 Grouped the logs for decryptAttribute func 2025-11-07 19:54:49 +01:00
8cc016c2a5 Adding secretsAreCompromised flag 2025-11-05 01:59:23 +01:00
bbb0c12506 Refactoring, upgrading & adding logs in router.ts 2025-11-04 23:04:03 +01:00
7ea4ef1920 Add some debug methods for pairing workflow
Some checks failed
Build and Push to Registry / build-and-push (push) Failing after 44s
2025-10-31 14:10:26 +01:00
412c855777 Add promise to wait for relay availability to make createProcess functional
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m23s
2025-10-08 11:10:03 +02:00
Sosthene
0d473cf3d1 [bug] Update device blockheight right after initialization to prevent race condition
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m25s
2025-09-13 08:12:30 +02:00
Sosthene
457994c506 Updating testData in storage
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m15s
2025-09-13 07:34:43 +02:00
Sosthene
5fc485e233 Fix checkConnections, also check more aggressively 2025-09-13 07:34:43 +02:00
Sosthene
0d934e7b6e [bug] coerce potention undefined to null as return value of getObject() 2025-09-13 07:34:43 +02:00
omaroughriss
6f9fa60e2f Use env variables to config urls
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m2s
2025-09-10 17:41:01 +02:00
omaroughriss
e729e32b35 Add handshakeMsg log
Some checks failed
Build and Push to Registry / build-and-push (push) Has been cancelled
2025-09-10 16:24:06 +02:00
omaroughriss
e4681f91e4 Merge branch 'dev' of https://git.4nkweb.com/4nk/ihm_client into dev
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m4s
2025-09-10 15:25:07 +02:00
omaroughriss
6363ec1189 Update relay handshake verification to use peer list or sp adresses 2025-09-10 15:25:05 +02:00
Sosthene
c8ac815e2b Refactor handleHandshakeMsg
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m11s
2025-09-08 22:00:36 +02:00
Sosthene
ef31cba983 Improve checkConnections to prevent no shared secrets 2025-09-08 22:00:36 +02:00
Sosthene
3f64369852 [bug] Fix wrong api calls for storeData 2025-09-08 15:56:34 +02:00
Sosthene
e8c2d1a05a Get the storage urls from diffs 2025-09-08 15:56:14 +02:00
Sosthene
63ee4ce719 Merge branch 'bug_scan_blocks_update' into dev 2025-09-05 07:59:09 +02:00