@friggframework/api-module-pipedrive 0.8.2 → 0.8.5
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/manager.js +2 -2
- package/models/credential.js +1 -1
- package/package.json +3 -2
- package/test/Api.test.js +1 -1
package/manager.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const _ = require('lodash');
|
|
2
2
|
const { Api } = require('./api.js');
|
|
3
|
-
const Entity = require('./models/entity');
|
|
4
|
-
const Credential = require('./models/credential');
|
|
3
|
+
const { Entity } = require('./models/entity');
|
|
4
|
+
const { Credential } = require('./models/credential');
|
|
5
5
|
const LHModuleManager = require('../../base/managers/LHModuleManager');
|
|
6
6
|
const ModuleConstants = require('../ModuleConstants');
|
|
7
7
|
const { update } = require('lodash');
|
package/models/credential.js
CHANGED
|
@@ -15,5 +15,5 @@ const schema = new mongoose.Schema({
|
|
|
15
15
|
companyDomain: { type: String },
|
|
16
16
|
});
|
|
17
17
|
|
|
18
|
-
const Credential = Parent.discriminator('
|
|
18
|
+
const Credential = Parent.discriminator('PipedriveCredential', schema);
|
|
19
19
|
module.exports = { Credential };
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.8.
|
|
2
|
+
"version": "0.8.5",
|
|
3
3
|
"name": "@friggframework/api-module-pipedrive",
|
|
4
4
|
"prettier": "@friggframework/prettier-config",
|
|
5
5
|
"description": "",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"sinon": "^12.0.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@friggframework/module-plugin": "^1.0.
|
|
22
|
+
"@friggframework/module-plugin": "^1.0.4",
|
|
23
|
+
"@friggframework/assertions": "^1.0.1"
|
|
23
24
|
}
|
|
24
25
|
}
|
package/test/Api.test.js
CHANGED