@friggframework/api-module-pipedrive 0.10.0 → 0.11.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/CHANGELOG.md +4 -13
- package/api.js +2 -1
- package/jest-setup.js +1 -1
- package/jest-teardown.js +1 -1
- package/manager.js +10 -13
- package/models/credential.js +1 -1
- package/models/entity.js +1 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
|
-
# v0.
|
|
2
|
-
|
|
3
|
-
:tada: This release contains work from new contributors! :tada:
|
|
4
|
-
|
|
5
|
-
Thanks for all your work!
|
|
6
|
-
|
|
7
|
-
:heart: Nicolas Leal ([@nicolasmelo1](https://github.com/nicolasmelo1))
|
|
8
|
-
|
|
9
|
-
:heart: nmilcoff ([@nmilcoff](https://github.com/nmilcoff))
|
|
1
|
+
# v0.11.0 (Wed Mar 20 2024)
|
|
10
2
|
|
|
11
3
|
#### 🚀 Enhancement
|
|
12
4
|
|
|
5
|
+
- bump minor version [#279](https://github.com/friggframework/frigg/pull/279) ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
13
6
|
|
|
14
7
|
#### 🐛 Bug Fix
|
|
15
8
|
|
|
16
|
-
-
|
|
9
|
+
- bump minor version ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
17
10
|
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
18
11
|
|
|
19
|
-
#### Authors:
|
|
12
|
+
#### Authors: 2
|
|
20
13
|
|
|
21
14
|
- [@MichaelRyanWebber](https://github.com/MichaelRyanWebber)
|
|
22
|
-
- Nicolas Leal ([@nicolasmelo1](https://github.com/nicolasmelo1))
|
|
23
|
-
- nmilcoff ([@nmilcoff](https://github.com/nmilcoff))
|
|
24
15
|
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
25
16
|
|
|
26
17
|
---
|
package/api.js
CHANGED
package/jest-setup.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const { globalSetup } = require('@friggframework/
|
|
1
|
+
const { globalSetup } = require('@friggframework/test-environment');
|
|
2
2
|
module.exports = globalSetup;
|
package/jest-teardown.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const { globalTeardown } = require('@friggframework/
|
|
1
|
+
const { globalTeardown } = require('@friggframework/test-environment');
|
|
2
2
|
module.exports = globalTeardown;
|
package/manager.js
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
|
+
const _ = require('lodash');
|
|
2
|
+
const { Api } = require('./api.js');
|
|
3
|
+
const { Entity } = require('./models/entity');
|
|
4
|
+
const { Credential } = require('./models/credential');
|
|
1
5
|
const {
|
|
2
6
|
ModuleManager,
|
|
3
7
|
ModuleConstants,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} = require('@friggframework/core');
|
|
7
|
-
const {Api} = require('./api.js');
|
|
8
|
-
const {Entity} = require('./models/entity');
|
|
9
|
-
const {Credential} = require('./models/credential');
|
|
8
|
+
} = require('@friggframework/module-plugin');
|
|
9
|
+
const { flushDebugLog, debug } = require('@friggframework/logs');
|
|
10
10
|
const Config = require('./defaultConfig.json');
|
|
11
11
|
|
|
12
12
|
class Manager extends ModuleManager {
|
|
13
|
-
static
|
|
14
|
-
Entity = Entity;
|
|
13
|
+
static Entity = Entity;
|
|
15
14
|
|
|
16
|
-
static
|
|
17
|
-
Credential = Credential;
|
|
15
|
+
static Credential = Credential;
|
|
18
16
|
|
|
19
17
|
constructor(params) {
|
|
20
18
|
super(params);
|
|
@@ -24,11 +22,10 @@ class Manager extends ModuleManager {
|
|
|
24
22
|
return Config.name;
|
|
25
23
|
}
|
|
26
24
|
|
|
27
|
-
static
|
|
28
|
-
async getInstance(params) {
|
|
25
|
+
static async getInstance(params) {
|
|
29
26
|
const instance = new this(params);
|
|
30
27
|
|
|
31
|
-
const apiParams = {delegate: instance};
|
|
28
|
+
const apiParams = { delegate: instance };
|
|
32
29
|
if (params.entityId) {
|
|
33
30
|
instance.entity = await instance.entityMO.get(params.entityId);
|
|
34
31
|
instance.credential = await instance.credentialMO.get(
|
package/models/credential.js
CHANGED
package/models/entity.js
CHANGED
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.11.0",
|
|
3
3
|
"name": "@friggframework/api-module-pipedrive",
|
|
4
4
|
"prettier": "@friggframework/prettier-config",
|
|
5
5
|
"description": "",
|
|
@@ -11,13 +11,16 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"devDependencies": {
|
|
14
|
+
"@friggframework/eslint-config": "^1.0.8",
|
|
15
|
+
"@friggframework/test-environment": "^1.1.6",
|
|
14
16
|
"eslint": "^8.22.0",
|
|
15
17
|
"jest": "^28.1.3",
|
|
16
18
|
"prettier": "^2.7.1",
|
|
17
19
|
"sinon": "^14.0.0"
|
|
18
20
|
},
|
|
19
21
|
"dependencies": {
|
|
20
|
-
"@friggframework/
|
|
22
|
+
"@friggframework/assertions": "^1.0.8",
|
|
23
|
+
"@friggframework/module-plugin": "^1.1.2"
|
|
21
24
|
},
|
|
22
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "2753288dc139a94f5b80f84702aa23494e8687eb"
|
|
23
26
|
}
|