theprogrammablemind 7.5.8-beta.15 → 7.5.8-beta.16
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 +1 -2
- package/package.json +1 -1
- package/src/config.js +4 -1
package/client.js
CHANGED
@@ -9,7 +9,6 @@ const _ = require('lodash')
|
|
9
9
|
const stringify = require('json-stable-stringify')
|
10
10
|
const Lines = require('./lines')
|
11
11
|
const flattens = require('./src/flatten')
|
12
|
-
const { config_toServer } = require('./src/config.js')
|
13
12
|
const { appendNoDups, InitCalls, updateQueries } = require('./src/helpers')
|
14
13
|
const runtime = require('./runtime')
|
15
14
|
const sortJson = runtime.sortJson
|
@@ -553,7 +552,7 @@ const setupProcessB = ({ config, initializer, allowDelta=false } = {}) => {
|
|
553
552
|
Object.assign(data, config.config)
|
554
553
|
}
|
555
554
|
|
556
|
-
|
555
|
+
config.toServer(data)
|
557
556
|
|
558
557
|
if (data.namespaces) {
|
559
558
|
for (const uuid of Object.keys(data.namespaces)) {
|
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -79,7 +79,6 @@ const elist = (list, check, prefix) => {
|
|
79
79
|
}
|
80
80
|
}
|
81
81
|
const contextual_priorities_valid = (cps) => {
|
82
|
-
debugger
|
83
82
|
elist(cps, (cp) => contextual_priority_valid(cp), (index, e) => `contextual_priorities has an invalid contextual priority at position ${index}. ${e}`)
|
84
83
|
}
|
85
84
|
|
@@ -570,6 +569,10 @@ const multiApiImpl = (initializer) => {
|
|
570
569
|
|
571
570
|
class Config {
|
572
571
|
|
572
|
+
toServer (config) {
|
573
|
+
return config_toServer(config)
|
574
|
+
}
|
575
|
+
|
573
576
|
inDevelopmentMode (call) {
|
574
577
|
config.developmentModeOn += 1
|
575
578
|
try {
|