mayo-firebase-config 1.0.5 → 1.0.7

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.
@@ -2,19 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.extractFirebaseConfig = void 0;
4
4
  const react_native_1 = require("react-native");
5
- const rn_logging_1 = require("mayo-logging");
5
+ const mayo_logger_1 = require("mayo-logger");
6
6
  const { FirebaseConfigExtractor } = react_native_1.NativeModules;
7
7
  const extractFirebaseConfig = () => {
8
- rn_logging_1.Logger.info('Starting Firebase config extraction...', null, { tag: 'mayo-firebase-config-extractor' });
8
+ mayo_logger_1.Logger.info('Starting Firebase config extraction...', null, { tag: 'mayo-firebase-config-extractor' });
9
9
  const config = FirebaseConfigExtractor.extractConfig();
10
10
  if (config && typeof config === 'object' && Object.keys(config).length > 0) {
11
- rn_logging_1.Logger.info('Successfully extracted Firebase config', null, { tag: 'mayo-firebase-config-extractor' });
11
+ mayo_logger_1.Logger.info('Successfully extracted Firebase config', null, { tag: 'mayo-firebase-config-extractor' });
12
12
  }
13
13
  else {
14
- rn_logging_1.Logger.warn('Failed to extract valid Firebase config or the config is empty', null, { tag: 'mayo-firebase-config-extractor' });
14
+ mayo_logger_1.Logger.warn('Failed to extract valid Firebase config or the config is empty', null, { tag: 'mayo-firebase-config-extractor' });
15
15
  }
16
16
  // This log may expose sensitive information, so be cautious about using it in a production environment
17
- rn_logging_1.Logger.info('Extracted Firebase config:', { config }, { tag: 'mayo-firebase-config-extractor' });
17
+ mayo_logger_1.Logger.info('Extracted Firebase config:', { config }, { tag: 'mayo-firebase-config-extractor' });
18
18
  return config;
19
19
  };
20
20
  exports.extractFirebaseConfig = extractFirebaseConfig;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "mayo-firebase-config",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "license": "MIT",
5
5
  "author": "Mohamed Bennekrouf",
6
6
  "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
7
+ "types": "dist/index.d.ts",
8
8
  "scripts": {
9
9
  "semantic-release": "semantic-release"
10
10
  },
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "mayo-logging": "^1.0.6"
17
+ "mayo-logger": "^1.0.7"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/react": "^18.2.21",
@@ -1,5 +1,5 @@
1
1
  import { NativeModules } from 'react-native';
2
- import { Logger } from 'mayo-logging';
2
+ import { Logger } from 'mayo-logger';
3
3
 
4
4
  interface FirebaseConfig {
5
5
  apiKey?: string;