corebasic 1.0.190 → 1.0.192

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/libs/elabase.js +4 -4
  2. package/package.json +1 -1
package/libs/elabase.js CHANGED
@@ -190,22 +190,22 @@ function validate_topology(meta, collection, fn_name) {
190
190
 
191
191
  let config = COLLECTIONS_JSON?.[collection]
192
192
  if (!config) {
193
- console.warn(`Warn: Nonexistant config for collection: ${collection}${fn_name ? ` in ${fn_name}` : ''}`)
193
+ console.warn(`Warn: Missing config for collection: ${collection}${fn_name ? ` ${fn_name}` : ''}`)
194
194
  return new_meta
195
195
  }
196
196
 
197
197
  function check_core_meta(config, meta, suffix) {
198
198
  if (config.company !== meta.company && typeof config.company !== "object")
199
- throw {message: `Error: Incompatible meta.company config for collection: ${collection}${suffix ? ' suffix: ' + suffix : ''}${fn_name ? ` in ${fn_name}` : ''}`}
199
+ throw {message: `Error: Incompatible meta.company config for collection: ${collection}${suffix ? ' suffix: ' + suffix : ''}${fn_name ? ` ${fn_name}` : ''}`}
200
200
  if (config.outlet !== meta.outlet && typeof config.outlet !== "object")
201
- throw {message: `Error: Incompatible meta.outlet config for collection: ${collection}${suffix ? ' suffix: ' + suffix : ''}${fn_name ? ` in ${fn_name}` : ''}`}
201
+ throw {message: `Error: Incompatible meta.outlet config for collection: ${collection}${suffix ? ' suffix: ' + suffix : ''}${fn_name ? ` ${fn_name}` : ''}`}
202
202
  }
203
203
 
204
204
  check_core_meta(config, meta)
205
205
 
206
206
  if (config.suffix && meta.suffix) {
207
207
  if (!config.suffix[meta.suffix]) {
208
- console.warn(`Warn: Nonexistant suffix config for collection: ${collection} suffix:${meta.suffix}${fn_name ? ` in ${fn_name}` : ''}`)
208
+ console.warn(`Warn: Missing suffix config for collection: ${collection} suffix:${meta.suffix}${fn_name ? ` ${fn_name}` : ''}`)
209
209
  return new_meta
210
210
  }
211
211
  check_core_meta(config.suffix[meta.suffix], meta, meta.suffix)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.190",
4
+ "version": "1.0.192",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {