From f7b912940134698bb9273b9e2daea162d1927088 Mon Sep 17 00:00:00 2001 From: NicolasCantu Date: Fri, 28 Nov 2025 10:44:28 +0100 Subject: [PATCH] feat(services): add wallet and process services to the Services class and comment out pairing confirmation logic --- src/services/service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/service.ts b/src/services/service.ts index 28aa755..2ab3245 100755 --- a/src/services/service.ts +++ b/src/services/service.ts @@ -37,6 +37,8 @@ export default class Services { // Utilisation de la config this.networkService = new NetworkService(APP_CONFIG.URLS.BOOTSTRAP); this.cryptoService = new CryptoService(this.sdkService); + this.walletService = new WalletService(this.sdkService, null as any); + this.processService = new ProcessService(this.sdkService, null as any); } public static async getInstance(): Promise { @@ -696,7 +698,7 @@ export default class Services { const dev = await this.walletService.getDeviceFromDatabase(); if (dev && dev.pairing_process_commitment === pid) { const last = updated.current_process.states[updated.current_process.states.length - 1]; - if (last?.public_data['pairedAddresses']) await this.confirmPairing(); + // if (last?.public_data['pairedAddresses']) await this.confirmPairing(); } }