mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
Orion, Orion Unit, Configuration (#40)
* Refactoring * Better docs * Bump * ESLint standard * Fix * Bumo * VerboseOrionUnitConfig to types * Docs improvements * Docs improvements. Orion default env
This commit is contained in:
@@ -10,8 +10,12 @@ export default class OrionAnalytics {
|
||||
this.getOverview = this.getOverview.bind(this);
|
||||
}
|
||||
|
||||
get api() {
|
||||
return this.apiUrl;
|
||||
}
|
||||
|
||||
getOverview = () => fetchWithValidation(
|
||||
`${this.apiUrl}/api/stats/overview`,
|
||||
`${this.apiUrl}/overview`,
|
||||
overviewSchema,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user