@danielsimonjr/memoryjs 2.2.0 → 2.3.0

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/dist/index.cjs CHANGED
@@ -17360,7 +17360,30 @@ var OPTIONAL_PERSISTED_ENTITY_FIELDS = [
17360
17360
  // ArtifactEntity extension (types/artifact.ts)
17361
17361
  "artifactType",
17362
17362
  "toolName",
17363
- "shortId"
17363
+ "shortId",
17364
+ // v2.1.0 subclass-manager record fields (sibling to the v2.1.1
17365
+ // UpdateEntitySchema.passthrough fix — same root cause: subclass managers
17366
+ // attach domain records that the persistence allowlist must also admit,
17367
+ // otherwise the records are silently dropped on save and the managers'
17368
+ // list/match/get operations return empty on next load).
17369
+ "heuristicRecord",
17370
+ // HeuristicEntity
17371
+ "decisionRecord",
17372
+ // DecisionEntity (includes nested lifecycle)
17373
+ "exclusionRule",
17374
+ // ExclusionEntity
17375
+ "projectContextRecord",
17376
+ // ProjectContextEntity
17377
+ "toolAffordanceRecord",
17378
+ // ToolAffordanceEntity
17379
+ "prospectiveRecord",
17380
+ // ProspectiveEntity
17381
+ "failureRecord",
17382
+ // FailureEntity
17383
+ "planRecord",
17384
+ // PlanEntity
17385
+ "reflectionRecord"
17386
+ // ReflectionEntity
17364
17387
  ];
17365
17388
  function copyOptionalPersistedFields(src, dst) {
17366
17389
  for (const field of OPTIONAL_PERSISTED_ENTITY_FIELDS) {