@netless/forge-slide 0.1.1-alpha.2 → 0.1.1-alpha.3

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.js CHANGED
@@ -67104,7 +67104,7 @@ var SlideApplication = class extends import_forge_room4.AbstractApplication {
67104
67104
  });
67105
67105
  Object.defineProperty(this.emitter, "pageCount", {
67106
67106
  get() {
67107
- return that.slide.slideCount;
67107
+ return that.slideCount;
67108
67108
  }
67109
67109
  });
67110
67110
  Object.defineProperty(this.emitter, "goto", {
@@ -67261,6 +67261,7 @@ var SlideApplication = class extends import_forge_room4.AbstractApplication {
67261
67261
  whiteboardApp.userManager = this.userManager;
67262
67262
  whiteboardApp.applicationManager = this.applicationManager;
67263
67263
  const json = await fetch(`${option.prefix}/${option.taskId}/jsonOutput/slide-1.json`).then((res) => res.json());
67264
+ console.log(json.slideCount);
67264
67265
  this.slideCount = json.slideCount;
67265
67266
  await whiteboardApp.initialize({
67266
67267
  width: json.width,
@@ -67340,6 +67341,7 @@ var SlideApplication = class extends import_forge_room4.AbstractApplication {
67340
67341
  } else {
67341
67342
  this.slide.renderSlide(1);
67342
67343
  }
67344
+ console.log("pageCount", this.emitter.pageCount);
67343
67345
  this.permissions = new ForgeSlidePermissions(this.userManager, (userId) => {
67344
67346
  return this.userMap(userId);
67345
67347
  });