mayo-firebase-config 1.2.13 → 1.2.15

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.
File without changes
@@ -0,0 +1,2 @@
1
+ #Fri Nov 10 16:28:57 CET 2023
2
+ gradle.version=7.4.2
File without changes
@@ -33,7 +33,7 @@ public class FirebaseConfigExtractorModule extends ReactContextBaseJavaModule {
33
33
  }
34
34
 
35
35
  @ReactMethod
36
- public void extractConfig(Promise promise) {
36
+ public void extractFirebaseConfig(Promise promise) {
37
37
  Log.d(NAME, "Starting to extract Firebase config.");
38
38
  try {
39
39
  // Use AssetManager to read the google-services.json file from the assets folder
@@ -24,7 +24,7 @@ const extractFirebaseConfig = () => __awaiter(void 0, void 0, void 0, function*
24
24
  mayo_logger_1.Logger.warn('Failed to extract valid Firebase config or the config is empty', null, { tag: 'mayo-firebase-config-extractor' });
25
25
  }
26
26
  // Be cautious about logging potentially sensitive information
27
- mayo_logger_1.Logger.error('Extracted Firebase config:', { config }, { tag: 'mayo-firebase-config-extractor' });
27
+ mayo_logger_1.Logger.info('Extracted Firebase config:', { config }, { tag: 'mayo-firebase-config-extractor' });
28
28
  return config;
29
29
  }
30
30
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayo-firebase-config",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
4
4
  "license": "MIT",
5
5
  "author": "Mohamed Bennekrouf",
6
6
  "main": "dist/index.js",
@@ -17,7 +17,7 @@ export const extractFirebaseConfig = async (): Promise<FirebaseConfig> => {
17
17
  }
18
18
 
19
19
  // Be cautious about logging potentially sensitive information
20
- Logger.error('Extracted Firebase config:', { config }, { tag: 'mayo-firebase-config-extractor' });
20
+ Logger.info('Extracted Firebase config:', { config }, { tag: 'mayo-firebase-config-extractor' });
21
21
 
22
22
  return config;
23
23
  } catch (error) {