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

Commit

Permalink
patch version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mamadou committed Sep 24, 2021
1 parent b18b90a commit 47bf3fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lib/Adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function execute() {
queries: []
};
return function (state) {
return _languageCommon.execute.apply(void 0, [createClient, connect].concat(operations, [disconnect, cleanupState]))(_objectSpread({}, initialState, {}, state))["catch"](function (e) {
return _languageCommon.execute.apply(void 0, [createClient, connect].concat(operations, [disconnect, cleanupState]))(_objectSpread(_objectSpread({}, initialState), state))["catch"](function (e) {
console.error(e);
console.error('Unhandled error in the operations. Exiting process.');
process.exit(1);
Expand Down Expand Up @@ -171,15 +171,15 @@ function createClient(state) {
}; // instantiate a new client

var client = new _pg["default"].Client(config);
return _objectSpread({}, state, {
return _objectSpread(_objectSpread({}, state), {}, {
client: client
});
}

function connect(state) {
var client = state.client;
client.connect();
return _objectSpread({}, state, {
return _objectSpread(_objectSpread({}, state), {}, {
client: client
});
}
Expand Down Expand Up @@ -221,7 +221,7 @@ function queryHandler(state, query, options) {
}
});
}).then(function (data) {
return _objectSpread({}, state, {
return _objectSpread(_objectSpread({}, state), {}, {
response: {
body: data
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfn/language-postgresql",
"version": "3.3.0",
"version": "3.3.1",
"description": "A PostgreSQL Language Pack for OpenFn",
"homepage": "https://docs.openfn.org",
"main": "lib/index.js",
Expand Down

0 comments on commit 47bf3fd

Please sign in to comment.