@digitalculture/ochre-sdk 0.3.4 → 0.3.5
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 +5 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -1667,7 +1667,12 @@ async function parseWebElementProperties(componentProperty, elementResource) {
|
|
|
1667
1667
|
if (variant === null) {
|
|
1668
1668
|
variant = "block";
|
|
1669
1669
|
}
|
|
1670
|
+
const heading = getPropertyValueByLabel(
|
|
1671
|
+
componentProperty.properties,
|
|
1672
|
+
"heading"
|
|
1673
|
+
);
|
|
1670
1674
|
properties.variant = variant;
|
|
1675
|
+
properties.heading = heading;
|
|
1671
1676
|
properties.content = document.content;
|
|
1672
1677
|
break;
|
|
1673
1678
|
}
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1589,7 +1589,12 @@ async function parseWebElementProperties(componentProperty, elementResource) {
|
|
|
1589
1589
|
if (variant === null) {
|
|
1590
1590
|
variant = "block";
|
|
1591
1591
|
}
|
|
1592
|
+
const heading = getPropertyValueByLabel(
|
|
1593
|
+
componentProperty.properties,
|
|
1594
|
+
"heading"
|
|
1595
|
+
);
|
|
1592
1596
|
properties.variant = variant;
|
|
1597
|
+
properties.heading = heading;
|
|
1593
1598
|
properties.content = document.content;
|
|
1594
1599
|
break;
|
|
1595
1600
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digitalculture/ochre-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
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",
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"iso-639-3": "^3.0.1",
|
|
44
|
-
"zod": "^3.24.
|
|
44
|
+
"zod": "^3.24.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@antfu/eslint-config": "^4.
|
|
47
|
+
"@antfu/eslint-config": "^4.3.0",
|
|
48
48
|
"@arethetypeswrong/cli": "^0.17.3",
|
|
49
|
-
"@changesets/cli": "^2.
|
|
49
|
+
"@changesets/cli": "^2.28.0",
|
|
50
50
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
51
|
-
"@types/node": "^22.13.
|
|
52
|
-
"eslint": "^9.
|
|
51
|
+
"@types/node": "^22.13.4",
|
|
52
|
+
"eslint": "^9.20.1",
|
|
53
53
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
54
|
-
"prettier": "^3.
|
|
54
|
+
"prettier": "^3.5.1",
|
|
55
55
|
"tsup": "^8.3.6",
|
|
56
56
|
"typescript": "^5.7.3",
|
|
57
|
-
"vitest": "^3.0.
|
|
57
|
+
"vitest": "^3.0.6"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"dev": "tsup src/index.ts --watch",
|