@netless/app-slide 0.2.76 → 0.2.78

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/main.es.js CHANGED
@@ -37622,7 +37622,8 @@ const EmptyAttributes = {
37622
37622
  url: "",
37623
37623
  state: null,
37624
37624
  resourceList: [],
37625
- previewList: []
37625
+ previewList: [],
37626
+ customLinks: []
37626
37627
  };
37627
37628
  const noop$1 = function noop2() {
37628
37629
  };
@@ -37865,6 +37866,7 @@ class SlideController {
37865
37866
  createSlide(anchor, defaults = {}) {
37866
37867
  var _a, _b, _c;
37867
37868
  const options = this.context.getAppOptions() || {};
37869
+ const attribute = this.context.storage.state;
37868
37870
  const slide = new Slide.Slide({
37869
37871
  anchor,
37870
37872
  interactive: true,
@@ -37893,7 +37895,7 @@ class SlideController {
37893
37895
  whiteTracker: defaults.whiteTracker,
37894
37896
  timestamp: this.timestamp,
37895
37897
  skipActionWhenFrozen: true,
37896
- customLinks: options.customLinks
37898
+ customLinks: attribute.customLinks
37897
37899
  });
37898
37900
  return slide;
37899
37901
  }
@@ -39532,7 +39534,7 @@ class SlidePreviewer {
39532
39534
  }
39533
39535
  }
39534
39536
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39535
- const version = "0.2.76";
39537
+ const version = "0.2.78";
39536
39538
  const SlideApp = {
39537
39539
  kind: "Slide",
39538
39540
  setup(context) {