@statezero/core 0.1.80 → 0.1.81

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.
@@ -219,11 +219,9 @@ export class QueryExecutor {
219
219
  const ModelClass = querySet.ModelClass;
220
220
  const modelName = ModelClass.modelName;
221
221
  const apiCallArgs = {
222
- filter: args.filter,
223
222
  data: args.data || {},
224
223
  };
225
- // Use factory to create operation (includes F expression evaluation)
226
- const operation = OperationFactory.createUpdateOperation(querySet, apiCallArgs.data, apiCallArgs.filter);
224
+ const operation = OperationFactory.createUpdateOperation(querySet, apiCallArgs.data, querySet.build().filter);
227
225
  const estimatedCount = operation.instances.length;
228
226
  let liveResult = [estimatedCount, { [modelName]: estimatedCount }];
229
227
  const promise = makeApiCall(querySet, operationType, apiCallArgs, operation.operationId)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statezero/core",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
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",