backend-manager 5.0.187 → 5.0.188

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "5.0.187",
3
+ "version": "5.0.188",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -39,6 +39,6 @@ async function main() {
39
39
  }
40
40
 
41
41
  main().catch((e) => {
42
- console.error('Failed to update disposable domains:', e.message);
43
- process.exit(1);
42
+ console.warn('Warning: Failed to update disposable domains:', e.message);
43
+ console.warn('Using existing list. Run manually later: node scripts/update-disposable-domains.js');
44
44
  });
@@ -18,7 +18,7 @@ module.exports = async ({ Manager, assistant, user, context, libraries }) => {
18
18
  const { functions } = libraries;
19
19
  const ipAddress = context.ipAddress || '';
20
20
 
21
- assistant.log(`beforeCreate: ${user.uid}`, { email: user.email, ip: ipAddress });
21
+ assistant.log(`beforeCreate: ${user.uid} (${user.email})`, user, context);
22
22
 
23
23
  // Block disposable email domains
24
24
  if (isDisposable(user.email)) {
@@ -11,7 +11,7 @@ module.exports = async ({ Manager, assistant, user, context, libraries }) => {
11
11
  const startTime = Date.now();
12
12
  const { admin } = libraries;
13
13
 
14
- assistant.log(`beforeSignIn: ${user.uid}`, { email: user.email, ip: context.ipAddress });
14
+ assistant.log(`beforeSignIn: ${user.uid} (${user.email})`, user, context);
15
15
 
16
16
  const now = new Date();
17
17