@kimafinance/kima-transaction-widget 1.5.12 → 1.5.13
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/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2268,7 +2268,9 @@ var isValidExternalProvider = (externalProvider) => {
|
|
|
2268
2268
|
|
|
2269
2269
|
// src/shared/logger.ts
|
|
2270
2270
|
var import_loglevel = __toESM(require("loglevel"), 1);
|
|
2271
|
-
var
|
|
2271
|
+
var import_meta = {};
|
|
2272
|
+
var safeEnv = typeof process !== "undefined" && process.env || (import_meta.env ?? {}) || {};
|
|
2273
|
+
var DEFAULT_LOG_LEVEL = safeEnv.LOG_LEVEL || safeEnv.NEXT_PUBLIC_LOG_LEVEL || safeEnv.VITE_LOG_LEVEL || "error";
|
|
2272
2274
|
if (import_loglevel.default.getLevel() !== DEFAULT_LOG_LEVEL) {
|
|
2273
2275
|
console.info("Setting log level from ENV to:", DEFAULT_LOG_LEVEL);
|
|
2274
2276
|
import_loglevel.default.setLevel(DEFAULT_LOG_LEVEL);
|