v4.1.1
Patch Changes
-
82c85aa: SMOODEV-642:
getSource()now reflects sync readscfg.getSource(key)used to returnundefinedfor any key that had only been read via.getSync(). Each synckit worker has its own module scope, so the worker'slastSourcemap never propagated back to the parent thread.Fix: the synckit worker now returns a
{ value, source }envelope. The parent-thread wrapper in/server/index.tscalls a new internalrecordSource(key, source)helper to copy the source into its ownlastSourcemap.getSourceworks identically for sync + async reads now.