@friggframework/core 2.0.0--canary.396.2b7bd44.0 → 2.0.0--canary.396.ed41aed.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.
|
@@ -58,6 +58,8 @@ function createIntegrationRouter(params) {
|
|
|
58
58
|
|
|
59
59
|
const getIntegrationsForUser = new GetIntegrationsForUser({
|
|
60
60
|
integrationRepository,
|
|
61
|
+
integrationClasses: integrations,
|
|
62
|
+
moduleService,
|
|
61
63
|
});
|
|
62
64
|
const getCredentialForUser = new GetCredentialForUser({
|
|
63
65
|
credentialRepository,
|
|
@@ -14,7 +14,7 @@ class GetIntegrationsForUser {
|
|
|
14
14
|
* @returns {Promise<Integration[]>}
|
|
15
15
|
*/
|
|
16
16
|
async execute(userId) {
|
|
17
|
-
const integrationRecords = this.integrationRepository.findIntegrationsByUserId(userId);
|
|
17
|
+
const integrationRecords = await this.integrationRepository.findIntegrationsByUserId(userId);
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
const integrations = []
|
package/module-plugin/module.js
CHANGED
|
@@ -22,8 +22,8 @@ class Module extends Delegate {
|
|
|
22
22
|
this.validateDefinition(definition);
|
|
23
23
|
|
|
24
24
|
this.userId = userId;
|
|
25
|
-
this.entity = entityObj
|
|
26
|
-
this.credential = entityObj?.credential
|
|
25
|
+
this.entity = entityObj;
|
|
26
|
+
this.credential = entityObj?.credential;
|
|
27
27
|
this.definition = definition;
|
|
28
28
|
this.getEntityOptions = this.definition.getEntityOptions;
|
|
29
29
|
this.refreshEntityOptions = this.definition.refreshEntityOptions;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/core",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.396.
|
|
4
|
+
"version": "2.0.0--canary.396.ed41aed.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@hapi/boom": "^10.0.1",
|
|
7
7
|
"aws-sdk": "^2.1200.0",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"uuid": "^9.0.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@friggframework/eslint-config": "2.0.0--canary.396.
|
|
26
|
-
"@friggframework/prettier-config": "2.0.0--canary.396.
|
|
27
|
-
"@friggframework/test": "2.0.0--canary.396.
|
|
25
|
+
"@friggframework/eslint-config": "2.0.0--canary.396.ed41aed.0",
|
|
26
|
+
"@friggframework/prettier-config": "2.0.0--canary.396.ed41aed.0",
|
|
27
|
+
"@friggframework/test": "2.0.0--canary.396.ed41aed.0",
|
|
28
28
|
"@types/lodash": "4.17.15",
|
|
29
29
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
30
30
|
"chai": "^4.3.6",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
},
|
|
54
54
|
"homepage": "https://github.com/friggframework/frigg#readme",
|
|
55
55
|
"description": "",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "ed41aede348ecbdeb5c2a944137bb01fa76e8aac"
|
|
57
57
|
}
|