backend-manager 3.0.33 → 3.0.35

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.0.33",
3
+ "version": "3.0.35",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -32,7 +32,7 @@
32
32
  "homepage": "https://itwcreativeworks.com",
33
33
  "dependencies": {
34
34
  "@firebase/rules-unit-testing": "^2.0.7",
35
- "@google-cloud/storage": "^7.6.0",
35
+ "@google-cloud/storage": "^7.7.0",
36
36
  "@sendgrid/mail": "^7.7.0",
37
37
  "@sentry/node": "^6.19.7",
38
38
  "busboy": "^1.6.0",
@@ -57,7 +57,7 @@
57
57
  "npm-api": "^1.0.1",
58
58
  "paypal-server-api": "^1.0.3",
59
59
  "pushid": "^1.0.0",
60
- "resolve-account": "^1.0.6",
60
+ "resolve-account": "^1.0.7",
61
61
  "semver": "^7.5.4",
62
62
  "shortid": "^2.2.16",
63
63
  "sizeitup": "^1.0.7",
@@ -251,16 +251,6 @@ BackendAssistant.prototype.notice = function () {
251
251
 
252
252
  args.unshift('notice');
253
253
  self.log.apply(self, args);
254
-
255
- // if (self.meta.environment === 'development') {
256
- // args.unshift('debug');
257
- // self.log.apply(self, args);
258
- // } else {
259
- // self.ref.functions.logger.write({
260
- // severity: 'NOTICE',
261
- // message: args,
262
- // });
263
- // }
264
254
  };
265
255
 
266
256
  BackendAssistant.prototype.critical = function () {
@@ -268,10 +258,8 @@ BackendAssistant.prototype.critical = function () {
268
258
 
269
259
  const args = Array.prototype.slice.call(arguments);
270
260
 
271
- self.ref.functions.logger.write({
272
- severity: 'CRITICAL',
273
- message: args,
274
- });
261
+ args.unshift('critical');
262
+ self.log.apply(self, args);
275
263
  };
276
264
 
277
265
  BackendAssistant.prototype.emergency = function () {
@@ -279,10 +267,8 @@ BackendAssistant.prototype.emergency = function () {
279
267
 
280
268
  const args = Array.prototype.slice.call(arguments);
281
269
 
282
- self.ref.functions.logger.write({
283
- severity: 'EMERGENCY',
284
- message: args,
285
- });
270
+ args.unshift('emergency');
271
+ self.log.apply(self, args);
286
272
  };
287
273
 
288
274
  BackendAssistant.prototype._log = function() {