@cadenza.io/service 1.9.10 → 1.9.11

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.js CHANGED
@@ -3053,7 +3053,6 @@ var DatabaseController = class _DatabaseController {
3053
3053
  }
3054
3054
  createDatabaseTask(op, tableName, table, queryFunction, options) {
3055
3055
  var _a2, _b2, _c2, _d2;
3056
- const defaultSignal = `${tableName}.${op}`;
3057
3056
  CadenzaService.createTask(
3058
3057
  `db${op.charAt(0).toUpperCase() + op.slice(1)}${tableName.charAt(0).toUpperCase() + tableName.slice(1)}`,
3059
3058
  (context, emit) => __async(null, null, function* () {
@@ -3115,7 +3114,7 @@ var DatabaseController = class _DatabaseController {
3115
3114
  ...(_d2 = (_c2 = (_b2 = (_a2 = table.customSignals) == null ? void 0 : _a2.triggers) == null ? void 0 : _b2[op]) == null ? void 0 : _c2.map((signal) => {
3116
3115
  return typeof signal === "string" ? signal : signal.signal;
3117
3116
  })) != null ? _d2 : []
3118
- ).emits(defaultSignal);
3117
+ );
3119
3118
  console.log("Created database task", op, tableName);
3120
3119
  }
3121
3120
  };