@cascateer/core 2.3.13 → 2.3.15
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 +1 -1
- package/src/store.ts +3 -2
package/package.json
CHANGED
package/src/store.ts
CHANGED
|
@@ -208,10 +208,11 @@ export class StoreProvider<Data> extends ExtendableStoreAdapter<
|
|
|
208
208
|
event.type === "transformAction" &&
|
|
209
209
|
event.data.key === (await key)
|
|
210
210
|
) {
|
|
211
|
-
console.log(event.data.args);
|
|
212
211
|
return {
|
|
213
212
|
...event,
|
|
214
|
-
predicate: await transform(
|
|
213
|
+
predicate: await transform(
|
|
214
|
+
JSON.parse(event.data.args ?? null),
|
|
215
|
+
),
|
|
215
216
|
callback: callbacks.get(event.id),
|
|
216
217
|
};
|
|
217
218
|
}
|