feat: Use URLs for channel identifiers

In the future these can potentially be used to dereference them
This commit is contained in:
Joachim Van Herwegen
2023-02-03 15:32:34 +01:00
parent 67d1ff4ac0
commit cbbb10afa1
13 changed files with 58 additions and 68 deletions

View File

@@ -34,7 +34,7 @@ describe('A WebSocketSubscription2021', (): void => {
data.addQuad(quad(subject, RDF.terms.type, NOTIFY.terms.WebSocketSubscription2021));
data.addQuad(quad(subject, NOTIFY.terms.topic, namedNode(topic)));
const id = '4c9b88c1-7502-4107-bb79-2a3a590c7aa3:https://storage.example/resource';
const id = 'http://example.com/foo/4c9b88c1-7502-4107-bb79-2a3a590c7aa3';
channel = {
id,
type: NOTIFY.WebSocketSubscription2021,