diff --git a/libs/dexie-cloud-common/package.json b/libs/dexie-cloud-common/package.json index 9d2cbc990..f10b2315e 100644 --- a/libs/dexie-cloud-common/package.json +++ b/libs/dexie-cloud-common/package.json @@ -1,6 +1,6 @@ { "name": "dexie-cloud-common", - "version": "1.0.27", + "version": "1.0.30", "description": "Library for shared code between dexie-cloud-addon, dexie-cloud (CLI) and dexie-cloud-server", "type": "module", "module": "dist/index.js", diff --git a/libs/dexie-cloud-common/src/types.ts b/libs/dexie-cloud-common/src/types.ts index d38b0eac8..8710d477d 100644 --- a/libs/dexie-cloud-common/src/types.ts +++ b/libs/dexie-cloud-common/src/types.ts @@ -50,14 +50,14 @@ export interface TokenFinalResponse { type: 'tokens'; claims: { sub: string; - license: 'ok' | 'expired' | 'deactivated'; + license?: 'ok' | 'expired' | 'deactivated'; [claimName: string]: any; }; accessToken: string; accessTokenExpiration: number; refreshToken?: string; refreshTokenExpiration?: number | null; - userType: 'demo' | 'eval' | 'prod'; + userType: 'demo' | 'eval' | 'prod' | 'client'; evalDaysLeft?: number; userValidUntil?: number; alerts?: {