contacts-pane 2.6.4-2a10406e → 2.6.4-3ff0df2c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/webidControl.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contacts-pane",
3
- "version": "2.6.4-2a10406e",
3
+ "version": "2.6.4-3ff0df2c",
4
4
  "description": "Contacts Pane: Contacts manager for Address Book, Groups, and Individuals.",
5
5
  "main": "./contactsPane.js",
6
6
  "scripts": {
package/webidControl.js CHANGED
@@ -51,14 +51,14 @@ export async function addWebIDToContacts (person, webid, urlType, kb) {
51
51
  $rdf.st(vcardURLThing, ns.rdf('type'), urlType, person.doc()),
52
52
  $rdf.st(vcardURLThing, ns.vcard('value'), webid, person.doc())
53
53
  ]
54
- // insert webID in groups
55
- // replace person with webId in vcard:hasMember (webId may already exist)
54
+ // insert WebID in groups
55
+ // replace person with WebID in vcard:hasMember (WebID may already exist)
56
56
  // insert owl:sameAs
57
57
  const groups = kb.each(null, ns.vcard('hasMember'), person)
58
58
  const deletables = []
59
59
  groups.forEach(group => {
60
60
  deletables.push($rdf.st(group, ns.vcard('hasMember'), person, group.doc()))
61
- insertables.push($rdf.st(group, ns.vcard('hasMember'), kb.sym(webid), group.doc())) // may exist do we need to check ?
61
+ insertables.push($rdf.st(group, ns.vcard('hasMember'), kb.sym(webid), group.doc())) // May exist; do we need to check?
62
62
  insertables.push($rdf.st(person, ns.owl('sameAs'), kb.sym(webid), group.doc()))
63
63
  })
64
64
  try {