@webkrafters/react-eagleeye 1.1.0-alpha.14 → 1.1.0-alpha.15
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.
|
@@ -432,9 +432,15 @@ var ObservableUniverse = exports.ObservableUniverse = /*#__PURE__*/function () {
|
|
|
432
432
|
mounted.current = true;
|
|
433
433
|
}
|
|
434
434
|
var fn = function fn() {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
435
|
+
try {
|
|
436
|
+
setStore(_objectSpread(_objectSpread({}, store), {}, {
|
|
437
|
+
data: channel.data
|
|
438
|
+
}));
|
|
439
|
+
} catch (e) {
|
|
440
|
+
if (!e.message.includes("Cannot read properties of null (reading 'getState')")) {
|
|
441
|
+
throw e;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
438
444
|
};
|
|
439
445
|
channel.addListener('data-changed', fn);
|
|
440
446
|
return function () {
|
package/package.json
CHANGED
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"test:watch": "eslint --fix && jest --updateSnapshot --watchAll"
|
|
127
127
|
},
|
|
128
128
|
"types": "dist/index.d.ts",
|
|
129
|
-
"version": "1.1.0-alpha.
|
|
129
|
+
"version": "1.1.0-alpha.15",
|
|
130
130
|
"dependencies": {
|
|
131
131
|
"@webkrafters/eagleeye": "^1.0.8",
|
|
132
132
|
"js-sha512": "^0.9.0",
|