@supernova-studio/client 0.0.13 → 0.0.15

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.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  import { PageBlockDefinition } from "@supernova-studio/model";
2
2
 
3
- export async function getMockPageBlockDefinitions(): Promise<PageBlockDefinition[]> {
3
+ export function getMockPageBlockDefinitions(): PageBlockDefinition[] {
4
4
  // TODO Blocks
5
5
  return blocks;
6
6
  }
@@ -16,7 +16,7 @@ export const BlockParsingUtils = {
16
16
 
17
17
  richTextPropertyValue(item: PageBlockItemV2, propertyKey: string) {
18
18
  const objectValue = this.objectPropertyValue(item, propertyKey);
19
- const richText = PageBlockText.parse(objectValue);
19
+ const richText = PageBlockText.parse(objectValue.value);
20
20
 
21
21
  return richText;
22
22
  },