@golemio/gardens 1.2.5 → 1.2.6-dev.1226739386

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.
@@ -1,13 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.gardensDataSource = void 0;
4
- const datasources_1 = require("@golemio/core/dist/integration-engine/datasources");
4
+ const _sch_1 = require("../../schema-definitions");
5
5
  const config_1 = require("@golemio/core/dist/integration-engine/config");
6
+ const datasources_1 = require("@golemio/core/dist/integration-engine/datasources");
7
+ const HTTPFetchProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy");
6
8
  const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
7
- const _sch_1 = require("../../schema-definitions");
8
9
  class GardensDataSourceFactory {
9
10
  constructor() {
10
- this.gardensDataSource = new datasources_1.DataSource(_sch_1.Gardens.datasources.gardensDatasource.name, new datasources_1.HTTPProtocolStrategy({
11
+ this.gardensDataSource = new datasources_1.DataSource(_sch_1.Gardens.datasources.gardensDatasource.name, new HTTPFetchProtocolStrategy_1.HTTPFetchProtocolStrategy({
11
12
  headers: {
12
13
  Authorization: "Basic " + config_1.config.datasources.OICTEndpointApikey,
13
14
  },
@@ -1 +1 @@
1
- {"version":3,"file":"GardensDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/GardensDataSourceFactory.ts"],"names":[],"mappings":";;;AAAA,mFAA2H;AAC3H,yEAAsE;AACtE,mFAAkF;AAClF,mDAA+B;AAE/B,MAAM,wBAAwB;IAG1B;QACI,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAU,CACnC,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,EAC1C,IAAI,kCAAoB,CAAC;YACrB,OAAO,EAAE;gBACL,aAAa,EAAE,QAAQ,GAAG,eAAM,CAAC,WAAW,CAAC,kBAAkB;aAClE;YACD,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAM,CAAC,WAAW,CAAC,OAAO;SAClC,CAAC,EACF,IAAI,kCAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAC7C,IAAI,uCAAmB,CACnB,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,GAAG,WAAW,EACxD,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CACnD,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,wBAAwB,GAAG,IAAI,wBAAwB,EAAE,CAAC;AAChE,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,iBAAiB,CAAC;AAE5D,8CAAiB"}
1
+ {"version":3,"file":"GardensDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/GardensDataSourceFactory.ts"],"names":[],"mappings":";;;AAAA,mDAA+B;AAC/B,yEAAsE;AACtE,mFAAqG;AACrG,6IAA0I;AAC1I,mFAAkF;AAElF,MAAM,wBAAwB;IAG1B;QACI,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAU,CACnC,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,EAC1C,IAAI,qDAAyB,CAAC;YAC1B,OAAO,EAAE;gBACL,aAAa,EAAE,QAAQ,GAAG,eAAM,CAAC,WAAW,CAAC,kBAAkB;aAClE;YACD,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAM,CAAC,WAAW,CAAC,OAAO;SAClC,CAAC,EACF,IAAI,kCAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAC7C,IAAI,uCAAmB,CACnB,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,GAAG,WAAW,EACxD,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CACnD,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,wBAAwB,GAAG,IAAI,wBAAwB,EAAE,CAAC;AAChE,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,iBAAiB,CAAC;AAE5D,8CAAiB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/gardens",
3
- "version": "1.2.5",
3
+ "version": "1.2.6-dev.1226739386",
4
4
  "description": "Golemio Gardens Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "@commitlint/cli": "^16.2.1",
35
35
  "@commitlint/config-conventional": "^16.2.1",
36
36
  "@golemio/cli": "1.5.0",
37
- "@golemio/core": "1.9.2",
37
+ "@golemio/core": "1.9.16-dev.1226254874",
38
38
  "@golemio/db-common": "1.1.2",
39
39
  "@golemio/eslint-config": "1.1.1",
40
40
  "@types/chai": "4.2.3",