ochre-sdk 1.0.24 → 1.0.25
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/parsers/index.mjs +1 -1
- package/package.json +2 -2
package/dist/parsers/index.mjs
CHANGED
|
@@ -1320,7 +1320,7 @@ function parseItem(rawData, options) {
|
|
|
1320
1320
|
abbreviation: rawOchre.belongsTo
|
|
1321
1321
|
};
|
|
1322
1322
|
const metadata = parseMetadata(rawOchre, parserOptions, defaultLanguage);
|
|
1323
|
-
const persistentUrl =
|
|
1323
|
+
const persistentUrl = rawOchre.persistentUrl ?? null;
|
|
1324
1324
|
const item = parseTopLevelItem(rawOchre, category, parserOptions);
|
|
1325
1325
|
if (category === "resource") {
|
|
1326
1326
|
const rawResource = getSingleTopLevelRawItem("resource" in rawOchre ? rawOchre.resource : null, "resource");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ochre-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
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",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"eslint": "^10.4.0",
|
|
80
80
|
"knip": "^6.14.2",
|
|
81
81
|
"prettier": "^3.8.3",
|
|
82
|
-
"tsdown": "^0.22.
|
|
82
|
+
"tsdown": "^0.22.1",
|
|
83
83
|
"typescript": "^6.0.3",
|
|
84
84
|
"vitest": "^4.1.7"
|
|
85
85
|
},
|