Add getPairingId
This commit is contained in:
parent
7d5861b831
commit
31e04da8ab
@ -228,7 +228,16 @@ export class SDKSignerClient {
|
||||
this.on('message', handler);
|
||||
});
|
||||
}
|
||||
async get_owned_processes(): Promise<ServerResponse> {
|
||||
|
||||
async getPairingId(): Promise<ServerResponse> {
|
||||
const message: ClientMessage = {
|
||||
type: MessageType.GET_PAIRING_ID,
|
||||
messageId: this.generateMessageId()
|
||||
};
|
||||
return this.sendAndWait(message, MessageType.GET_PAIRING_ID);
|
||||
}
|
||||
|
||||
async getOwnedProcesses(): Promise<ServerResponse> {
|
||||
const message: ClientMessage = {
|
||||
type: MessageType.GET_MY_PROCESSES,
|
||||
messageId: this.generateMessageId()
|
||||
|
Loading…
x
Reference in New Issue
Block a user