theprogrammablemind 7.5.0-beta.45 → 7.5.0-beta.46

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
@@ -1059,7 +1059,6 @@ const build = async ({ config, target, template, errorHandler = defaultErrorHand
1059
1059
  if (typeof queryOrExtraConfig === 'string') {
1060
1060
  query = { query }
1061
1061
  }
1062
- console.log('query', query.query)
1063
1062
  config.config.skipSemantics = skipSemantics
1064
1063
  const transitoryMode = global.transitoryMode
1065
1064
  if (property == 'fragments') {
@@ -1083,6 +1082,11 @@ const build = async ({ config, target, template, errorHandler = defaultErrorHand
1083
1082
  // TODO pass in the error handler like the other ones
1084
1083
  defaultInnerProcess(config, defaultErrorHandler, results)
1085
1084
  }
1085
+ if (results.contexts.length > 1) {
1086
+ console.log(`query ${query.query}. There is ${results.contexts.length} contexts in the results. Make sure its producing the results that you expect.`)
1087
+ } else {
1088
+ console.log(`query ${query.query}`)
1089
+ }
1086
1090
  global.transitoryMode = transitoryMode
1087
1091
  config.config.skipSemantics = null
1088
1092
  results.query = query.query
package/package.json CHANGED
@@ -61,6 +61,6 @@
61
61
  "json-stable-stringify": "^1.0.1",
62
62
  "node-fetch": "^2.6.1"
63
63
  },
64
- "version": "7.5.0-beta.45",
64
+ "version": "7.5.0-beta.46",
65
65
  "license": "ISC"
66
66
  }