superdoc 2.18.0-next.8 → 2.18.0-next.9

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.
@@ -19,7 +19,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
19
19
  var PRIVATE_ENGINE_INFO = (0, _superdoc_docx_engine_collaboration_upgrade_engine.getCollaborationUpgradeEngineInfo)();
20
20
  var ENGINE_INFO = Object.freeze({
21
21
  ...PRIVATE_ENGINE_INFO,
22
- superdocVersion: "2.18.0-next.8",
22
+ superdocVersion: "2.18.0-next.9",
23
23
  roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
24
24
  supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
25
25
  supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
@@ -18,7 +18,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
18
18
  var PRIVATE_ENGINE_INFO = getCollaborationUpgradeEngineInfo$1();
19
19
  var ENGINE_INFO = Object.freeze({
20
20
  ...PRIVATE_ENGINE_INFO,
21
- superdocVersion: "2.18.0-next.8",
21
+ superdocVersion: "2.18.0-next.9",
22
22
  roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
23
23
  supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
24
24
  supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
@@ -10,6 +10,8 @@ export interface BlockListEntry {
10
10
  textPreview: string | null;
11
11
  /** Full flattened block text when requested via BlocksListInput.includeText. */
12
12
  text?: string | null;
13
+ /** Count of U+0009 tabs in complete flattened paragraph text, including tabs outside textPreview. */
14
+ tabCount?: number;
13
15
  isEmpty: boolean;
14
16
  /** Named paragraph style ID (e.g. 'Normal', 'Heading1'). */
15
17
  styleId?: string | null;
package/dist/superdoc.cjs CHANGED
@@ -316,7 +316,7 @@ var shuffleArray = (array) => {
316
316
  var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
317
317
  function getSuperdocVersion() {
318
318
  try {
319
- return "2.18.0-next.8";
319
+ return "2.18.0-next.9";
320
320
  } catch {
321
321
  return "unknown";
322
322
  }
@@ -45726,7 +45726,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
45726
45726
  this.config.colors = shuffleArray(this.config.colors);
45727
45727
  this.userColorMap = /* @__PURE__ */ new Map();
45728
45728
  this.colorIndex = 0;
45729
- this.version = "2.18.0-next.8";
45729
+ this.version = "2.18.0-next.9";
45730
45730
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
45731
45731
  this.superdocId = config.superdocId || require_uuid.v4();
45732
45732
  this.colors = this.config.colors ?? [];
@@ -315,7 +315,7 @@ var shuffleArray = (array) => {
315
315
  var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
316
316
  function getSuperdocVersion() {
317
317
  try {
318
- return "2.18.0-next.8";
318
+ return "2.18.0-next.9";
319
319
  } catch {
320
320
  return "unknown";
321
321
  }
@@ -45657,7 +45657,7 @@ var SuperDoc = class extends import_eventemitter3.default {
45657
45657
  this.config.colors = shuffleArray(this.config.colors);
45658
45658
  this.userColorMap = /* @__PURE__ */ new Map();
45659
45659
  this.colorIndex = 0;
45660
- this.version = "2.18.0-next.8";
45660
+ this.version = "2.18.0-next.9";
45661
45661
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
45662
45662
  this.superdocId = config.superdocId || v4();
45663
45663
  this.colors = this.config.colors ?? [];