appc-connector-utils
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -5,6 +5,5 @@ const metadataValidator = require('./utils/metadataValidator') | ||
options = options || {} | ||
const container = Arrow.getGlobal() | ||
const arrowUtils = require('./utils/arrow')(Arrow) | ||
const modelAPI = require('./model/api')(Arrow) | ||
const connector = arrowUtils.getConnector(container, conn) | ||
const connector = arrowUtils.getConnectorStatic(conn).connector | ||
@@ -11,0 +10,0 @@ return { |
@@ -13,4 +13,3 @@ module.exports = Arrow => { | ||
startArrowHttp: startArrowHttp, | ||
stopArrowHttp: stopArrowHttp, | ||
getConnector: getConnector | ||
stopArrowHttp: stopArrowHttp | ||
} | ||
@@ -132,5 +131,5 @@ | ||
ENV.container = new Arrow(cfg, true) | ||
ENV.container = Arrow.getGlobal() || new Arrow(cfg, true) | ||
return ENV | ||
} | ||
} |
{ | ||
"name": "appc-connector-utils", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Utilities for Arrow Connectors", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41556
790