@bbn/bbn 1.0.381 → 1.0.382
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/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/db.js +1 -1
- package/package.json +1 -1
package/dist/db.js
CHANGED
|
@@ -113,10 +113,10 @@ var dbObject = function (dbName) {
|
|
|
113
113
|
throw new Error(_("No primary key in the data"));
|
|
114
114
|
}
|
|
115
115
|
var req = store.put(newData);
|
|
116
|
+
onError(req, resolve);
|
|
116
117
|
req.onsuccess = function () {
|
|
117
118
|
res++;
|
|
118
119
|
};
|
|
119
|
-
onError(req, resolve);
|
|
120
120
|
}
|
|
121
121
|
tx.oncomplete = function () {
|
|
122
122
|
resolve(res);
|