backend-manager 3.1.7 → 3.1.9
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.1.
|
|
3
|
+
"version": "3.1.9",
|
|
4
4
|
"description": "Quick tools for developing Firebase functions",
|
|
5
5
|
"main": "src/manager/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -51,21 +51,21 @@
|
|
|
51
51
|
"lowdb": "^1.0.0",
|
|
52
52
|
"mailchimp-api-v3": "^1.15.0",
|
|
53
53
|
"mocha": "^8.4.0",
|
|
54
|
-
"moment": "^2.
|
|
54
|
+
"moment": "^2.30.1",
|
|
55
55
|
"nanoid": "^3.3.7",
|
|
56
56
|
"node-fetch": "^2.7.0",
|
|
57
57
|
"node-powertools": "^1.1.1",
|
|
58
58
|
"npm-api": "^1.0.1",
|
|
59
59
|
"paypal-server-api": "^1.0.3",
|
|
60
60
|
"pushid": "^1.0.0",
|
|
61
|
-
"resolve-account": "^1.0.
|
|
61
|
+
"resolve-account": "^1.0.12",
|
|
62
62
|
"semver": "^7.5.4",
|
|
63
63
|
"shortid": "^2.2.16",
|
|
64
64
|
"sizeitup": "^1.0.7",
|
|
65
65
|
"uid-generator": "^2.0.0",
|
|
66
66
|
"ultimate-jekyll-poster": "^0.0.15",
|
|
67
67
|
"uuid": "^9.0.1",
|
|
68
|
-
"wonderful-fetch": "^1.1.
|
|
68
|
+
"wonderful-fetch": "^1.1.1",
|
|
69
69
|
"wonderful-log": "^1.0.5",
|
|
70
70
|
"yargs": "^17.7.2"
|
|
71
71
|
}
|
|
@@ -483,7 +483,11 @@ function _attachHeaderProperties(self, options, error) {
|
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
// Attach properties
|
|
486
|
-
|
|
486
|
+
try {
|
|
487
|
+
self.ref.res.header('bm-properties', JSON.stringify(headers));
|
|
488
|
+
} catch (e) {
|
|
489
|
+
self.log('Error attaching properties to header', e);
|
|
490
|
+
}
|
|
487
491
|
|
|
488
492
|
// Attach properties
|
|
489
493
|
if (error) {
|
|
@@ -137,6 +137,12 @@ function User(Manager, settings, options) {
|
|
|
137
137
|
national: _.get(settings, 'personal.telephone.national', defaults ? 0 : null),
|
|
138
138
|
},
|
|
139
139
|
},
|
|
140
|
+
oauth2: {
|
|
141
|
+
// updated: {
|
|
142
|
+
// timestamp: _.get(settings, 'oauth2.updated.timestamp', defaults ? oldDate : null),
|
|
143
|
+
// timestampUNIX: _.get(settings, 'oauth2.updated.timestampUNIX', defaults ? oldDateUNIX : null),
|
|
144
|
+
// },
|
|
145
|
+
},
|
|
140
146
|
}
|
|
141
147
|
|
|
142
148
|
if (options.prune) {
|