activitystreams-xl
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "activitystreams-xl", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "ActivityStreams 1.0 & 2.0 parsing and translation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,3 +28,3 @@ const ltx = require('ltx'); | ||
function entry2as2(el) { | ||
const type = typeForIRI(getText(el, 'verb', ACTIVITYNS)) || getText(el, 'object-type', ACTIVITYNS) || 'Add'; | ||
const type = typeForIRI(getText(el, 'verb', ACTIVITYNS) || getText(el, 'object-type', ACTIVITYNS)) || 'Add'; | ||
const id = getText(el, 'id', ATOMNS); | ||
@@ -31,0 +31,0 @@ |
96895
10
2730