diff --git a/src/actions/daemon/DaemonAction.ts b/src/actions/daemon/DaemonAction.ts index f50fb69..fd1817e 100644 --- a/src/actions/daemon/DaemonAction.ts +++ b/src/actions/daemon/DaemonAction.ts @@ -29,7 +29,7 @@ export class DaemonAction { .then(() => ConfigLoader.askForCredentialsIfEmpty(config)) .then(() => { api = new DirectBlockchainApi(Wise.constructDefaultProtocol(), config.postingWif, { - url: config.steemApi, + apiUrl: config.steemApi, }); if (config.disableSend) api.setSendEnabled(false); delegatorWise = new Wise(config.username, api); diff --git a/src/actions/download-rules/DownloadRulesAction.ts b/src/actions/download-rules/DownloadRulesAction.ts index accd9c9..5abd6a2 100644 --- a/src/actions/download-rules/DownloadRulesAction.ts +++ b/src/actions/download-rules/DownloadRulesAction.ts @@ -18,7 +18,7 @@ export class DownloadRulesAction { private static downloadRules(username: string, config: Config): Promise { const delegatorWise = new Wise( username, - new DirectBlockchainApi(Wise.constructDefaultProtocol(), "", { url: config.steemApi }), + new DirectBlockchainApi(Wise.constructDefaultProtocol(), "", { apiUrl: config.steemApi }), ); return delegatorWise.downloadAllRulesets(username); } diff --git a/src/actions/send-voteorder/SendVoteorderAction.ts b/src/actions/send-voteorder/SendVoteorderAction.ts index ce1937f..8897ccf 100644 --- a/src/actions/send-voteorder/SendVoteorderAction.ts +++ b/src/actions/send-voteorder/SendVoteorderAction.ts @@ -65,7 +65,7 @@ export class SendVoteorderAction { const api: DirectBlockchainApi = new DirectBlockchainApi( Wise.constructDefaultProtocol(), config.postingWif, - { url: config.steemApi }, + { apiUrl: config.steemApi }, ); if (config.disableSend) api.setSendEnabled(false); const wise = new Wise(config.username, api); diff --git a/src/actions/upload-rules/UploadRulesAction.ts b/src/actions/upload-rules/UploadRulesAction.ts index 52334ae..f042ab1 100644 --- a/src/actions/upload-rules/UploadRulesAction.ts +++ b/src/actions/upload-rules/UploadRulesAction.ts @@ -88,7 +88,7 @@ export class UploadRulesAction { const api: DirectBlockchainApi = new DirectBlockchainApi( Wise.constructDefaultProtocol(), config.postingWif, - { url: config.steemApi }, + { apiUrl: config.steemApi }, ); if (config.disableSend) api.setSendEnabled(false); const delegatorWise = new Wise(config.username, api);