fix(core): update

This commit is contained in:
Philipp Kunz 2022-05-28 23:22:31 +02:00
parent f408337186
commit 33692ff417
2 changed files with 11 additions and 3 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartenv',
version: '5.0.2',
description: 'store things about your environment and let them travel across modules'
}

View File

@ -65,10 +65,10 @@ export class Smartenv {
}
public get runtimeEnv() {
if (typeof window !== 'undefined') {
return 'browser';
} else if (typeof process !== 'undefined') {
if (typeof process !== 'undefined') {
return 'node';
} else {
return 'browser';
}
}