@lowdefy/api 4.0.0-alpha.19 → 4.0.0-alpha.22
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.
|
@@ -20,11 +20,12 @@ function createLinkAccountEvent(context, { authConfig , plugins }) {
|
|
|
20
20
|
type: 'linkAccount'
|
|
21
21
|
});
|
|
22
22
|
if (linkAccountPlugins.length === 0) return undefined;
|
|
23
|
-
async function linkAccountEvent({ account , user }) {
|
|
23
|
+
async function linkAccountEvent({ account , profile , user }) {
|
|
24
24
|
for (const plugin of linkAccountPlugins){
|
|
25
25
|
await plugin.fn({
|
|
26
26
|
properties: plugin.properties ?? {},
|
|
27
27
|
account,
|
|
28
|
+
profile,
|
|
28
29
|
user
|
|
29
30
|
});
|
|
30
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/api",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.22",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"test": "yarn node --experimental-vm-modules $(yarn bin jest)"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@lowdefy/ajv": "4.0.0-alpha.
|
|
45
|
-
"@lowdefy/helpers": "4.0.0-alpha.
|
|
46
|
-
"@lowdefy/node-utils": "4.0.0-alpha.
|
|
47
|
-
"@lowdefy/nunjucks": "4.0.0-alpha.
|
|
48
|
-
"@lowdefy/operators": "4.0.0-alpha.
|
|
49
|
-
"@lowdefy/operators-js": "4.0.0-alpha.
|
|
44
|
+
"@lowdefy/ajv": "4.0.0-alpha.22",
|
|
45
|
+
"@lowdefy/helpers": "4.0.0-alpha.22",
|
|
46
|
+
"@lowdefy/node-utils": "4.0.0-alpha.22",
|
|
47
|
+
"@lowdefy/nunjucks": "4.0.0-alpha.22",
|
|
48
|
+
"@lowdefy/operators": "4.0.0-alpha.22",
|
|
49
|
+
"@lowdefy/operators-js": "4.0.0-alpha.22"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@jest/globals": "28.1.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "66ce29562c016a8bcf0cbea4bbbbb71d364ae995"
|
|
62
62
|
}
|