@appconda/nextjs 1.0.82 → 1.0.83

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.
package/dist/lib/env.js CHANGED
@@ -115,10 +115,10 @@ export const getEnv = (() => {
115
115
  * 💡 You'll get type errors if not all variables from `server` & `client` are included here.
116
116
  */
117
117
  runtimeEnv: {
118
- APPCONDA_ENDPOINT: typeof window !== 'undefined' ? process.env.APPCONDA_ENDPOINT : "",
119
- APPCONDA_CLIENT_ENDPOINT: typeof window !== 'undefined' ? process.env.APPCONDA_CLIENT_ENDPOINT : "",
120
- _SERVICE_TOKEN: typeof window !== 'undefined' ? process.env._SERVICE_TOKEN : "",
121
- ENTERPRISE_LICENSE_KEY: typeof window !== 'undefined' ? process.env.ENTERPRISE_LICENSE_KEY : "",
118
+ APPCONDA_ENDPOINT: process.env.APPCONDA_ENDPOINT,
119
+ APPCONDA_CLIENT_ENDPOINT: process.env.APPCONDA_CLIENT_ENDPOINT,
120
+ _SERVICE_TOKEN: process.env._SERVICE_TOKEN,
121
+ ENTERPRISE_LICENSE_KEY: process.env.ENTERPRISE_LICENSE_KEY,
122
122
  },
123
123
  });
124
124
  console.log(env);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@appconda/nextjs",
3
3
  "homepage": "https://appconda.io/support",
4
4
  "description": "Appconda is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5
- "version": "1.0.82",
5
+ "version": "1.0.83",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
package/src/lib/env.ts CHANGED
@@ -118,10 +118,10 @@ export const getEnv = (() => {
118
118
  * 💡 You'll get type errors if not all variables from `server` & `client` are included here.
119
119
  */
120
120
  runtimeEnv: {
121
- APPCONDA_ENDPOINT: typeof window !== 'undefined' ? process.env.APPCONDA_ENDPOINT : "",
122
- APPCONDA_CLIENT_ENDPOINT: typeof window !== 'undefined' ? process.env.APPCONDA_CLIENT_ENDPOINT : "",
123
- _SERVICE_TOKEN: typeof window !== 'undefined' ? process.env._SERVICE_TOKEN : "",
124
- ENTERPRISE_LICENSE_KEY: typeof window !== 'undefined' ? process.env.ENTERPRISE_LICENSE_KEY : "",
121
+ APPCONDA_ENDPOINT: process.env.APPCONDA_ENDPOINT,
122
+ APPCONDA_CLIENT_ENDPOINT: process.env.APPCONDA_CLIENT_ENDPOINT,
123
+ _SERVICE_TOKEN: process.env._SERVICE_TOKEN,
124
+ ENTERPRISE_LICENSE_KEY: process.env.ENTERPRISE_LICENSE_KEY,
125
125
  },
126
126
  });
127
127
  console.log(env);