@netless/slide 0.3.8 → 0.3.9

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/README.md CHANGED
@@ -495,3 +495,7 @@ static clearLocalCache(): void;
495
495
 
496
496
  #### 0.3.8
497
497
  * subtask 错误添加子任务类型输出,方便定位 bug
498
+
499
+ #### 0.3.9
500
+ * 新增 resourceTimeout 配置
501
+ * 修复资源加载引起的错误无法跳转下一页的问题
package/lib/Slide.d.ts CHANGED
@@ -153,6 +153,10 @@ export interface ISlideConfig {
153
153
  * 默认为 true
154
154
  */
155
155
  useLocalCache?: boolean;
156
+ /**
157
+ * 资源加载超时时间, 默认 15 秒
158
+ */
159
+ resourceTimeout?: number;
156
160
  }
157
161
  interface MediaState {
158
162
  type: "pause" | "play";