@ereo/runtime-bun 0.2.29 → 0.2.35

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/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -90,7 +90,7 @@ function env(key, defaultValue) {
90
90
  }
91
91
  function requireEnv(key) {
92
92
  const value = Bun.env[key];
93
- if (!value) {
93
+ if (value === undefined || value === null) {
94
94
  throw new Error(`Missing required environment variable: ${key}`);
95
95
  }
96
96
  return value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ereo/runtime-bun",
3
- "version": "0.2.29",
3
+ "version": "0.2.35",
4
4
  "license": "MIT",
5
5
  "author": "Ereo Team",
6
6
  "homepage": "https://ereojs.github.io/ereoJS",
@@ -32,8 +32,8 @@
32
32
  "typecheck": "tsc --noEmit"
33
33
  },
34
34
  "dependencies": {
35
- "@ereo/core": "^0.2.29",
36
- "@ereo/server": "^0.2.29"
35
+ "@ereo/core": "^0.2.35",
36
+ "@ereo/server": "^0.2.35"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/bun": "^1.1.0",