@live-change/relations-plugin 0.7.37 → 0.7.39

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/changeTriggers.js CHANGED
@@ -96,6 +96,7 @@ function registerParentDeleteTriggers(context, config) {
96
96
  type: String
97
97
  }
98
98
  },
99
+ timeout: config.parentDeleteTriggerTimeout,
99
100
  async execute({object}, {client, service}, emit) {
100
101
  await triggerDeleteOnParentDeleteTriggers(context, propertyName, [object],
101
102
  otherType, object, emit)
@@ -115,6 +116,7 @@ function registerParentDeleteTriggers(context, config) {
115
116
  type: String
116
117
  }
117
118
  },
119
+ timeout: config.parentDeleteTriggerTimeout,
118
120
  async execute({ objectType, object }, {client, service}, emit) {
119
121
  for(const propertyName of otherPropertyNames) {
120
122
  await triggerDeleteOnParentDeleteTriggers(context, propertyName, [objectType, object],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/relations-plugin",
3
- "version": "0.7.37",
3
+ "version": "0.7.39",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,8 +21,8 @@
21
21
  "url": "https://www.viamage.com/"
22
22
  },
23
23
  "dependencies": {
24
- "@live-change/framework": "^0.7.37",
24
+ "@live-change/framework": "^0.7.39",
25
25
  "pluralize": "^8.0.0"
26
26
  },
27
- "gitHead": "8f1f29cb2368f64e80ad491f8026be96d2d61c8e"
27
+ "gitHead": "9e9cd47f2fb1c3c82b20fdddbc5505c99e1e1c68"
28
28
  }
@@ -157,6 +157,7 @@ function defineDeleteAction(config, context) {
157
157
  skipValidation: true,
158
158
  //queuedBy: otherPropertyNames,
159
159
  waitForEvents: true,
160
+ timeout: config.deleteTimeout,
160
161
  async execute(properties, { client, service }, emit) {
161
162
  const id = properties[modelPropertyName]
162
163
  const entity = await modelRuntime().get(id)