@webkrafters/react-eagleeye 1.1.0-alpha.3 → 1.1.0-alpha.5

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.
@@ -282,7 +282,7 @@ var EagleEyeUniversal = exports.EagleEyeUniversal = /*#__PURE__*/function () {
282
282
  targetId = me.provide(props).targetId;
283
283
  } else {
284
284
  targetId = props.targetId;
285
- if (!this._util.getObservableAt(targetId)) {
285
+ if (!me._util.getObservableAt(targetId)) {
286
286
  throw new Error("No valid observable instance found at target ID, ".concat(targetId));
287
287
  }
288
288
  }
@@ -354,8 +354,8 @@ var Utility = /*#__PURE__*/function () {
354
354
  }, {
355
355
  key: "hashSelectorMap",
356
356
  value: function hashSelectorMap(selectorMap) {
357
- return (0, _jsSha.sha512)((0, _safeStableStringify["default"])(selectorMap, function (k, v) {
358
- typeof v === 'undefined' ? 'undefined' : v === null ? 'null' : v;
357
+ return (0, _jsSha.sha512)(typeof selectorMap === 'undefined' ? 'undefined' : selectorMap === null ? 'null' : (0, _safeStableStringify["default"])(selectorMap, function (k, v) {
358
+ return v !== null && v !== void 0 ? v : 'undefined';
359
359
  }));
360
360
  }
361
361
  }, {
package/package.json CHANGED
@@ -125,7 +125,7 @@
125
125
  "test:watch": "eslint --fix && jest --updateSnapshot --watchAll"
126
126
  },
127
127
  "types": "dist/index.d.ts",
128
- "version": "1.1.0-alpha.3",
128
+ "version": "1.1.0-alpha.5",
129
129
  "dependencies": {
130
130
  "@webkrafters/eagleeye": "^1.0.8",
131
131
  "js-sha512": "^0.9.0",