@constructive-io/send-email-link-fn 2.5.1 → 2.6.0
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/esm/index.js +3 -5
- package/index.js +3 -5
- package/package.json +7 -7
package/esm/index.js
CHANGED
|
@@ -290,13 +290,11 @@ app.post('/', async (req, res, next) => {
|
|
|
290
290
|
...(apiName && { apiName }),
|
|
291
291
|
...(schemata && { schemata }),
|
|
292
292
|
});
|
|
293
|
-
// For GetDatabaseInfo query - uses
|
|
294
|
-
//
|
|
293
|
+
// For GetDatabaseInfo query - uses X-Meta-Schema to access platform data
|
|
294
|
+
// (databases, sites, domains, siteThemes, siteModules are platform-level data)
|
|
295
295
|
const meta = createGraphQLClient(metaGraphqlUrl, {
|
|
296
296
|
hostHeaderEnvVar: 'META_GRAPHQL_HOST_HEADER',
|
|
297
|
-
|
|
298
|
-
...(apiName && { apiName }),
|
|
299
|
-
...(schemata && { schemata }),
|
|
297
|
+
useMetaSchema: true,
|
|
300
298
|
});
|
|
301
299
|
const result = await sendEmailLink(params, {
|
|
302
300
|
client,
|
package/index.js
CHANGED
|
@@ -297,13 +297,11 @@ app.post('/', async (req, res, next) => {
|
|
|
297
297
|
...(apiName && { apiName }),
|
|
298
298
|
...(schemata && { schemata }),
|
|
299
299
|
});
|
|
300
|
-
// For GetDatabaseInfo query - uses
|
|
301
|
-
//
|
|
300
|
+
// For GetDatabaseInfo query - uses X-Meta-Schema to access platform data
|
|
301
|
+
// (databases, sites, domains, siteThemes, siteModules are platform-level data)
|
|
302
302
|
const meta = createGraphQLClient(metaGraphqlUrl, {
|
|
303
303
|
hostHeaderEnvVar: 'META_GRAPHQL_HOST_HEADER',
|
|
304
|
-
|
|
305
|
-
...(apiName && { apiName }),
|
|
306
|
-
...(schemata && { schemata }),
|
|
304
|
+
useMetaSchema: true,
|
|
307
305
|
});
|
|
308
306
|
const result = await (0, exports.sendEmailLink)(params, {
|
|
309
307
|
client,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/send-email-link-fn",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Knative function to send email links (invite, password reset, email verification) using Constructive jobs",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"homepage": "https://github.com/constructive-io/constructive",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"makage": "^0.1.12"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@constructive-io/knative-job-fn": "^1.
|
|
37
|
-
"@constructive-io/postmaster": "^1.
|
|
36
|
+
"@constructive-io/knative-job-fn": "^1.5.0",
|
|
37
|
+
"@constructive-io/postmaster": "^1.6.0",
|
|
38
38
|
"@launchql/mjml": "0.1.1",
|
|
39
39
|
"@launchql/styled-email": "0.1.0",
|
|
40
|
-
"@pgpmjs/env": "^2.
|
|
41
|
-
"@pgpmjs/logger": "^2.
|
|
40
|
+
"@pgpmjs/env": "^2.16.0",
|
|
41
|
+
"@pgpmjs/logger": "^2.5.0",
|
|
42
42
|
"graphql-request": "^7.1.2",
|
|
43
43
|
"graphql-tag": "^2.12.6",
|
|
44
|
-
"simple-smtp-server": "^0.
|
|
44
|
+
"simple-smtp-server": "^0.8.0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "b8ed57a447cd71b93094edf362e72b94801e5f3a"
|
|
47
47
|
}
|