@webkrafters/react-eagleeye 1.1.0-alpha.2 → 1.1.0-alpha.4

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.
@@ -41,7 +41,7 @@ var ChsResource = /*#__PURE__*/function () {
41
41
  _defineProperty(this, "_finalizer", new FinalizationRegistry(function (s) {
42
42
  return _this.finalize(s);
43
43
  }));
44
- _defineProperty(this, "_registry", void 0);
44
+ _defineProperty(this, "_registry", {});
45
45
  }
46
46
  return _createClass(ChsResource, [{
47
47
  key: "acquire",
@@ -134,7 +134,7 @@ var ObsResource = /*#__PURE__*/function () {
134
134
  _defineProperty(this, "_finalizer", new FinalizationRegistry(function (regKey) {
135
135
  delete _this3._registry[regKey];
136
136
  }));
137
- _defineProperty(this, "_registry", void 0);
137
+ _defineProperty(this, "_registry", {});
138
138
  }
139
139
  return _createClass(ObsResource, [{
140
140
  key: "acquire",
@@ -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
  }
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.2",
128
+ "version": "1.1.0-alpha.4",
129
129
  "dependencies": {
130
130
  "@webkrafters/eagleeye": "^1.0.8",
131
131
  "js-sha512": "^0.9.0",