diff --git a/package.json b/package.json index 7c64865..1666bba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lemoncloud/lemon-front-lib", - "version": "1.3.7d", + "version": "1.3.7e", "description": "Front Core Library for Lemoncloud", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/core/identity.service.ts b/src/core/identity.service.ts index d51ca09..027577a 100644 --- a/src/core/identity.service.ts +++ b/src/core/identity.service.ts @@ -33,7 +33,7 @@ export class IdentityService { this.checkCachedToken() .then(result => this.logger.log('checkCachedToken: ', result)) - .catch(err => this.logger.log('checkCachedToken: ', err)); + .catch(() => this.logger.log('checkCachedToken: has no token')); } setOptions(options: LemonOptions) { diff --git a/src/core/lemon-storage.service.ts b/src/core/lemon-storage.service.ts index 385a9bf..6bfe986 100644 --- a/src/core/lemon-storage.service.ts +++ b/src/core/lemon-storage.service.ts @@ -23,7 +23,7 @@ export class LemonStorageService { // eslint-disable-next-line @typescript-eslint/no-parameter-properties constructor(private project: string = 'lemon', private storage: Storage = new LocalStorageService()) { - this.prefix = `@${project.toUpperCase()}_LEMON_STORAGE`; + this.prefix = `@${project.toUpperCase()}`; this.storageService = storage; }