From 7a9165bd35364e763f44abcdbd470ec7f6a6e04e Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 12 Oct 2026 20:04:41 +0900 Subject: [PATCH] 1.0.4 RC2 --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index fc423d9..23fd33d 100644 --- a/index.ts +++ b/index.ts @@ -16,13 +16,13 @@ export class ChatEvent { public message: string, ) {} - static json_schema = Type.Object({ + static jsonSchema = Type.Object({ 'instance_name': Type.String(), 'datetime': Type.String(), 'message': Type.String(), }); - static fromJSON(json: Static) { + static fromJSON(json: Static) { return new this(json.instance_name, json.datetime, json.message); } }