diff --git a/src/content/docs/docs/plugin/api.md b/src/content/docs/docs/plugin/api.md index 3d9c01e8..6cdf2d24 100644 --- a/src/content/docs/docs/plugin/api.md +++ b/src/content/docs/docs/plugin/api.md @@ -157,6 +157,7 @@ export default config; * [`addListener('appReloaded', ...)`](#addlistenerappreloaded-) * [`addListener('appReady', ...)`](#addlistenerappready-) * [`isAutoUpdateAvailable()`](#isautoupdateavailable) +* [`getNextBundle()`](#getnextbundle) * [Interfaces](#interfaces) * [Type Aliases](#type-aliases) @@ -731,6 +732,22 @@ Get if auto update is available (not disabled by serverUrl). -------------------- +## getNextBundle() + +```typescript +getNextBundle() => Promise +``` + +Get the next bundle that will be used when the app reloads. +Returns null if no next bundle is set. + +**Returns:** Promise<BundleInfo | null> + +**Since:** 6.8.0 + +-------------------- + + ## Interfaces