@digitalculture/ochre-sdk 0.13.8 → 0.13.9

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.d.mts CHANGED
@@ -651,6 +651,7 @@ type WebElement = {
651
651
  type WebElementComponent = {
652
652
  component: "3d-viewer";
653
653
  resourceId: string;
654
+ fileSize: number | null;
654
655
  isInteractive: boolean;
655
656
  isControlsDisplayed: boolean;
656
657
  isLightingDisplayed: boolean;
package/dist/index.mjs CHANGED
@@ -1720,6 +1720,7 @@ function parseWebElementProperties(componentProperty, elementResource) {
1720
1720
  const isLightingDisplayedProperty = getPropertyValueByLabel(componentProperty.properties, "lighting-displayed");
1721
1721
  if (isLightingDisplayedProperty !== null) isLightingDisplayed = isLightingDisplayedProperty === true;
1722
1722
  properties.resourceId = resourceLink.uuid;
1723
+ properties.fileSize = resourceLink.fileSize;
1723
1724
  properties.isInteractive = isInteractive;
1724
1725
  properties.isControlsDisplayed = isControlsDisplayed;
1725
1726
  properties.isLightingDisplayed = isLightingDisplayed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalculture/ochre-sdk",
3
- "version": "0.13.8",
3
+ "version": "0.13.9",
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",
@@ -43,8 +43,8 @@
43
43
  "zod": "^4.1.13"
44
44
  },
45
45
  "devDependencies": {
46
- "@antfu/eslint-config": "^6.5.1",
47
- "@types/node": "^24.10.2",
46
+ "@antfu/eslint-config": "^6.6.1",
47
+ "@types/node": "^24.10.3",
48
48
  "bumpp": "^10.3.2",
49
49
  "eslint": "^9.39.1",
50
50
  "prettier": "^3.7.4",