backend-manager 3.2.50 → 3.2.52

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": "3.2.50",
3
+ "version": "3.2.52",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -281,12 +281,12 @@ Module.prototype.sendRateEmail = function (user) {
281
281
  },
282
282
  })
283
283
  .then((json) => {
284
- assistant.log('sendEmail(): Success', json);
284
+ assistant.log('sendRateEmail(): Success', json);
285
285
 
286
286
  return resolve(json);
287
287
  })
288
288
  .catch((e) => {
289
- assistant.error('sendEmail(): Failed', e);
289
+ assistant.error('sendRateEmail(): Failed', e);
290
290
 
291
291
  return reject(e);
292
292
  });
@@ -379,6 +379,7 @@ Module.prototype.addToSendGridList = function (user) {
379
379
  method: `put`,
380
380
  supplemental: {
381
381
  app: Manager.config.app.id,
382
+ source: 'backend-manager:auth:on-create',
382
383
  user: user,
383
384
  }
384
385
  },
@@ -447,11 +448,11 @@ Module.prototype.sendWelcomeEmail = function (user) {
447
448
  },
448
449
  })
449
450
  .then((json) => {
450
- assistant.log('sendEmail(): Success', json)
451
+ assistant.log('sendWelcomeEmail(): Success', json)
451
452
  return resolve(json);
452
453
  })
453
454
  .catch((e) => {
454
- assistant.error('sendEmail(): Failed', e)
455
+ assistant.error('sendWelcomeEmail(): Failed', e)
455
456
  return reject(e);
456
457
  });
457
458
  });
@@ -510,11 +511,11 @@ Module.prototype.sendCheckupEmail = function (user) {
510
511
  },
511
512
  })
512
513
  .then((json) => {
513
- assistant.log('sendEmail(): Success', json)
514
+ assistant.log('sendCheckupEmail(): Success', json)
514
515
  return resolve(json);
515
516
  })
516
517
  .catch((e) => {
517
- assistant.error('sendEmail(): Failed', e)
518
+ assistant.error('sendCheckupEmail(): Failed', e)
518
519
  return reject(e);
519
520
  });
520
521
  });
@@ -547,11 +548,11 @@ Module.prototype.sendFeedbackEmail = function (user) {
547
548
  },
548
549
  })
549
550
  .then((json) => {
550
- assistant.log('sendEmail(): Success', json)
551
+ assistant.log('sendFeedbackEmail(): Success', json)
551
552
  return resolve(json);
552
553
  })
553
554
  .catch((e) => {
554
- assistant.error('sendEmail(): Failed', e)
555
+ assistant.error('sendFeedbackEmail(): Failed', e)
555
556
  return reject(e);
556
557
  });
557
558
  });