@statezero/core 0.2.18 → 0.2.20

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.
@@ -93,7 +93,8 @@ export class QueryExecutor {
93
93
  processIncludedEntities(modelStoreRegistry, included, qs.ModelClass, qs);
94
94
  const pks = Array.isArray(data) ? data : [];
95
95
  querysetStoreRegistry.setEntity(qs, pks);
96
- return querysetStoreRegistry.getEntity(qs);
96
+ breakThenable(live);
97
+ return live;
97
98
  });
98
99
  return makeLiveThenable(live, promise);
99
100
  }
@@ -192,6 +193,7 @@ export class QueryExecutor {
192
193
  // Update the metric store with the ground truth value and current queryset
193
194
  const dataSlice = querysetStoreRegistry.getEntity(querySet);
194
195
  metricRegistry.setEntity(operationType, querySet, field, value, dataSlice);
196
+ breakThenable(liveMetric);
195
197
  // Return the value for the promise resolution
196
198
  return value;
197
199
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statezero/core",
3
- "version": "0.2.18",
3
+ "version": "0.2.20",
4
4
  "type": "module",
5
5
  "module": "ESNext",
6
6
  "description": "The type-safe frontend client for StateZero - connect directly to your backend models with zero boilerplate",