release: 0.12.0

This commit is contained in:
CanadaHonk 2023-01-28 00:42:57 +00:00
parent e3ae5a48b9
commit aa06f704af
4 changed files with 10 additions and 6 deletions

View File

@ -1,8 +1,6 @@
# Gluon Changelog # Gluon Changelog
## v0.12.0 (in development) ## [v0.12.0 - 2023-01-28](https://gluonjs.org/blog/gluon-v0.12/)
- Added Linux/Mac support to Idle Hibernation (alpha.0)
## [v0.11.0 - 2023-01-08](https://gluonjs.org/blog/gluon-v0.11/) ## [v0.11.0 - 2023-01-08](https://gluonjs.org/blog/gluon-v0.11/)

8
gluon.d.ts vendored
View File

@ -201,7 +201,13 @@ type CDPApi = {
method: string, method: string,
/** Callback to run when the given method is emitted. */ /** Callback to run when the given method is emitted. */
callback: (message: any) => void callback: (message: any) => void,
/**
* Unhook once the callback is called the first time.
* @default false
*/
once: Boolean
): (() => void) ): (() => void)
}; };

View File

@ -1,6 +1,6 @@
{ {
"name": "@gluon-framework/gluon", "name": "@gluon-framework/gluon",
"version": "0.12.0-alpha.2", "version": "0.12.0",
"description": "Make websites into desktop apps with system installed browsers and NodeJS.", "description": "Make websites into desktop apps with system installed browsers and NodeJS.",
"main": "src/index.js", "main": "src/index.js",
"types": "gluon.d.ts", "types": "gluon.d.ts",

View File

@ -8,7 +8,7 @@ import Firefox from './browser/firefox.js';
import LocalServer from './lib/local/server.js'; import LocalServer from './lib/local/server.js';
process.versions.gluon = '0.12.0-alpha.2'; process.versions.gluon = '0.12.0';
const __filename = fileURLToPath(import.meta.url); const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename); const __dirname = dirname(__filename);