mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
types fix
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.20.74-rc100",
|
||||
"version": "0.20.74-rc101",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.20.74-rc100",
|
||||
"version": "0.20.74-rc101",
|
||||
"hasInstallScript": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.20.74-rc100",
|
||||
"version": "0.20.74-rc101",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
|
||||
@@ -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