Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jan 3, 2025
1 parent ced77df commit d315557
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/content/docs/docs/plugin/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export default config;
* [`addListener('appReloaded', ...)`](#addlistenerappreloaded-)
* [`addListener('appReady', ...)`](#addlistenerappready-)
* [`isAutoUpdateAvailable()`](#isautoupdateavailable)
* [`getNextBundle()`](#getnextbundle)
* [Interfaces](#interfaces)
* [Type Aliases](#type-aliases)

Expand Down Expand Up @@ -731,6 +732,22 @@ Get if auto update is available (not disabled by serverUrl).
--------------------


## getNextBundle()

```typescript
getNextBundle() => Promise<BundleInfo | null>
```

Get the next bundle that will be used when the app reloads.
Returns null if no next bundle is set.

**Returns:** <code>Promise&lt;<a href="#bundleinfo">BundleInfo</a> | null&gt;</code>

**Since:** 6.8.0

--------------------


## Interfaces


Expand Down

0 comments on commit d315557

Please sign in to comment.