@ethereansos/interfaces-core 0.4.147 → 0.4.150
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/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -64093,14 +64093,14 @@ function setItem(key, value) {
|
|
64093
64093
|
query = store.put({
|
64094
64094
|
key: key,
|
64095
64095
|
value: value && _typeof(value).toLowerCase() === 'string' ? value : JSON.stringify(value || null)
|
64096
|
-
});
|
64096
|
+
}, key);
|
64097
64097
|
|
64098
64098
|
query.onsuccess = function (event) {
|
64099
64099
|
return ok(event.target.result);
|
64100
64100
|
};
|
64101
64101
|
|
64102
64102
|
query.onerror = function (event) {
|
64103
|
-
return ko(event.target.errorCode);
|
64103
|
+
return ko(event.target.error || event.target.errorCode);
|
64104
64104
|
};
|
64105
64105
|
|
64106
64106
|
txn.oncomplete = /*#__PURE__*/_asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
@@ -64154,7 +64154,7 @@ function getItem(key) {
|
|
64154
64154
|
};
|
64155
64155
|
|
64156
64156
|
query.onerror = function (event) {
|
64157
|
-
return ko(event.target.errorCode);
|
64157
|
+
return ko(event.target.error || event.target.errorCode);
|
64158
64158
|
};
|
64159
64159
|
|
64160
64160
|
txn.oncomplete = /*#__PURE__*/_asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|