arvo-core 3.0.0 → 3.0.5

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.
@@ -80,6 +80,7 @@ export default class ArvoOrchestrationSubject {
80
80
  orchestator: string;
81
81
  version: ArvoSemanticVersion | null;
82
82
  subject: string;
83
+ domain?: string | null;
83
84
  meta?: Record<string, string>;
84
85
  }): string;
85
86
  /**
@@ -107,14 +107,14 @@ var ArvoOrchestrationSubject = /** @class */ (function () {
107
107
  * ```
108
108
  */
109
109
  ArvoOrchestrationSubject.from = function (param) {
110
- var _a, _b, _c, _d;
110
+ var _a, _b, _c, _d, _e;
111
111
  var parsedSubject = ArvoOrchestrationSubject.parse(param.subject);
112
112
  return ArvoOrchestrationSubject.new({
113
113
  initiator: parsedSubject.orchestrator.name,
114
114
  version: (_a = param.version) !== null && _a !== void 0 ? _a : WildCardArvoSemanticVersion_1.WildCardArvoSemanticVersion,
115
115
  orchestator: param.orchestator,
116
- domain: (_b = parsedSubject.execution.domain) !== null && _b !== void 0 ? _b : undefined,
117
- meta: __assign(__assign({}, ((_c = parsedSubject.meta) !== null && _c !== void 0 ? _c : {})), ((_d = param.meta) !== null && _d !== void 0 ? _d : {})),
116
+ domain: param.domain === null ? undefined : ((_c = (_b = param.domain) !== null && _b !== void 0 ? _b : parsedSubject.execution.domain) !== null && _c !== void 0 ? _c : undefined),
117
+ meta: __assign(__assign({}, ((_d = parsedSubject.meta) !== null && _d !== void 0 ? _d : {})), ((_e = param.meta) !== null && _e !== void 0 ? _e : {})),
118
118
  });
119
119
  };
120
120
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arvo-core",
3
- "version": "3.0.0",
3
+ "version": "3.0.5",
4
4
  "description": "This core package contains all the core classes and components of the Arvo Event Driven System",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {