comparison src/SourceGraph.ts @ 130:73a70d00fb74

dep upgrades; working on build+release setup
author drewp@bigasterisk.com
date Sat, 06 May 2023 13:11:19 -0700
parents 5a1a79f54779
children a8939c717015
comparison
equal deleted inserted replaced
129:f47661b9ed34 130:73a70d00fb74
38 // clear store here? 38 // clear store here?
39 39
40 // maybe the event messages should be 'add' and 'del', 40 // maybe the event messages should be 'add' and 'del',
41 // for less parsing and clearer order of ops. 41 // for less parsing and clearer order of ops.
42 ev.addEventListener("patch", async (ev) => { 42 ev.addEventListener("patch", async (ev) => {
43 const patchMsg = JSON.parse(ev.data); 43 const patchMsg = JSON.parse((ev as any).data);
44 44
45 const p = new Patch(); 45 const p = new Patch();
46 46
47 const parser = new JsonLdParser(); 47 const parser = new JsonLdParser();
48 parser.write(JSON.stringify(patchMsg.patch.adds)); 48 parser.write(JSON.stringify(patchMsg.patch.adds));