backend-manager 3.0.1 → 3.0.2

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/CHANGELOG.md CHANGED
@@ -28,6 +28,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
28
28
  - Updated `uuid` from `8.3.2` --> `9.0.0`
29
29
 
30
30
  - Removed `backend-assistant` dependency and moved to custom library within this module at `./src/manager/helpers/assistant.js`
31
+ - Removed `require('firebase-functions/lib/logger/compat')`
31
32
  - Changed default for `options.setupFunctionsLegacy` from `true` --> `false`
32
33
  - Updated geolocation and client data retrieval to new format:
33
34
  #### New Way
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -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.2",
60
+ "resolve-account": "^1.0.3",
61
61
  "semver": "^7.5.4",
62
62
  "shortid": "^2.2.16",
63
63
  "sizeitup": "^1.0.7",
@@ -69,4 +69,4 @@
69
69
  "wonderful-log": "^1.0.5",
70
70
  "yargs": "^17.7.2"
71
71
  }
72
- }
72
+ }
@@ -99,7 +99,7 @@ function User(Manager, settings, options) {
99
99
  userAgent: _.get(settings, 'activity.client.userAgent', defaults ? '' : null),
100
100
  language: _.get(settings, 'activity.client.language', defaults ? '' : null),
101
101
  platform: _.get(settings, 'activity.client.platform', defaults ? '' : null),
102
- mobile: _.get(settings, 'activity.client.mobile', defaults ? '' : null),
102
+ mobile: _.get(settings, 'activity.client.mobile', defaults ? null : null),
103
103
  },
104
104
  },
105
105
  api: {