fix: build issues

This commit is contained in:
2023-11-01 15:22:32 +01:00
parent c7555e1918
commit 4bdd4b20d0
15 changed files with 188 additions and 74 deletions

View File

@@ -14,8 +14,7 @@
*/
import {Injectable} from '@angular/core';
import {Client} from '@openstapps/api';
import {SCAppConfiguration, SCIndexResponse} from '@openstapps/core';
import packageInfo from '@openstapps/core/package.json';
import {SCAppConfiguration, SCIndexResponse, STAPPS_CORE_VERSION} from '@openstapps/core';
import {NGXLogger} from 'ngx-logger';
import {environment} from '../../../environments/environment';
import {StAppsWebHttpClient} from '../data/stapps-web-http-client.provider';
@@ -55,7 +54,7 @@ export class ConfigProvider {
/**
* Version of the @openstapps/core package that app is using
*/
scVersion = packageInfo.version;
scVersion = STAPPS_CORE_VERSION;
/**
* First session indicator (config not found in storage)