mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 14:12:35 +03:00
fix: fix for frontage config
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -273,7 +273,7 @@ export type VerboseUnitConfig = {
|
||||
// http://
|
||||
} | undefined
|
||||
frontage: {
|
||||
api: string
|
||||
http: string
|
||||
// For example:
|
||||
// http://localhost:3004/,
|
||||
// http://
|
||||
|
||||
Reference in New Issue
Block a user