ezfw-core 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/core/ez.ts +5 -2
  2. package/package.json +8 -2
package/core/ez.ts CHANGED
@@ -603,8 +603,11 @@ const ez: EzFramework = {
603
603
  utils: EzUtils
604
604
  };
605
605
 
606
- await ez._initModules();
607
- ez._initTheme();
606
+ // Initialize framework
607
+ (async () => {
608
+ await ez._initModules();
609
+ ez._initTheme();
610
+ })();
608
611
 
609
612
  window.ez = ez;
610
613
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ezfw-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Ez Framework - A declarative component framework for building modern web applications",
5
5
  "type": "module",
6
6
  "main": "./core/ez.ts",
@@ -43,7 +43,13 @@
43
43
  },
44
44
  "peerDependencies": {
45
45
  "vite": ">=5.0.0",
46
- "sass": ">=1.69.0"
46
+ "sass": ">=1.69.0",
47
+ "firebase": ">=10.0.0",
48
+ "libsodium-wrappers": ">=0.7.0"
49
+ },
50
+ "peerDependenciesMeta": {
51
+ "firebase": { "optional": true },
52
+ "libsodium-wrappers": { "optional": true }
47
53
  },
48
54
  "engines": {
49
55
  "node": ">=18.0.0"