From 097f40e37108cd3a1816b1c2cc69a137ae317069 Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 11 Sep 2021 17:13:26 +0100 Subject: [PATCH] _id should not be optional on SessionInfo --- package.json | 2 +- types/Auth.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a105323..cfe06de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "revolt-api", - "version": "0.5.3-alpha.0", + "version": "0.5.3-alpha.0-patch.0", "description": "Revolt API typings", "main": "dist/index.js", "type": "module", diff --git a/types/Auth.ts b/types/Auth.ts index daa7314..a10e8c5 100644 --- a/types/Auth.ts +++ b/types/Auth.ts @@ -43,7 +43,7 @@ export interface SessionInfo { /** * Session ID */ - _id?: Id; + _id: Id; /** * Device name