@koralabs/kora-labs-common 6.2.0 → 6.2.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.
@@ -6,7 +6,7 @@ const mintedOgList_1 = require("./mintedOgList");
6
6
  exports.IS_SERVER = typeof process !== 'undefined' && typeof process.versions.node !== 'undefined';
7
7
  exports.IS_LOCAL = exports.IS_SERVER ? process.env.IS_LOCAL === 'true' : window.location.host.includes('localhost');
8
8
  exports.IS_AWS = exports.IS_SERVER && !exports.IS_LOCAL && process.env.AWS_REGION;
9
- exports.REDIS_HOST = (_b = (_a = process.env[`REDIS_HOST_${process.env.AWS_REGION}`.toUpperCase().replace('-', '_')]) !== null && _a !== void 0 ? _a : process.env.REDIS_HOST) !== null && _b !== void 0 ? _b : '127.0.0.1';
9
+ exports.REDIS_HOST = (_b = (_a = process.env[`REDIS_HOST_${process.env.AWS_REGION}`.toUpperCase().replace(/-/g, '_')]) !== null && _a !== void 0 ? _a : process.env.REDIS_HOST) !== null && _b !== void 0 ? _b : '127.0.0.1';
10
10
  exports.NETWORK = (_d = (_c = process.env.NETWORK) === null || _c === void 0 ? void 0 : _c.toLowerCase()) !== null && _d !== void 0 ? _d : 'preview';
11
11
  exports.IS_PRODUCTION = exports.IS_SERVER
12
12
  ? ((_e = process.env.NODE_ENV) === null || _e === void 0 ? void 0 : _e.trim()) === 'production' && exports.NETWORK == 'mainnet'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koralabs/kora-labs-common",
3
- "version": "6.2.0",
3
+ "version": "6.2.1",
4
4
  "description": "Kora Labs Common Utilities",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",