@cascateer/core 2.2.18 → 2.2.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cascateer/core",
3
- "version": "2.2.18",
3
+ "version": "2.2.20",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/cascateer/core.git"
package/src/multicast.ts CHANGED
@@ -72,6 +72,7 @@ const actions = proxyReplaySubject<Observable<InMessages>, OutMessages>(
72
72
  ports: new Array<MessagePort>(),
73
73
  },
74
74
  ),
75
+ share(),
75
76
  ),
76
77
  ),
77
78
  share(),
@@ -1,4 +1,3 @@
1
- import { tap } from "lodash";
2
1
  import { concatMap, shareReplay, startWith, UnaryFunction } from "rxjs";
3
2
  import { v4 } from "uuid";
4
3
  import { ComputedSignal, ProxySubject } from "../observable";
@@ -91,9 +90,7 @@ export const multicast = <Seed>(
91
90
  data: { key, seed },
92
91
  }),
93
92
  ),
94
- concatMap((message) =>
95
- key.then((key) => tap(message({ key, id: v4() }), console.log)),
96
- ),
93
+ concatMap((message) => key.then((key) => message({ key, id: v4() }))),
97
94
  exchangeWith<MulticastHostMessage, MulticastClientMessage>(
98
95
  new SharedWorker(new URL("../multicast.ts", import.meta.url), {
99
96
  type: "module",
package/src/store.ts CHANGED
@@ -204,7 +204,6 @@ export class StoreProvider<Data> extends ExtendableStoreAdapter<
204
204
  actions
205
205
  .pipe(
206
206
  mergeMap(async (event) => {
207
- console.log(event);
208
207
  if (
209
208
  event.type === "transformAction" &&
210
209
  event.data.key === (await key)