backend-manager 3.2.149 → 3.2.151
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.
|
|
3
|
+
"version": "3.2.151",
|
|
4
4
|
"description": "Quick tools for developing Firebase functions",
|
|
5
5
|
"main": "src/manager/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"homepage": "https://itwcreativeworks.com",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@firebase/rules-unit-testing": "^2.0.7",
|
|
38
|
-
"@google-cloud/storage": "^7.11.
|
|
38
|
+
"@google-cloud/storage": "^7.11.1",
|
|
39
39
|
"@octokit/rest": "^19.0.13",
|
|
40
40
|
"@sendgrid/mail": "^7.7.0",
|
|
41
41
|
"@sentry/node": "^6.19.7",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"cors": "^2.8.5",
|
|
46
46
|
"dotenv": "^16.4.5",
|
|
47
47
|
"express": "^4.19.2",
|
|
48
|
-
"firebase-admin": "^12.1.
|
|
48
|
+
"firebase-admin": "^12.1.1",
|
|
49
49
|
"firebase-functions": "^5.0.1",
|
|
50
50
|
"fs-jetpack": "^5.1.0",
|
|
51
|
-
"glob": "^10.
|
|
51
|
+
"glob": "^10.4.1",
|
|
52
52
|
"hcaptcha": "^0.1.1",
|
|
53
53
|
"inquirer": "^8.2.5",
|
|
54
54
|
"json5": "^2.2.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"node-fetch": "^2.7.0",
|
|
64
64
|
"node-powertools": "^1.4.1",
|
|
65
65
|
"npm-api": "^1.0.1",
|
|
66
|
-
"paypal-server-api": "^2.0.
|
|
66
|
+
"paypal-server-api": "^2.0.6",
|
|
67
67
|
"pushid": "^1.0.0",
|
|
68
68
|
"resolve-account": "^1.0.23",
|
|
69
69
|
"semver": "^7.6.2",
|
|
@@ -52,6 +52,7 @@ Module.prototype.main = function (assistant, context) {
|
|
|
52
52
|
// Fix settings
|
|
53
53
|
settings.articles = settings.articles || 0;
|
|
54
54
|
settings.sources = settings.sources || [];
|
|
55
|
+
settings.links = settings.links || [];
|
|
55
56
|
settings.prompt = settings.prompt || '';
|
|
56
57
|
settings.app = await self.getAppData(appId).catch((e) => e);
|
|
57
58
|
|
|
@@ -113,7 +114,7 @@ Module.prototype.harvest = function (settings) {
|
|
|
113
114
|
|
|
114
115
|
// Get suggestion
|
|
115
116
|
if (source === '$app') {
|
|
116
|
-
suggestion = 'Write an article about any topic that would be relevant to our website and business
|
|
117
|
+
suggestion = 'Write an article about any topic that would be relevant to our website and business (it does not have to be about our company, but it can be)';
|
|
117
118
|
} else if (isURL) {
|
|
118
119
|
suggestion = await self.getURLContent(source).catch((e) => e);
|
|
119
120
|
} else {
|
|
@@ -261,6 +262,7 @@ Module.prototype.requestGhostii = function (settings, content) {
|
|
|
261
262
|
headerImageUrl: 'unsplash',
|
|
262
263
|
url: settings.app.url,
|
|
263
264
|
feedUrl: `${settings.app.url}/feeds/posts.json`,
|
|
265
|
+
links: settings.links,
|
|
264
266
|
},
|
|
265
267
|
})
|
|
266
268
|
.then((r) => resolve(r))
|