@djangocfg/api 2.1.232 → 2.1.234

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/README.md CHANGED
@@ -1,3 +1,9 @@
1
+ <div align="center">
2
+
3
+ ![@djangocfg/api](https://raw.githubusercontent.com/markolofsen/assets/main/libs/djangocfg/api.webp)
4
+
5
+ </div>
6
+
1
7
  # @djangocfg/api
2
8
 
3
9
  Core authentication API client and auth system for DjangoCFG applications.
@@ -1427,9 +1427,14 @@ var BaseClient = class {
1427
1427
 
1428
1428
  // src/auth/utils/logger.ts
1429
1429
  var import_consola8 = require("consola");
1430
- var isDevelopment = process.env.NODE_ENV === "development";
1430
+
1431
+ // src/auth/utils/env.ts
1432
+ var isDev = process.env.NODE_ENV === "development";
1433
+ var isProd = process.env.NODE_ENV === "production";
1434
+
1435
+ // src/auth/utils/logger.ts
1431
1436
  var isStaticBuild2 = process.env.NEXT_PUBLIC_STATIC_BUILD === "true";
1432
- var showLogs = isDevelopment || isStaticBuild2;
1437
+ var showLogs = isDev || isStaticBuild2;
1433
1438
  var logger = (0, import_consola8.createConsola)({
1434
1439
  level: showLogs ? 4 : 1
1435
1440
  // dev: debug, production: errors only