@friggframework/api-module-pipedrive 0.9.17-v1-alpha-package-update.11 → 0.10.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 +27 -0
- package/jest-setup.js +1 -1
- package/jest-teardown.js +1 -1
- package/manager.js +13 -9
- package/package.json +21 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
# v0.10.0 (Wed Mar 20 2024)
|
|
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))
|
|
10
|
+
|
|
11
|
+
#### 🚀 Enhancement
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
#### 🐛 Bug Fix
|
|
15
|
+
|
|
16
|
+
- correct some bad automated edits, though they are not in relevant files ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
17
|
+
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
18
|
+
|
|
19
|
+
#### Authors: 4
|
|
20
|
+
|
|
21
|
+
- [@MichaelRyanWebber](https://github.com/MichaelRyanWebber)
|
|
22
|
+
- Nicolas Leal ([@nicolasmelo1](https://github.com/nicolasmelo1))
|
|
23
|
+
- nmilcoff ([@nmilcoff](https://github.com/nmilcoff))
|
|
24
|
+
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
1
28
|
# v0.9.0 (Wed Sep 06 2023)
|
|
2
29
|
|
|
3
30
|
#### 🐛 Bug Fix
|
package/jest-setup.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const { globalSetup } = require('@friggframework/
|
|
1
|
+
const { globalSetup } = require('@friggframework/devtools');
|
|
2
2
|
module.exports = globalSetup;
|
package/jest-teardown.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const { globalTeardown } = require('@friggframework/
|
|
1
|
+
const { globalTeardown } = require('@friggframework/devtools');
|
|
2
2
|
module.exports = globalTeardown;
|
package/manager.js
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
const { flushDebugLog, debug } = require('@friggframework/core');
|
|
2
|
-
const _ = require('lodash');
|
|
3
|
-
const { Api } = require('./api.js');
|
|
4
|
-
const { Entity } = require('./models/entity');
|
|
5
|
-
const { Credential } = require('./models/credential');
|
|
6
1
|
const {
|
|
7
2
|
ModuleManager,
|
|
8
3
|
ModuleConstants,
|
|
4
|
+
flushDebugLog,
|
|
5
|
+
debug
|
|
6
|
+
} = require('@friggframework/core');
|
|
7
|
+
const {Api} = require('./api.js');
|
|
8
|
+
const {Entity} = require('./models/entity');
|
|
9
|
+
const {Credential} = require('./models/credential');
|
|
9
10
|
const Config = require('./defaultConfig.json');
|
|
10
11
|
|
|
11
12
|
class Manager extends ModuleManager {
|
|
12
|
-
static
|
|
13
|
+
static
|
|
14
|
+
Entity = Entity;
|
|
13
15
|
|
|
14
|
-
static
|
|
16
|
+
static
|
|
17
|
+
Credential = Credential;
|
|
15
18
|
|
|
16
19
|
constructor(params) {
|
|
17
20
|
super(params);
|
|
@@ -21,10 +24,11 @@ class Manager extends ModuleManager {
|
|
|
21
24
|
return Config.name;
|
|
22
25
|
}
|
|
23
26
|
|
|
24
|
-
static
|
|
27
|
+
static
|
|
28
|
+
async getInstance(params) {
|
|
25
29
|
const instance = new this(params);
|
|
26
30
|
|
|
27
|
-
const apiParams = {
|
|
31
|
+
const apiParams = {delegate: instance};
|
|
28
32
|
if (params.entityId) {
|
|
29
33
|
instance.entity = await instance.entityMO.get(params.entityId);
|
|
30
34
|
instance.credential = await instance.credentialMO.get(
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
"version": "0.10.0",
|
|
3
|
+
"name": "@friggframework/api-module-pipedrive",
|
|
4
|
+
"prettier": "@friggframework/prettier-config",
|
|
5
|
+
"description": "",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"lint:fix": "prettier --write --loglevel error . && eslint . --fix",
|
|
9
|
+
"test": "jest"
|
|
10
|
+
},
|
|
11
|
+
"author": "",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"eslint": "^8.22.0",
|
|
15
|
+
"jest": "^28.1.3",
|
|
16
|
+
"prettier": "^2.7.1",
|
|
17
|
+
"sinon": "^14.0.0"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@friggframework/core": "^1.1.0"
|
|
21
|
+
},
|
|
22
|
+
"gitHead": "9b3427438a223c62d551ce3fd3330c2b8dac00d8"
|
|
23
23
|
}
|