diff --git a/lib/Adaptor.js b/lib/Adaptor.js index c9e6b91..04a191e 100644 --- a/lib/Adaptor.js +++ b/lib/Adaptor.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -exports.arrayToString = exports.toArray = exports.beta = exports.index = exports.lastReferenceValue = exports.referencePath = exports.dataValue = exports.dataPath = exports.merge = exports.combine = exports.map = exports.sourceValue = exports.source = exports.field = exports.fields = exports.join = exports.each = exports.relationship = exports.lookup = exports.reference = exports.upsert = exports.create = exports.describe = undefined; +exports.alterState = exports.arrayToString = exports.toArray = exports.beta = exports.index = exports.lastReferenceValue = exports.referencePath = exports.dataValue = exports.dataPath = exports.merge = exports.combine = exports.map = exports.sourceValue = exports.source = exports.field = exports.fields = exports.join = exports.each = exports.relationship = exports.lookup = exports.reference = exports.upsert = exports.create = exports.describe = undefined; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; @@ -129,6 +129,12 @@ Object.defineProperty(exports, 'arrayToString', { return _languageCommon.arrayToString; } }); +Object.defineProperty(exports, 'alterState', { + enumerable: true, + get: function get() { + return _languageCommon.alterState; + } +}); var _jsforce = require('jsforce'); diff --git a/package.json b/package.json index cb6a1b8..e5aed29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "language-salesforce", - "version": "0.1.6", + "version": "0.2.0", "description": "Salesforce Language Pack for OpenFn", "main": "lib/index.js", "scripts": { @@ -20,7 +20,7 @@ "dependencies": { "JSONPath": "^0.10.0", "jsforce": "1.5.1", - "language-common": "github:openfn/language-common#v0.0.4", + "language-common": "github:openfn/language-common#v0.0.5", "lodash-fp": "^0.10.2", "mustache": "^2.2.0", "yargs": "^3.30.0" diff --git a/src/Adaptor.js b/src/Adaptor.js index 183ec38..e5cd31d 100644 --- a/src/Adaptor.js +++ b/src/Adaptor.js @@ -158,5 +158,5 @@ export { lookup, relationship } from './sourceHelpers'; export { each, join, fields, field, source, sourceValue, map, combine, merge, dataPath, dataValue, referencePath, lastReferenceValue, - index, beta, toArray, arrayToString + index, beta, toArray, arrayToString, alterState } from 'language-common';