@reactables/core 1.3.0-alpha.1 → 1.3.0-alpha.3

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -296,12 +296,11 @@ var storeValue = function (reactable) {
296
296
  var state$ = reactable[0], actions = reactable[1], actions$ = reactable[2];
297
297
  var subscription = state$.subscribe(function (state) { return replaySubject$.next(state); });
298
298
  var destroy = function () {
299
- var _a;
300
- // If destroy action already exists (i.e from a web worker), invoke it
301
- (_a = actions.destroy) === null || _a === void 0 ? void 0 : _a.call(actions);
299
+ console.log('unsubscribe store value');
302
300
  subscription.unsubscribe();
303
301
  };
304
- return [replaySubject$, __assign(__assign({}, actions), { destroy: destroy }), actions$];
302
+ actions.destroy = destroy;
303
+ return [replaySubject$, actions, actions$];
305
304
  };
306
305
 
307
306
  var combine = function (sourceReactables) {
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "peerDependencies": {
17
17
  "rxjs": "^6.0.0 || ^7.0.0"
18
18
  },
19
- "version": "1.3.0-alpha.1"
19
+ "version": "1.3.0-alpha.3"
20
20
  }