Add getPairingProcessId

This commit is contained in:
NicolasCantu 2025-01-22 14:06:14 +01:00
parent f5fd7a8a34
commit 1b0f4783f6

View File

@ -661,6 +661,14 @@ export default class Services {
}
}
public getPairingProcessId(): string {
try {
return this.sdkClient.get_pairing_process_id();
} catch (e) {
throw new Error(`Failed to get pairing process: ${e}`);
}
}
async saveDeviceInDatabase(device: any): Promise<void> {
const db = await Database.getInstance();
const walletStore = 'wallet';