Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 0c91c3a4ec | |
Derrick Hammer | d3259fa3f4 | |
Derrick Hammer | a4b9b46a3e |
|
@ -1,3 +1,11 @@
|
||||||
|
# [0.1.0-develop.66](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.65...v0.1.0-develop.66) (2023-10-12)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* always show log data ([d3259fa](https://git.lumeweb.com/LumeWeb/libkernel/commit/d3259fa3f4b2330031480b10b41af11d038c0dc6))
|
||||||
|
* duplicate kernelLoadedDefer ([a4b9b46](https://git.lumeweb.com/LumeWeb/libkernel/commit/a4b9b46a3e8f1d4f89dbb1ec87fa3b2f605bc91a))
|
||||||
|
|
||||||
# [0.1.0-develop.65](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.64...v0.1.0-develop.65) (2023-10-09)
|
# [0.1.0-develop.65](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.64...v0.1.0-develop.65) (2023-10-09)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/libkernel",
|
"name": "@lumeweb/libkernel",
|
||||||
"version": "0.1.0-develop.65",
|
"version": "0.1.0-develop.66",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/libkernel",
|
"name": "@lumeweb/libkernel",
|
||||||
"version": "0.1.0-develop.65",
|
"version": "0.1.0-develop.66",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libweb": "0.2.0-develop.59",
|
"@lumeweb/libweb": "0.2.0-develop.59",
|
||||||
"emittery": "^1.0.1",
|
"emittery": "^1.0.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/libkernel",
|
"name": "@lumeweb/libkernel",
|
||||||
"version": "0.1.0-develop.65",
|
"version": "0.1.0-develop.66",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|
|
@ -162,17 +162,10 @@ function handleMessage(event: MessageEvent) {
|
||||||
|
|
||||||
// Handle logging messages.
|
// Handle logging messages.
|
||||||
if (event.data.method === "log" && !IS_EXTENSION) {
|
if (event.data.method === "log" && !IS_EXTENSION) {
|
||||||
// We display the logging message if the kernel is a browser
|
if (event.data.data.isErr) {
|
||||||
// extension, so that the kernel's logs appear in the app
|
console.error(event.data.data.message);
|
||||||
// console as well as the extension console. If the kernel is
|
} else {
|
||||||
// in an iframe, its logging messages will already be in the
|
console.log(event.data.data.message);
|
||||||
// app console and therefore don't need to be displayed.
|
|
||||||
if (kernelOrigin === window.origin) {
|
|
||||||
if (event.data.data.isErr) {
|
|
||||||
console.error(event.data.data.message);
|
|
||||||
} else {
|
|
||||||
console.log(event.data.data.message);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -430,7 +423,6 @@ function init(): Promise<void> {
|
||||||
loginDefer = defer();
|
loginDefer = defer();
|
||||||
kernelLoadedDefer = defer();
|
kernelLoadedDefer = defer();
|
||||||
logoutDefer = defer();
|
logoutDefer = defer();
|
||||||
kernelLoadedDefer = defer();
|
|
||||||
sourceDefer = defer();
|
sourceDefer = defer();
|
||||||
|
|
||||||
// Return the initDefer, which will resolve when bootloader init is
|
// Return the initDefer, which will resolve when bootloader init is
|
||||||
|
|
Loading…
Reference in New Issue