diff --git a/packages/types/src/session.ts b/packages/types/src/session.ts index 3d62a8085444..78b7a5b39654 100644 --- a/packages/types/src/session.ts +++ b/packages/types/src/session.ts @@ -6,7 +6,7 @@ export interface RequestSession { export interface Session { sid: string; - did?: string; + did?: string | number; init: boolean; // seconds since the UNIX epoch timestamp: number; diff --git a/packages/types/src/user.ts b/packages/types/src/user.ts index 0295c1432727..9c48c7f4967f 100644 --- a/packages/types/src/user.ts +++ b/packages/types/src/user.ts @@ -1,7 +1,7 @@ /** JSDoc */ export interface User { [key: string]: any; - id?: string; + id?: string | number; ip_address?: string; email?: string; username?: string;