@bbn/bbn 1.0.400 → 1.0.402

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/dist/db.js CHANGED
@@ -319,7 +319,7 @@ var db = {
319
319
  },
320
320
  add: function (database, name, structure) {
321
321
  var _a, _b;
322
- bbn.fn.log("ADDING DB", (_a = structure === null || structure === void 0 ? void 0 : structure.keys) === null || _a === void 0 ? void 0 : _a.PRIMARY, structure === null || structure === void 0 ? void 0 : structure.fields);
322
+ bbn.fn.log("ADDING DB", db._connections[database], (_a = structure === null || structure === void 0 ? void 0 : structure.keys) === null || _a === void 0 ? void 0 : _a.PRIMARY, structure === null || structure === void 0 ? void 0 : structure.fields);
323
323
  if (((_b = structure === null || structure === void 0 ? void 0 : structure.keys) === null || _b === void 0 ? void 0 : _b.PRIMARY) && (structure === null || structure === void 0 ? void 0 : structure.fields)) {
324
324
  if (!db._structures[database]) {
325
325
  db._structures[database] = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.400",
3
+ "version": "1.0.402",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",