fix: fix for frontage config

This commit is contained in:
Mikhail Gladchenko
2024-03-29 13:29:02 +00:00
parent 8bd62243dc
commit 12533dbb4a
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.20.79-rc5",
"version": "0.20.79-rc6",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -92,7 +92,7 @@ export default class Unit {
api: networkConfig.api + networkConfig.services.indexer?.http,
},
frontage: {
api: networkConfig.api + networkConfig.services.frontage.http,
http: networkConfig.api + networkConfig.services.frontage.http,
},
},
};
@@ -131,7 +131,7 @@ export default class Unit {
this.config.basicAuth
);
this.frontage = new Frontage(
this.config.services.frontage.api
this.config.services.frontage.http
);
this.exchange = new Exchange(this);
this.pmm = new Pmm(this);

View File

@@ -273,7 +273,7 @@ export type VerboseUnitConfig = {
// http://
} | undefined
frontage: {
api: string
http: string
// For example:
// http://localhost:3004/,
// http://