@inappstory/slide-api 0.0.9 → 0.0.10

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.cjs CHANGED
@@ -1155,7 +1155,10 @@ class EsModuleSdkApi {
1155
1155
  return this.sdkBinding().getStorySessionValue(key);
1156
1156
  }
1157
1157
  updateTimeline(slideIndex, action, currentTime, duration, showLoader, showError) {
1158
- this.sdkBinding().updateTimeline(slideIndex, action, currentTime, duration, showLoader, showError);
1158
+ const updateTimeline = this.sdkBinding().updateTimeline;
1159
+ if (updateTimeline != null) {
1160
+ updateTimeline(slideIndex, action, currentTime, duration, showLoader, showError);
1161
+ }
1159
1162
  }
1160
1163
  storyPausedCallback(currentTime) { }
1161
1164
  storyResumedCallback(currentTime) { }