diff --git a/packages/live-update/src/definitions.ts b/packages/live-update/src/definitions.ts index 4ab52ac..b2a4ae0 100644 --- a/packages/live-update/src/definitions.ts +++ b/packages/live-update/src/definitions.ts @@ -92,6 +92,7 @@ export interface LiveUpdatePlugin { * Only available on Android and iOS. * * @since 5.0.0 + * @deprecated Use `getCurrentBundle()` instead. */ getBundle(): Promise; /** @@ -110,6 +111,14 @@ export interface LiveUpdatePlugin { * @since 5.0.0 */ getChannel(): Promise; + /** + * Get the current bundle identifier. + * + * Only available on Android and iOS. + * + * @since 6.3.0 + */ + getCurrentBundle(): Promise; /** * Get the custom identifier of the app. * @@ -126,6 +135,14 @@ export interface LiveUpdatePlugin { * @since 5.0.0 */ getDeviceId(): Promise; + /** + * Get the next bundle identifier. + * + * Only available on Android and iOS. + * + * @since 6.3.0 + */ + getNextBundle(): Promise; /** * Get the version code of the app. *