@supernova-studio/client 0.54.24 → 0.54.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/client",
3
- "version": "0.54.24",
3
+ "version": "0.54.26",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -593,7 +593,7 @@ function parseAsTableCell(prosemirrorNode: ProsemirrorNode): PageBlockItemTableC
593
593
  const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z.string().optional());
594
594
 
595
595
  let columnWidth: number | undefined;
596
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z.array(z.number()).optional());
596
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z.array(z.number()).nullish());
597
597
  if (columnWidthArray) {
598
598
  columnWidth = roundDimension(columnWidthArray[0]);
599
599
  }