@friggframework/api-module-pipedrive 1.0.1-v1-alpha.3 → 1.0.1-v1-alpha.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.
Files changed (2) hide show
  1. package/manager.js +13 -9
  2. package/package.json +3 -3
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 Entity = Entity;
13
+ static
14
+ Entity = Entity;
13
15
 
14
- static Credential = Credential;
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 async getInstance(params) {
27
+ static
28
+ async getInstance(params) {
25
29
  const instance = new this(params);
26
30
 
27
- const apiParams = { delegate: instance };
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,5 +1,5 @@
1
1
  {
2
- "version": "1.0.1-v1-alpha.3",
2
+ "version": "1.0.1-v1-alpha.5",
3
3
  "name": "@friggframework/api-module-pipedrive",
4
4
  "prettier": "@friggframework/prettier-config",
5
5
  "description": "",
@@ -17,7 +17,7 @@
17
17
  "sinon": "^14.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@friggframework/core": "1.0.1-v1-alpha.3"
20
+ "@friggframework/core": "1.0.1-v1-alpha.5"
21
21
  },
22
- "gitHead": "6a3908e31ccf56fb6be6dab758e55fc5601e6d65"
22
+ "gitHead": "866cdecac7b599ec734f8772a5774112da1e8f7a"
23
23
  }