Add getPairingProcessId
This commit is contained in:
parent
f5fd7a8a34
commit
1b0f4783f6
@ -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> {
|
async saveDeviceInDatabase(device: any): Promise<void> {
|
||||||
const db = await Database.getInstance();
|
const db = await Database.getInstance();
|
||||||
const walletStore = 'wallet';
|
const walletStore = 'wallet';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user