diff --git a/gluon.d.ts b/gluon.d.ts index 9d8fad7..b97953b 100644 --- a/gluon.d.ts +++ b/gluon.d.ts @@ -33,7 +33,7 @@ type V8CacheApi = { build( /** Build options. */ options?: V8CacheBuildOptions - ), + ): Promise, /** Load a V8 Cache. */ load( @@ -81,7 +81,7 @@ type PageApi = { * @default false */ ignoreCache?: Boolean - ) + ): Promise, }; type IPCStoreApi = { @@ -327,7 +327,7 @@ type Window = { cdp: CDPApi, /** - * API for Gluon idle management (like hibernation). + * API for Gluon idle management (like hibernation). Chromium only. * @experimental */ idle: IdleApi, @@ -338,6 +338,12 @@ type Window = { /** Control (minimize, maximize, etc) the browser window. */ controls: ControlsApi, + /** + * Interface with V8's Compilation Cache. Chromium only. + * @experimental + */ + v8Cache: V8CacheApi, + /** Close the Gluon window. */ close(): void,