diff --git a/lib/Adaptor.js b/lib/Adaptor.js index 2a62faa..a159733 100644 --- a/lib/Adaptor.js +++ b/lib/Adaptor.js @@ -12,16 +12,16 @@ exports.del = del; exports.parseXML = parseXML; exports.parseCSV = parseCSV; exports.request = request; -Object.defineProperty(exports, "fn", { +Object.defineProperty(exports, "alterState", { enumerable: true, get: function () { - return _languageCommon.fn; + return _languageCommon.alterState; } }); -Object.defineProperty(exports, "alterState", { +Object.defineProperty(exports, "combine", { enumerable: true, get: function () { - return _languageCommon.alterState; + return _languageCommon.combine; } }); Object.defineProperty(exports, "dataPath", { @@ -36,6 +36,12 @@ Object.defineProperty(exports, "dataValue", { return _languageCommon.dataValue; } }); +Object.defineProperty(exports, "dateFns", { + enumerable: true, + get: function () { + return _languageCommon.dateFns; + } +}); Object.defineProperty(exports, "each", { enumerable: true, get: function () { @@ -54,6 +60,12 @@ Object.defineProperty(exports, "fields", { return _languageCommon.fields; } }); +Object.defineProperty(exports, "fn", { + enumerable: true, + get: function () { + return _languageCommon.fn; + } +}); Object.defineProperty(exports, "http", { enumerable: true, get: function () { @@ -78,12 +90,6 @@ Object.defineProperty(exports, "sourceValue", { return _languageCommon.sourceValue; } }); -Object.defineProperty(exports, "combine", { - enumerable: true, - get: function () { - return _languageCommon.combine; - } -}); var _Utils = require("./Utils"); diff --git a/src/Adaptor.js b/src/Adaptor.js index 6606849..0fb8f18 100644 --- a/src/Adaptor.js +++ b/src/Adaptor.js @@ -423,16 +423,17 @@ export function request(params) { } export { - fn, alterState, + combine, dataPath, dataValue, + dateFns, each, field, fields, + fn, http, lastReferenceValue, merge, sourceValue, - combine, } from '@openfn/language-common';