@supernova-studio/client 0.47.44 → 0.47.45

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.47.44",
3
+ "version": "0.47.45",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -233,4 +233,14 @@ export class FrontendVersionRoomYDoc {
233
233
  [pageId]: pageContentHash,
234
234
  });
235
235
  }
236
+
237
+ //
238
+ // Misc
239
+ //
240
+
241
+ isDraftFeatureAdopted() {
242
+ const doc = new VersionRoomBaseYDoc(this.yDoc);
243
+ const settings = doc.getDocumentationInternalSettings();
244
+ return settings.isDraftFeatureAdopted;
245
+ }
236
246
  }