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)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.65",
|
||||
"version": "0.1.0-develop.66",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.65",
|
||||
"version": "0.1.0-develop.66",
|
||||
"dependencies": {
|
||||
"@lumeweb/libweb": "0.2.0-develop.59",
|
||||
"emittery": "^1.0.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.65",
|
||||
"version": "0.1.0-develop.66",
|
||||
"main": "lib/index.js",
|
||||
"type": "module",
|
||||
"types": "lib/index.d.ts",
|
||||
|
|
|
@ -162,18 +162,11 @@ function handleMessage(event: MessageEvent) {
|
|||
|
||||
// Handle logging messages.
|
||||
if (event.data.method === "log" && !IS_EXTENSION) {
|
||||
// We display the logging message if the kernel is a browser
|
||||
// extension, so that the kernel's logs appear in the app
|
||||
// console as well as the extension console. If the kernel is
|
||||
// in an iframe, its logging messages will already be in the
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
@ -430,7 +423,6 @@ function init(): Promise<void> {
|
|||
loginDefer = defer();
|
||||
kernelLoadedDefer = defer();
|
||||
logoutDefer = defer();
|
||||
kernelLoadedDefer = defer();
|
||||
sourceDefer = defer();
|
||||
|
||||
// Return the initDefer, which will resolve when bootloader init is
|
||||
|
|
Loading…
Reference in New Issue