@mat3ra/mode 2025.11.5-1 → 2025.11.5-2

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/js/model.js CHANGED
@@ -117,7 +117,7 @@ class Model extends entity_1.InMemoryEntity {
117
117
  ...json,
118
118
  type: this.type,
119
119
  subtype: this.subtype,
120
- method: this.method.toJSONWithCleanData(),
120
+ method: this.Method.toJSONWithCleanData(),
121
121
  };
122
122
  }
123
123
  _stringToSlugifiedObject(slug) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mat3ra/mode",
3
- "version": "2025.11.5-1",
3
+ "version": "2025.11.5-2",
4
4
  "description": "MOdel and method DEfinitions",
5
5
  "scripts": {
6
6
  "test": "nyc --reporter=text mocha --extension ts --recursive --bail --require ts-node/register/transpile-only \"tests/**/*.test.ts\"",
package/src/js/model.ts CHANGED
@@ -144,7 +144,7 @@ export class Model extends (InMemoryEntity as Base) implements BaseModel {
144
144
  ...json,
145
145
  type: this.type,
146
146
  subtype: this.subtype,
147
- method: (this.method as any).toJSONWithCleanData(),
147
+ method: this.Method.toJSONWithCleanData(),
148
148
  };
149
149
  }
150
150