@mat3ra/wode 2025.11.5-0 → 2025.11.6-0

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.
@@ -180,7 +180,7 @@ class Subworkflow extends BaseSubworkflow {
180
180
  const ctx = {
181
181
  ...context,
182
182
  application: this.application,
183
- methodData: this.model.method.data,
183
+ methodData: this.model.Method.data,
184
184
  model: this.model.toJSON(),
185
185
  // context below is assembled from context providers and passed to units to override theirs
186
186
  ...this.context,
@@ -248,7 +248,7 @@ class Subworkflow extends BaseSubworkflow {
248
248
  return this.setProp("isDraft", bool);
249
249
  }
250
250
  get methodData() {
251
- return this.model.method.data;
251
+ return this.model.Method.data;
252
252
  }
253
253
 
254
254
  /**
@@ -269,7 +269,7 @@ class Subworkflow extends BaseSubworkflow {
269
269
  model
270
270
  } = this.toJSON();
271
271
  // ignore empty data object
272
- if (this.model.method.omitInHashCalculation) delete model.method.data;
272
+ if (this.model.Method.omitInHashCalculation) delete model.method.data;
273
273
  return _utils.Utils.hash.calculateHashFromObject(model);
274
274
  }
275
275
  findUnitById(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mat3ra/wode",
3
- "version": "2025.11.5-0",
3
+ "version": "2025.11.6-0",
4
4
  "description": "WOrkflow DEfinitions",
5
5
  "scripts": {
6
6
  "test": "nyc --reporter=text mocha --recursive --bail --require @babel/register/lib --require tests/setup.js tests",
@@ -51,7 +51,7 @@
51
51
  "@mat3ra/ade": "^2025.10.2-2",
52
52
  "@exabyte-io/eslint-config": "2025.5.13-0",
53
53
  "@exabyte-io/ide.js": "2024.3.26-0",
54
- "@mat3ra/mode": "2025.11.5-2",
54
+ "@mat3ra/mode": "2025.11.6-1",
55
55
  "@mat3ra/utils": "2025.9.20-0",
56
56
  "@mat3ra/code": "2025.10.24-0",
57
57
  "@mat3ra/esse": "2025.10.8-0",
@@ -226,7 +226,7 @@ export class Subworkflow extends BaseSubworkflow {
226
226
  const ctx = {
227
227
  ...context,
228
228
  application: this.application,
229
- methodData: this.model.method.data,
229
+ methodData: this.model.Method.data,
230
230
  model: this.model.toJSON(),
231
231
  // context below is assembled from context providers and passed to units to override theirs
232
232
  ...this.context,
@@ -305,7 +305,7 @@ export class Subworkflow extends BaseSubworkflow {
305
305
  }
306
306
 
307
307
  get methodData() {
308
- return this.model.method.data;
308
+ return this.model.Method.data;
309
309
  }
310
310
 
311
311
  /**
@@ -325,7 +325,7 @@ export class Subworkflow extends BaseSubworkflow {
325
325
  _calculateModelHash() {
326
326
  const { model } = this.toJSON();
327
327
  // ignore empty data object
328
- if (this.model.method.omitInHashCalculation) delete model.method.data;
328
+ if (this.model.Method.omitInHashCalculation) delete model.method.data;
329
329
  return Utils.hash.calculateHashFromObject(model);
330
330
  }
331
331