@dingrtc/whiteboard 1.1.0 → 1.1.1-beta.1

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.d.ts CHANGED
@@ -2279,6 +2279,8 @@ declare class RtcWhiteboard extends Whiteboard {
2279
2279
  wbManager: WhiteboardManager;
2280
2280
  connection: WebSession;
2281
2281
  users: WhiteboardUser[];
2282
+ joinStatus: 'init' | 'joining' | 'joined' | 'leaving' | 'left';
2283
+ openStatus: 'init' | 'opening' | 'opened' | 'closing' | 'closed';
2282
2284
  constructor(connection: WebSession, wbManager: WhiteboardManager);
2283
2285
  get isConnected(): boolean;
2284
2286
  /**
@@ -2294,7 +2296,8 @@ declare class RtcWhiteboard extends Whiteboard {
2294
2296
  */
2295
2297
  stop: () => void;
2296
2298
  open(wrapperEle: HTMLElement): Promise<void>;
2297
- joinSession(): Promise<void>;
2299
+ close(): void;
2300
+ joinSession(): Promise<void> | Promise<boolean>;
2298
2301
  protected onReceiveCommand: (command: IDSMsg) => void;
2299
2302
  private _handleSnapshotCommand;
2300
2303
  private _handleCoursorCommand;