@common-stack/core 6.0.8-alpha.21 → 6.0.8-alpha.23

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.
@@ -2,7 +2,7 @@ import'envalid';/* eslint-disable no-nested-ternary */
2
2
  /* eslint-disable @typescript-eslint/ban-ts-comment */
3
3
  /* define functions to set/get underscore variables */
4
4
  // @ts-ignore
5
- const getGlobals = () => typeof window !== 'undefined' ? window : process.env.SERVER_ENV === 'production' ? process.env : global;
5
+ const getGlobals = () => typeof window !== 'undefined' ? window : process.env.SERVER_ENV === 'cloudflare' ? process.env : global;
6
6
  const getGlobalVariable = (key, _default = undefined) => {
7
7
  const globals = getGlobals();
8
8
  if (globals.hasOwnProperty(key)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/core",
3
- "version": "6.0.8-alpha.21",
3
+ "version": "6.0.8-alpha.23",
4
4
  "description": "Common core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -23,7 +23,7 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "gitHead": "e39de8e8c24fda15388b81452c7e85737ba35f07",
26
+ "gitHead": "43edc2f448dd53fb141f5c968f1eabfe3295c78f",
27
27
  "typescript": {
28
28
  "definition": "lib/index.d.ts"
29
29
  }