weboffice-js-sdk 2.0.5-beta.11 → 2.0.5-beta.12

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.
@@ -9,6 +9,7 @@ import { Document, DocumentPro, Presentation, Spreadsheet, Table, Form, Flowchar
9
9
  import { EmptyPageOptions } from './types/EmptyPage';
10
10
  import { BaseEditor } from './types/BaseEditor';
11
11
  import { SlashMenuOptions } from './types/SlashMenu';
12
+ import type { ContentVersion } from './types/ConnectV2';
12
13
  import type { CollaboratorFacade, CommentsFacade, ContentFacade, DiscussionFacade, DocsOutlineFacade, DocsSearchFacade, DocsSelectionFacade, DocsSettingsFacade, DocsSidebarFacade, DocsTablesFacade, ExternalAppFacade, HistoryFacade, LocksFacade, MentionFacade, OfficeSDKPresentationFacade, PresentationEventSubscriptionFacade, PresentationSelectionFacade, PresentationSlidesFacade, PresentationTextFacade, PresentationZoomFacade, SheetChartsFacade, SheetSelectionsFacade, SheetWorkbookFacade, SheetWorksheetFacade, TitleFacade, VersionFacade } from './OfficeSDK.facade.types';
13
14
  import type { HeaderBarsFacade } from './OfficeSDK.headerBars';
14
15
  export * from './OfficeSDK.facade.types';
@@ -177,6 +178,7 @@ export declare class OfficeSDK extends TinyEmitter {
177
178
  private readonly emitter;
178
179
  private channel;
179
180
  private readonly connectOptions;
181
+ private readonly contentVersion?;
180
182
  private _readyState;
181
183
  private editor;
182
184
  private readonly startParams;
@@ -214,7 +216,7 @@ export declare class OfficeSDK extends TinyEmitter {
214
216
  private readonly preloadAckTimeoutMs;
215
217
  private readonly preloadDoneTimeoutMs;
216
218
  private readonly preloadReadyTimeoutMs;
217
- constructor(options: OfficeSDKOptions);
219
+ constructor(options: OfficeSDKOptions, contentVersion?: ContentVersion);
218
220
  get fileType(): FileType;
219
221
  get readyState(): ReadyState;
220
222
  /**