@netless/app-slide 0.2.96 → 0.2.98

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
@@ -303,6 +303,8 @@ interface ISlideConfig {
303
303
  skipActionWhenFrozen?: boolean;
304
304
  enableAutoForward?: boolean;
305
305
  customLinks?: CustomLink[];
306
+ resourceMaxRetries?: number;
307
+ onResourceMaxRetries?: (url: string, error: Error) => void;
306
308
  }
307
309
  interface MediaState {
308
310
  type: "pause" | "play";
@@ -1226,6 +1228,8 @@ interface AppOptions extends Pick<ISlideConfig, "rtcAudio" | "useLocalCache" | "
1226
1228
  /** just readonly, no operate silder */
1227
1229
  justSildeReadonly?: true;
1228
1230
  enableScale?: boolean;
1231
+ resourceMaxRetries?: number;
1232
+ onResourceMaxRetries: (url: string, error: Error) => void;
1229
1233
  }
1230
1234
  interface ILogger {
1231
1235
  info?(msg: string): void;