theprogrammablemind 7.10.0-beta.1 → 7.10.0-beta.2

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/client.js +5 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -667,7 +667,11 @@ const loadInstance = (config, instance) => {
667
667
  global.transitoryMode = transitoryMode
668
668
  }
669
669
 
670
- const _process = async (config, query, { initializer, commandLineArgs, credentials, writeTests, isTest, saveDeveloper, rebuildingTemplate, testConfig, testsFN, errorHandler = defaultErrorHandler } = {}) => {
670
+ const throwErrorHandler = (error) => {
671
+ throw error
672
+ }
673
+
674
+ const _process = async (config, query, { initializer, commandLineArgs, credentials, writeTests, isTest, saveDeveloper, rebuildingTemplate, testConfig, testsFN, errorHandler = throwErrorHandler } = {}) => {
671
675
  if (credentials) {
672
676
  config.server(credentials.server, credentials.key)
673
677
  }
package/package.json CHANGED
@@ -65,6 +65,6 @@
65
65
  "json-stable-stringify": "^1.0.1",
66
66
  "node-fetch": "^2.6.1"
67
67
  },
68
- "version": "7.10.0-beta.1",
68
+ "version": "7.10.0-beta.2",
69
69
  "license": "ISC"
70
70
  }