Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 4ca68f2027 | |
Derrick Hammer | c955e22d02 | |
Derrick Hammer | 2d7d057b05 |
|
@ -1,3 +1,10 @@
|
|||
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-06-29)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* need typeof ([2d7d057](https://git.lumeweb.com/LumeWeb/libkernel/commit/2d7d057b052c55e9eaf48f38798075a138c1bac1))
|
||||
|
||||
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-06-29)
|
||||
|
||||
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-06-28)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.4",
|
||||
"version": "0.1.0-develop.5",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.4",
|
||||
"version": "0.1.0-develop.5",
|
||||
"dependencies": {
|
||||
"@lumeweb/libweb": "^0.2.0-develop.20",
|
||||
"eventemitter2": "^6.4.9"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libkernel",
|
||||
"version": "0.1.0-develop.4",
|
||||
"version": "0.1.0-develop.5",
|
||||
"main": "lib/index.js",
|
||||
"type": "module",
|
||||
"types": "lib/index.d.ts",
|
||||
|
|
|
@ -12,7 +12,7 @@ import {
|
|||
} from "#module/index.js";
|
||||
|
||||
// @ts-ignore
|
||||
const kernelEnv = window !== "undefined" && window?.document;
|
||||
const kernelEnv = typeof window !== "undefined" && window?.document;
|
||||
|
||||
export const callModule = kernelEnv ? callModuleKernel : callModuleModule;
|
||||
export const connectModule = kernelEnv
|
||||
|
|
Loading…
Reference in New Issue