@saasquatch/program-boilerplate 3.6.1-3 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/trigger.js +0 -6
  2. package/package.json +3 -3
package/dist/trigger.js CHANGED
@@ -191,12 +191,6 @@ function handleProgramVariableSchemaRequest(body, program) {
191
191
  ["error.message"]: e.message,
192
192
  ["error.stack"]: e.stack,
193
193
  });
194
- // FIXME: This code wasn't actually returning a 500 before this, was that meant to be the case
195
- // or did we just forget?
196
- return {
197
- json: errorMes,
198
- code: 500,
199
- };
200
194
  }
201
195
  if (!newSchema) {
202
196
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/program-boilerplate",
3
- "version": "3.6.1-3",
3
+ "version": "3.6.1",
4
4
  "description": "Boilerplate for writing programs",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -13,7 +13,7 @@
13
13
  "prepush": "npm run format",
14
14
  "prepare": "npm run build",
15
15
  "deploy": "np",
16
- "test": "jest"
16
+ "test": "SSQT_LOG_LEVEL=emerg jest"
17
17
  },
18
18
  "author": "",
19
19
  "license": "ISC",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@saasquatch/jsonata-paths-extractor": "^1.0.1",
36
- "@saasquatch/logger": "^1.0.0-3",
36
+ "@saasquatch/logger": "^1.0.0",
37
37
  "bson-objectid": "^1.3.1",
38
38
  "compression": "^1.7.4",
39
39
  "express": "^4.17.1",