@digitalculture/ochre-sdk 0.2.7 → 0.2.8

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.
package/dist/index.cjs CHANGED
@@ -898,7 +898,7 @@ function parseProperties(properties, language = "eng") {
898
898
  for (const property of properties) {
899
899
  const valuesToParse = "value" in property && property.value ? Array.isArray(property.value) ? property.value : [property.value] : [];
900
900
  const values = valuesToParse.map(
901
- (value) => !["string", "number", "boolean"].includes(typeof value) && typeof value === "object" && "uuid" in value ? {
901
+ (value) => !["string", "number", "boolean"].includes(typeof value) && typeof value === "object" ? {
902
902
  content: parseStringContent(value),
903
903
  type: value.type,
904
904
  category: value.category !== "value" ? value.category ?? null : null,
package/dist/index.js CHANGED
@@ -820,7 +820,7 @@ function parseProperties(properties, language = "eng") {
820
820
  for (const property of properties) {
821
821
  const valuesToParse = "value" in property && property.value ? Array.isArray(property.value) ? property.value : [property.value] : [];
822
822
  const values = valuesToParse.map(
823
- (value) => !["string", "number", "boolean"].includes(typeof value) && typeof value === "object" && "uuid" in value ? {
823
+ (value) => !["string", "number", "boolean"].includes(typeof value) && typeof value === "object" ? {
824
824
  content: parseStringContent(value),
825
825
  type: value.type,
826
826
  category: value.category !== "value" ? value.category ?? null : null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalculture/ochre-sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Node.js library for working with OCHRE (Online Cultural and Historical Research Environment) data",