mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-29 09:07:59 +03:00
types fix
This commit is contained in:
@@ -30,7 +30,7 @@ export default class Unit {
|
||||
|
||||
public readonly indexer: IndexerService | undefined;
|
||||
|
||||
public readonly frontage: FrontageService | undefined;
|
||||
public readonly frontage: FrontageService;
|
||||
|
||||
public readonly aggregator: Aggregator;
|
||||
|
||||
|
||||
@@ -4,10 +4,6 @@ import { aggregatedMetricsSchema } from './schemas';
|
||||
export class FrontageService {
|
||||
private readonly apiUrl: string;
|
||||
|
||||
get api() {
|
||||
return this.apiUrl;
|
||||
}
|
||||
|
||||
constructor(apiUrl: string) {
|
||||
this.apiUrl = apiUrl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user