@cascateer/core 2.0.8 → 2.0.10

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.0.8",
3
+ "version": "2.0.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/cascateer/core.git"
@@ -91,7 +91,9 @@ export const multicast = <Seed>(
91
91
  ),
92
92
  concatMap((message) => key.then((key) => message({ key, id: v4() }))),
93
93
  exchangeWith<MulticastHostMessage, MulticastClientMessage>(
94
- new SharedWorker(new URL("../multicast.ts", import.meta.url)).port,
94
+ new SharedWorker(new URL("../multicast.ts", import.meta.url), {
95
+ type: "module",
96
+ }).port,
95
97
  ),
96
98
  shareReplay({ refCount: false }),
97
99
  ),
package/src/store.ts CHANGED
@@ -231,6 +231,8 @@ export class StoreProvider<Data> extends ExtendableStoreAdapter<
231
231
  value: merge(seedActions, transformActions).pipe(
232
232
  sequence<MulticastAction<Data>, Data>(
233
233
  ([action, previousAction], [previousState]) => {
234
+ console.log(action);
235
+
234
236
  if (action.type === "seedAction") {
235
237
  return action.predicate();
236
238
  }