@marcos_feitoza/personal-finance-frontend-core-ui 1.0.1 → 1.0.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.0.2](https://github.com/MarcosOps/personal-finance-frontend-core-ui/compare/v1.0.1...v1.0.2) (2025-11-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix front logs ([d80a471](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/d80a471a13e1cf9f1756f88f5d5e1453c9ed1609))
7
+
1
8
  ## [1.0.1](https://github.com/MarcosOps/personal-finance-frontend-core-ui/compare/v1.0.0...v1.0.1) (2025-11-22)
2
9
 
3
10
 
@@ -0,0 +1,15 @@
1
+ import 'package:flutter/foundation.dart';
2
+
3
+ /// A simple logger class that only prints messages in debug mode.
4
+ ///
5
+ /// This prevents logs from appearing in the browser console in production builds,
6
+ /// which is a good practice for security and performance.
7
+ class AppLogger {
8
+ /// Logs a [message] to the console only if the application is running
9
+ /// in debug mode.
10
+ static void log(dynamic message) {
11
+ if (kDebugMode) {
12
+ print(message);
13
+ }
14
+ }
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcos_feitoza/personal-finance-frontend-core-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },