mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-03 03:56:08 -04:00
update dist
This commit is contained in:
parent
e3ea1ca4bf
commit
3143e77ced
12 changed files with 448 additions and 6 deletions
13
dist/HavenoClient.js
vendored
13
dist/HavenoClient.js
vendored
|
@ -562,6 +562,19 @@ class HavenoClient {
|
|||
throw new HavenoError_1.default(e.message, e.code);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Get the current auto switch setting.
|
||||
*
|
||||
* @return {boolean} whether auto switch is enabled or disabled
|
||||
*/
|
||||
async getAutoSwitch() {
|
||||
try {
|
||||
return (await this._xmrConnectionsClient.getAutoSwitch(new grpc_pb_1.GetAutoSwitchRequest(), { password: this._password })).getAutoSwitch();
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Returns whether daemon is running a local monero node.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue