From bf896a076c737119c87020ae5dc3b5c3da014afa Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Mon, 13 Sep 2021 13:17:32 +0200 Subject: [PATCH] Update context version --- src/chat-messages.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/chat-messages.js b/src/chat-messages.js index 573966f..912a418 100644 --- a/src/chat-messages.js +++ b/src/chat-messages.js @@ -20,7 +20,7 @@ const ChatMessages = function (privateClient, publicClient) { * * @example * { - * "@context": "https://kosmos.org/ns/v1", + * "@context": "https://kosmos.org/ns/v2", * "@id": "chat-messages/irc.libera.chat/channels/kosmos/", * "@type": "ChatChannel", * "service": { @@ -48,8 +48,8 @@ const ChatMessages = function (privateClient, publicClient) { "properties": { "@context": { "type": "string", - "default": "https://kosmos.org/ns/v1", - "enum": ["https://kosmos.org/ns/v1"] + "default": "https://kosmos.org/ns/v2", + "enum": ["https://kosmos.org/ns/v2"] }, "@id": { "type": "string", @@ -141,8 +141,8 @@ const ChatMessages = function (privateClient, publicClient) { "required": [] }; - privateClient.declareType("daily-archive", "https://kosmos.org/ns/v1", archiveSchema); - publicClient.declareType("daily-archive", "https://kosmos.org/ns/v1", archiveSchema); + privateClient.declareType("daily-archive", "https://kosmos.org/ns/v2", archiveSchema); + publicClient.declareType("daily-archive", "https://kosmos.org/ns/v2", archiveSchema); /** * A daily archive stores chat messages by calendar day.