rads-db 3.0.72 → 3.0.73

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
@@ -787,8 +787,8 @@ function getRadsDbMethods(key, computedContext, driverInstance) {
787
787
  return { oldDoc, doc };
788
788
  });
789
789
  await handlePrecomputed(computedContext, docArgsToSave, ctx);
790
- const beforePutResults = await handleEffectsBeforePut(computedContext, docArgsToSave, ctx);
791
790
  await beforePut(docArgsToSave, ctx, computedContext);
791
+ const beforePutResults = await handleEffectsBeforePut(computedContext, docArgsToSave, ctx);
792
792
  for (const d of docArgsToSave) {
793
793
  const validatedDoc = validators[key](d.doc);
794
794
  for (const f of precomputedFields || []) {
package/dist/index.mjs CHANGED
@@ -780,8 +780,8 @@ function getRadsDbMethods(key, computedContext, driverInstance) {
780
780
  return { oldDoc, doc };
781
781
  });
782
782
  await handlePrecomputed(computedContext, docArgsToSave, ctx);
783
- const beforePutResults = await handleEffectsBeforePut(computedContext, docArgsToSave, ctx);
784
783
  await beforePut(docArgsToSave, ctx, computedContext);
784
+ const beforePutResults = await handleEffectsBeforePut(computedContext, docArgsToSave, ctx);
785
785
  for (const d of docArgsToSave) {
786
786
  const validatedDoc = validators[key](d.doc);
787
787
  for (const f of precomputedFields || []) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rads-db",
3
- "version": "3.0.72",
3
+ "version": "3.0.73",
4
4
  "packageManager": "pnpm@8.6.1",
5
5
  "description": "Say goodbye to boilerplate code and hello to efficient and elegant syntax.",
6
6
  "author": "",