@cascateer/core 2.4.18 → 2.4.19

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.4.18",
3
+ "version": "2.4.19",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cascateer/core.git"
@@ -2,4 +2,6 @@ import * as lodash from "lodash";
2
2
  import objectHash from "object-hash";
3
3
 
4
4
  export const memoize = <T extends (...args: any) => any>(func: T) =>
5
- lodash.memoize(func, (...args: Parameters<T>) => objectHash(args ?? null));
5
+ lodash.memoize(func, (...args: Parameters<T>) =>
6
+ lodash.tap(objectHash(args ?? null), (hash) => console.log({ hash, args })),
7
+ );
package/src/store.ts CHANGED
@@ -67,7 +67,7 @@ export class ExtendableStoreAdapter<
67
67
  key: Promise<string>,
68
68
  handler: (
69
69
  action: MulticastBaseActionMessage<any, "transformAction">,
70
- ) => Promise<MulticastAction<any, "transformAction"> | undefined>,
70
+ ) => MulticastAction<any, "transformAction">,
71
71
  ) => void;
72
72
  },
73
73
  private extendableSignals: ExtendableDictionary<
@@ -142,7 +142,7 @@ export class ExtendableStoreAdapter<
142
142
  UnaryFunction<unknown, void>
143
143
  >();
144
144
 
145
- this.transform.parse(key, async (event) => ({
145
+ this.transform.parse(key, (event) => ({
146
146
  ...event,
147
147
  predicate: signal.pull(
148
148
  predicate(