@supernova-studio/client 0.49.1 → 0.50.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/dist/index.mjs CHANGED
@@ -1738,7 +1738,9 @@ var PageBlockText = z39.object({
1738
1738
  var PageBlockGuideline = z39.object({
1739
1739
  description: nullishToOptional(z39.string()),
1740
1740
  asset: nullishToOptional(PageBlockAsset),
1741
- type: z39.string()
1741
+ type: z39.string(),
1742
+ imageAlt: nullishToOptional(z39.string()),
1743
+ imageCaption: nullishToOptional(z39.string())
1742
1744
  });
1743
1745
  var PageBlockBaseV1 = z39.object({
1744
1746
  persistentId: z39.string(),
@@ -6326,9 +6328,9 @@ var VersionRoomBaseYDoc = class {
6326
6328
  }
6327
6329
  updateDocumentationInternalSettings(settings) {
6328
6330
  const map = this.internalSettingsYMap;
6329
- map.set("routingVersion", settings.routingVersion);
6330
- map.set("isDraftFeatureAdopted", settings.isDraftFeatureAdopted);
6331
- map.set("isApprovalFeatureEnabled", settings.isApprovalFeatureEnabled);
6331
+ map.set("routingVersion", settings.routingVersion ?? map.get("routingVersion"));
6332
+ map.set("isDraftFeatureAdopted", settings.isDraftFeatureAdopted ?? map.get("isDraftFeatureAdopted"));
6333
+ map.set("isApprovalFeatureEnabled", settings.isApprovalFeatureEnabled ?? map.get("isApprovalFeatureEnabled"));
6332
6334
  }
6333
6335
  get internalSettingsYMap() {
6334
6336
  return this.yDoc.getMap("documentationInternalSettings");