theprogrammablemind 7.3.5-beta.29 → 7.3.5-beta.30
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.
- package/client.js +2 -3
- package/package.json +1 -1
package/client.js
CHANGED
@@ -11,7 +11,6 @@ const flattens = require('./src/flatten')
|
|
11
11
|
const { appendNoDups, InitCalls } = require('./src/helpers')
|
12
12
|
const runtime = require('./runtime')
|
13
13
|
const sortJson = runtime.sortJson
|
14
|
-
const util = runtime.util
|
15
14
|
|
16
15
|
const ask = (config) => (asks) => {
|
17
16
|
for (let ask of asks) {
|
@@ -842,7 +841,7 @@ const defaultErrorHandler = async (error) => {
|
|
842
841
|
}
|
843
842
|
|
844
843
|
if (error.config) {
|
845
|
-
console.log('objects', util.inspect(error.config.get('objects'), { depth: Infinity, sorted: true }))
|
844
|
+
console.log('objects', runtime.util.inspect(error.config.get('objects'), { depth: Infinity, sorted: true }))
|
846
845
|
}
|
847
846
|
|
848
847
|
if (error.stack) {
|
@@ -896,7 +895,7 @@ const defaultInnerProcess = (config, errorHandler, responses) => {
|
|
896
895
|
if (global.beforeObjects) {
|
897
896
|
console.log('objects', runtime.jsonDiff.diffString(global.beforeObjects, config.get('objects')))
|
898
897
|
} else {
|
899
|
-
console.log('objects', util.inspect(config.get('objects'), { depth: Infinity, sorted: true }))
|
898
|
+
console.log('objects', runtime.util.inspect(config.get('objects'), { depth: Infinity, sorted: true }))
|
900
899
|
}
|
901
900
|
console.log('--- The contexts are ----------')
|
902
901
|
console.log(JSON.stringify(sortJson(responses.contexts, { depth: 25 }), null, 2))
|