@supernova-studio/client 0.30.0 → 0.31.0

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.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -58,7 +58,9 @@ export function documentationHierarchyToYjs(doc: Y.Doc, transaction: Documentati
58
58
  // We remove header from the payload here because it will not get parsed anyway
59
59
  const sanitizedGroup: ElementGroup = {
60
60
  ...group,
61
- data: {},
61
+ data: {
62
+ behavior: group.data?.behavior,
63
+ },
62
64
  };
63
65
 
64
66
  groupsMap.set(group.id, JSON.parse(JSON.stringify(sanitizedGroup)));