636 Commits

Author SHA1 Message Date
4NK CI Bot
18c61fd5e0 ci: docker_tag=ext - Fix import paths for sdk_client.js
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 39s
2025-09-21 16:51:39 +00:00
4NK CI Bot
4aa19b0b2a ci: docker_tag=ext - Fix WASM import paths in TypeScript files 2025-09-21 13:48:55 +00:00
4NK CI Bot
30a3960b2e ci: docker_tag=ext - Update ihm_client configuration and dependencies 2025-09-21 13:07:47 +00:00
4NK CI Bot
ae58d95e39 ci: docker_tag=ext - Fix WebAssembly import paths 2025-09-21 12:00:14 +00:00
4NK CI Bot
e41d17f7f4 ci: docker_tag=ext - Fix TypeScript imports and add curl to Dockerfile
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 55s
2025-09-21 08:21:32 +00:00
4NK CI Bot
1756278094 fix: Correction de l'URL de l'API de transfert de fonds
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 49s
- Changement de /api/funds/transfer vers /api/v1/funds/transfer
- Correction de l'erreur 404 lors du transfert automatique de fonds
- Le frontend peut maintenant appeler la bonne API
2025-09-20 17:22:47 +00:00
4NK CI Bot
48ea3614b8 align docker images
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 50s
2025-09-20 17:13:35 +00:00
4NK CI Bot
2d0bbc425c feat: Détection automatique des fonds insuffisants dans createProcess
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 50s
- Détection des erreurs 'Insufficient funds' et 'Missing sats'
- Transfert automatique de fonds via API
- Retry automatique après transfert
- Gestion des erreurs et fallback
2025-09-20 16:17:42 +00:00
4NK CI Bot
85c4106ae6 ci: docker_tag=dev-test - Mise à jour documentation et services
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 49s
2025-09-20 08:14:09 +00:00
4NK CI Bot
0b57f6c79c fix: correction de l'URL WebSocket pour utiliser WSS (WebSocket Secure) au lieu de WS pour la compatibilité HTTPS
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 50s
2025-09-19 18:10:59 +00:00
4NK CI Bot
333101b3f4 fix: correction de l'URL WebSocket pour utiliser le proxy nginx /ws/ au lieu du port direct 8090
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 58s
2025-09-19 18:06:59 +00:00
4NK CI Bot
a302149ea8 fix: correction de la configuration WebSocket pour utiliser VITE_BOOTSTRAPURL au lieu de window.location.origin
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 51s
2025-09-19 17:55:39 +00:00
4NK CI Bot
4f7d51e9b2 fix(ihm_client): génération et persistance locale d'une clé HMAC si VITE_JWT_SECRET_KEY absent
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 50s
2025-09-18 16:53:28 +00:00
4NK CI Bot
a6f54dc8f5 fix(ihm_client): favicon via chemin relatif /favicon.svg pour HTTPS
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 51s
2025-09-18 16:26:06 +00:00
4NK CI Bot
a40416a248 fix(ihm_client): double fallback IndexedDB si service worker.ready échoue
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 52s
2025-09-18 16:16:48 +00:00
4NK CI Bot
c21eb9170a fix(ihm_client): fallback IndexedDB direct si Service Worker indisponible (iframe)
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 53s
2025-09-18 16:14:25 +00:00
4NK CI Bot
d47db27583 fix(ihm_client): initialiser Database (IndexedDB) dans Services.init() et attendre readiness
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 51s
2025-09-18 16:08:58 +00:00
4NK CI Bot
eb6f6be67b fix(ihm_client): éviter fallback localhost; utiliser window.location.origin pour BASEURL/URLs par défaut
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 50s
2025-09-18 16:07:35 +00:00
4NK CI Bot
1c20450b05 fix(ihm_client): imports ESM explicites vers pkg/sdk_client.js et chemins relatifs
All checks were successful
Build and Push Docker image (ext) / docker (push) Successful in 50s
2025-09-18 15:58:44 +00:00
4NK CI Bot
01b1b50d6b ci: docker_tag=ext - Fix WASM compilation for web target
Some checks failed
Build and Push Docker image (ext) / docker (push) Failing after 3m44s
- Recompile sdk_client WASM with --target web for ES modules
- Update Dockerfile to build WASM in web target instead of bundler
- Modify index.html to initialize WASM before router
- Update service.ts and router.ts to use ES module imports
- Fix 'module is not defined' error in browser
2025-09-18 15:41:05 +00: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
Sosthene
e0e186f4f4 Refactor pairing logic
Account for the fact that we need the pairing id earlier now
2025-09-05 07:57:57 +02:00
Sosthene
bfca596e8b Adapt storage to new api 2025-09-05 07:57:50 +02:00
Sosthene
acb9739a80 [bug] Now save device after scan_blocks 2025-09-02 13:30:52 +02:00
Sosthene
c422881cd1 [bug] Failed to update tips 2025-09-02 13:30:52 +02:00
Sosthene
19da967605 Remove unnecessary async 2025-08-25 01:32:24 +02:00
Sosthene
d4223ce604 [bug] Correct args for parse_cipher 2025-08-25 01:31:35 +02:00
Sosthene
420979e63e [bug] Prevent duplicated addresses when sharing secrets 2025-08-25 01:30:58 +02:00
Sosthene
1c92a40984 [bug] remove test code 2025-08-23 16:10:11 +02:00
Sosthene
2ba7be8dbb Call updateDeviceBlockHeight from router 2025-08-23 16:04:34 +02:00
Sosthene
77d9c1ad43 Add updateDeviceBlockHeight 2025-08-23 16:03:49 +02:00
Sosthene
3ce412d814 Keep currentBlockHeight in services 2025-08-23 16:02:31 +02:00
Sosthene
7100eda272 [bug] update parse_new_tx 2025-08-23 16:02:06 +02:00
Sosthene
1a3a2dbef1 Remove pdf code 2025-08-23 16:00:35 +02:00
Sosthene
8a0a8e2df2 Add handleCreatePairing 2025-08-23 15:58:30 +02:00
Sosthene
48194dd2de Add CREATE_PAIRING MessageType 2025-08-23 15:55:39 +02:00
Sosthene
8e9d7f0c76 remove wasm processes cache 2025-08-23 15:54:22 +02:00
Sosthene
5ba45a29be MyProcesses always include pairing 2025-08-08 08:27:46 +02:00