@bbn/bbn 1.0.402 → 1.0.403

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
@@ -309,6 +309,11 @@ var db = {
309
309
  conn_1.onsuccess = function () {
310
310
  db._connections[name] = conn_1.result;
311
311
  var obj = new dbObject(name);
312
+ bbn.fn.iterate(db._structures[name], function (structure, storeName) {
313
+ if (!db._stores[storeName]) {
314
+ _this.updateStructure(storeName, structure, conn_1.result);
315
+ }
316
+ });
312
317
  resolve(obj);
313
318
  };
314
319
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.402",
3
+ "version": "1.0.403",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",