chrono-forge
Advanced tools
Comparing version 0.7.11 to 0.7.12
@@ -416,3 +416,5 @@ "use strict"; | ||
const rawData = (0, limitRecursion_1.limitRecursion)((0, normalizr_1.denormalize)(state, entitySchema, newState), entitySchema); | ||
const data = typeof config.processData === 'function' ? config.processData(rawData, this) : rawData; | ||
const data = typeof config.processData === 'function' | ||
? config.processData(rawData, (0, limitRecursion_1.limitRecursion)((0, normalizr_1.denormalize)((0, dottie_1.get)(newState, `${this.entityName}.${this.id}`, {}), this.schema, newState), this.schema)) | ||
: rawData; | ||
const { [idAttribute]: id, ...rest } = state; | ||
@@ -419,0 +421,0 @@ const compositeId = Array.isArray(idAttribute) ? (0, getCompositeKey_1.getCompositeKey)(data, idAttribute) : id; |
{ | ||
"name": "chrono-forge", | ||
"version": "0.7.11", | ||
"version": "0.7.12", | ||
"description": "A comprehensive framework for building resilient Temporal workflows, advanced state management, and real-time streaming activities in TypeScript. Designed for a seamless developer experience with powerful abstractions, dynamic orchestration, and full control over distributed systems.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
283222
3350