Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
update common, use 'fn'
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Aug 4, 2021
1 parent e54474e commit e5c754b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions lib/Adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ Object.defineProperty(exports, "alterState", {
return _languageCommon.alterState;
}
});
Object.defineProperty(exports, "fn", {
enumerable: true,
get: function get() {
return _languageCommon.fn;
}
});
Object.defineProperty(exports, "http", {
enumerable: true,
get: function get() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"ast.json"
],
"dependencies": {
"@openfn/language-common": "1.2.8",
"@openfn/language-common": "1.4.1",
"axios": "^0.21.1",
"lodash": "^4.17.19"
},
Expand Down
3 changes: 2 additions & 1 deletion src/Adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ axios.interceptors.response.use(
},
function (error) {
Log.error(`${error?.message}`);
return Promise.reject(JSON.stringify(error.response.data,null,2));
return Promise.reject(JSON.stringify(error.response.data, null, 2));
}
);

Expand Down Expand Up @@ -1940,5 +1940,6 @@ export {
dataValue,
lastReferenceValue,
alterState,
fn,
http,
} from '@openfn/language-common';

0 comments on commit e5c754b

Please sign in to comment.